Guide - Blocking UI event chain using BubbleEvent

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

Was this article helpful?

2 out of 2 found this helpful

Comments

1 comment

  • Comment author
    José

    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?

    0

Please sign in to leave a comment.