ALAppExtensions
ALAppExtensions copied to clipboard
[Event Request] Table 83 „Item Journal Line“– PostingItemJnlFromProduction
Could we please have a publisher OnPostingItemJnlFromProductionBeforePosting in function PostingItemJnlFromProduction Table 83 „Item Journal Line“?
[External] PostingItemJnlFromProduction(Print : Boolean)
IF ("Order Type" = "Order Type"::Production) AND ("Order No." <> '') THEN
ProductionOrder.GET(ProductionOrder.Status::Released,"Order No.");
// >>>>>>>>
OnPostingItemJnlFromProductionBeforePosting(<var>Rec,Print,<var> Handled);
IF Handled THEN
EXIT;
// <<<<<<<<
IF Print THEN
CODEUNIT.RUN(CODEUNIT::"Item Jnl.-Post+Print",Rec)
ELSE
CODEUNIT.RUN(CODEUNIT::"Item Jnl.-Post",Rec);