ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Table 83 „Item Journal Line“– PostingItemJnlFromProduction

Open ttaeufer opened this issue 7 years ago • 0 comments

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);

ttaeufer avatar Feb 06 '19 08:02 ttaeufer