Why do you need this change?
Refactor of code moved from "Purch-Post" codeunit into "Mfg. Purch.-Post" do not throw the legacy event OnAfterPostItemJnlLineCopyProdOrder anymore.
In the PostItemJnlLineCopyProdOrder procedure the new event is called two times insted of firing the old one.
Please replace the code with:
#if not CLEAN27
PurchPost.RunOnAfterPostItemJnlLineCopyProdOrder(ItemJnlLine, PurchLine, PurchRcptHeader, QtyToBeReceived, SuppressCommit, QtyToBeInvoiced);
#endif
Describe the request
Backward compatibility of "Purch.-Post".OnAfterPostItemJnlLineCopyProdOrder(...) event is broken
Plese fix either on 27 and 28 version.
Internal work item: AB#625819