0
When I add button to form all fields connections h...
source link: https://community.sap.com/t5/enterprise-resource-planning-q-a/when-i-add-button-to-form-all-fields-connections-has-been-lost-itemcode/qaq-p/13601213
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
When I add button to form all fields connections has been lost. ItemCode field connection lost
if (pVal.FormTypeEx == "UDO_FT_Дубликат товар" && pVal.BeforeAction == false && pVal.EventType == SAPbouiCOM.BoEventTypes.et_FORM_LOAD)
SAPbouiCOM.Form oForm = Application.SBO_Application.Forms.Item(FormUID);
oForm.Width = 800;
oForm.Height = 700;
SAPbouiCOM.Item oButtonItem = oForm.Items.Add("Script", SAPbouiCOM.BoFormItemTypes.it_BUTTON);
SAPbouiCOM.Button oActionButton = (SAPbouiCOM.Button)oButtonItem.Specific;
oActionButton.Caption = "Выверка";
oButtonItem.Left = 150;
oButtonItem.Top = 90;
oButtonItem.Width = 70;
oButtonItem.Height = 20;
oButtonItem.AffectsFormMode = false;
I have this button and fields in UDO (itemcode, itemname etc). ItemCode connected with items when I click itemcode field all items appeared list of items. But When I run addon it is not working (I mean connection) How to connect it?
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK