I guess if it's due to DelayedInsert property of the page set originally to yes.
Can you give a try changing this value to no? Otherwise I suggest to expose a codeunit receiving all the necessary data.
I guess if it's due to DelayedInsert property of the page set originally to yes.
Can you give a try changing this value to no? Otherwise I suggest to expose a codeunit receiving all the necessary data.