-
Notifications
You must be signed in to change notification settings - Fork 685
Open
Open
Copy link
Description
Why do you need this change?
Description
Request to add a specific publisher at the end of InitParentItemLine procedure in codeunit 51 "BOM-Explode BOM" required to ensure compatibility with automatic BOM explosion.
Critical Business Need
We need the event to implement a customer customization. We need to manipulate the ToTransferLine, FromTransferLine record-variables AFTER the modify. In the current implementation, there is a bug regarding that the UI shows old data and does not refresh automatically. With the manipulation of the records AFTER the modify, the view can be improved.
Thank you and best regards!
Describe the request
` local procedure InitParentItemLine(var FromTransferLine: Record "Transfer Line")
begin
ToTransferLine := FromTransferLine;
ToTransferLine.Init();
ToTransferLine.Description := FromTransferLine.Description;
ToTransferLine."Description 2" := FromTransferLine."Description 2";
OnRunOnBeforeToTransferLineModify(ToTransferLine, FromTransferLine);
ToTransferLine.Modify();
// +++ New Event +++
OnRunOnAfterToTransferLineModify(ToTransferLine, FromTransferLine);
// +++ New Event +++
end;`
` [IntegrationEvent(false, false)]
local procedure OnRunOnAfterToTransferLineModify(ToTransferLine: Record "Transfer Line"; RecTransferLine: Record "Transfer Line")
begin
end;
`
Metadata
Metadata
Assignees
Labels
No labels