Double-Click on text field: Open Coresuite Editor
as mentioned in the topic title: Anyone has a little code-snipped for me? The customer has to enter lots of texts in the item (udf), and wants to start the "coresuiet editor" via double-click (not right klick and choose).
Thanks in advance
Yes thats possible using coresuite customize. don't try it with b1up ;)
/* open coresuite editor with doubleclick */
SAPbouiCOM.Form oSAPForm = SwissAddonFramework.B1Connector.GetB1Connector().Application.Forms.ActiveForm;
object edit = (SAPbouiCOM.EditText) TextEdit.GetFromUID(pVal.Form, "14").GetSapObject<SAPbouiCOM.Item>().Specific;
SWA_CoresuiteEditor.EditorForm ef = new SWA_CoresuiteEditor.EditorForm(250, edit, oSAPForm, true, "",TextEdit.GetFromUID(pVal.Form, "14").Value);
catch (Exception ex)
MessageBox.Show("Error in " + pVal.RuleInfo.RuleName + " " + ex.ToString(), "Ok");
Or just use the attached Rule which is configured to open up the Editor on Sales Orders when doubleclicking on the Ref Field.
great, that's what I was looking for. Thank you very much! Btw: What is b1up??? B)
the rule work fine , but how keep the content of the field?
if i have something in to a textbox and i try to use that rule , double click open the coresuite editor , but it's empty .but i want se what i put in to those textbox.
can you helpme