When using Dynamic Code you can block the UI event chain by setting BubbleEvent = false.
You can access the BubbleEvent by using the eventData object.
Example:
eventData.BubbleEvent = false;
The eventData object contains:
public string FormTypeEx { get; set; } //FormType of current form
public bool BubbleEvent { get; set; }
public int TargetRow { get; set; } //Target Row of event
public int SourceRow { get; set; } //Source Row of event
public string FormDataObjectKey { get; set; } //XML data for newly added document
public object ExtendedEventInformation { get; set; } //See https://support.boyum-it.com/hc/en-us/articles/205584168-How-to-use-ExtendedEventInformation
Comments
1 comment
Hi, when we do this we get an Internal Message error from SAP Business One and messages written from the dynamic code are 'hidden'.
Any way of prevent this?
Please sign in to leave a comment.