Skip to content

[Extensibility Request] codeuit 23 "Item Jnl.-Post Batch" OnBeforeUpdateDeleteLines event #29772

@AurimasPileckis

Description

@AurimasPileckis

Why do you need this change?

At 4PS, in local procedure "Code" after ItemJnlPostLine.PostDeferredValueEntriesToGL(PostponedValueEntries); we implemented procedure which ecalculates costs if needed, handles WIP and GL postings, manages intercompany logic, and updates related buffers to ensure correct financial and inventory records. It should be moved to OnBeforeUpdateDeleteLines, but in our implementation we are assigning value to ItemRegNo variable and also using WhseRegNo which is missed. Unfortunately, we can't use OnAfterCopyRegNos, because in our solution PostDeferredValueEntriesToGL should run before.

Describe the request

On behalf of 4PS I would like to request extensibility in integration event OnBeforeUpdateDeleteLines to add var to ItemRegNo parameter and add new parameter WhseRegNo.

[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateDeleteLines(var ItemJournalLine: Record "Item Journal Line"; var ItemRegNo: Integer; WhseRegNo: Integer)
begin
end;

Internal work item: AB#630401

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCMGitHub request for SCM areaevent-requestRequest for adding an eventships-in-future-updateFix ships in a future update

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions