Skip to content

Codeunit 99000890 "Mfg. Purch.-Post" legacy event OnAfterPostItemJnlLineCopyProdOrder no more fired #29836

@DennyHW

Description

@DennyHW

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.

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCMGitHub request for SCM areaevent-requestRequest for adding an event

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions