Options

In what order are events executed

Chop1Al1Chop1Al1 Member Posts: 2
This is the question that everyone is asking ... Master the order of execution of the events ...

Quite simply, the events are executed in the order of the codeunit (ID) which make use of the event.

Comments

  • Options
    Marije_BrummelMarije_Brummel Member, Moderators Design Patterns Posts: 4,262
    True today but never code against this. Microsoft may change this in a future release or even an update.
  • Options
    Dean_AxonDean_Axon Member Posts: 193
    Does anyone know if this is still the case or has MS changed the execution policy ?
    Remember: Keep it simple
  • Options
    Slawek_GuzekSlawek_Guzek Member Posts: 1,690
    It looks like it still works the same way. Nonetheless, as @Mark_Brummel advised, do not code with assumption that it will always work this way.
    Slawek Guzek
    Dynamics NAV, MS SQL Server, Wherescape RED;
    PRINCE2 Practitioner - License GR657010572SG
    GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
  • Options
    JuhlJuhl Member Posts: 724
    I sometimes run all my triggers by hooks in one event, to control this. BUT it doesn’t control base app execution, if id order changes.
    Follow me on my blog juhl.blog
Sign In or Register to comment.