ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

Codeunit 80 no publishers have ModifyHeader as a VAR

Open j-wilder opened this issue 7 years ago • 0 comments

In Codeunit 80 Publisher OnBeforePostCommitSalesDoc has a parameter of ModifyHeader but it is not a VAR. Seems odd that no were in C80 are we able to control the ModifyHeader variable. I have need to set some fields in the SalesHeader in this event but then I need the code following this Function to execute: IF NOT PreviewMode AND ModifyHeader THEN BEGIN MODIFY; IF NOT SuppressCommit THEN COMMIT; END;

Please make the the ModifyHeader and CommitIsSuppressed variables in the OnBeforePostCommitSalesDoc publisher VAR's.

j-wilder avatar Jun 25 '19 15:06 j-wilder