We have custom normal page which we have incorporated OnNewRecord trigger which populates the document no (based on balance of the journal and the no series present =UpdateBalance / SetupNewLine functions). (based similar to Page = 39)
The custom page works well when used manually (document number is populating). When we then pass the payload via ODATA this trigger is being skipped and the document number is not populating.
We have also tried the same via API page type but have faced the same challenge.
Would be great to get some advice on if we are missing anything obvious.
0