New folder on bp form: pane level problem
Rafael Stalder
Hi there
I've added a new folder to business partner form by coresuite customize.
The problem is, when I've selected the new folder, pane level is changing automatically to panelevel 1 (folder "general") while form resize event...
Does anybody know why this is happen?
There is no chance for creating a workaround, because form resize event has no "before action"..
I'm using sap business one 9.0 pl 14 and coresuite 4.40.
Thanks for respond.
Regards,
Rafael
Rafael Stalder
Hi
Does anybody else get this problem?
1. Create a new folder on business partner form (by coresuite customize)
2. Select new folder in business partner form
3. Form resize or form data load (loading bp data) does change the pane level
Thanks for respond
Regards,
Rafael
martinsalo
I think you must create a workaround?
Maybe load the data of your folder on startup to avoid the selection of the general folder?
You can catch more events with this function:
SwissAddonFramework.B1Connector.GetB1Connector().Application.ItemEvent += new SAPbouiCOM._IApplicationEvents_ItemEventEventHandler(Application_ItemEvent);
private void Application_ItemEvent(string FormUID, ref SAPbouiCOM.ItemEvent pVal, out bool BubbleEvent) {
BubbleEvent = true;
try {
SwissAddonFramework.Messaging.StatusBar.WriteSucess("Event: " + pVal.EventType + " Item: " + pVal.ItemUID );
// Picker is clicked
if (pVal.EventType == SAPbouiCOM.BoEventTypes.et_PICKER_CLICKED &&
pVal.FormTypeEx == "149" &&
pVal.ItemUID == "38" &&
pVal.BeforeAction) {
// ... for example disable the picker dialog on the Offer Form (FormTypeEx=149) in the article matrix (ItemUID=38)
}
Try some other events in pVal.EventType, If you set BubbleEvent=false, the event will not processed further. I needed this code to disable the picker dialog.
Martin
Please sign in to leave a comment.
Comments
0 comments