I am working with BC SaaS.
I would need to change the standard code of table "Sales Header" as new record is being inserted, where I need to modify the code that inserts the "No." value of table "Sales Header", so Numbering series.
I noticed that if I add my code in trigger OnInsert of table "Sales Header", it does not work, since numbering series has already been defined in the local procedure "InitInsert".
When I add my code inside trigger OnInsert all the code is being run before my code is executed. How can I place the code before local procedure InitInsert is called? I know I would use Event Subscriber, Publisher, in onPrem, but since this is SaaS version, I am lost a little bit.