ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event-Request] Codeunit 5857 "Copy Invt. Document Mgt." - OnBeforeFindFromInvtShptLine

Open janellyn opened this issue 2 years ago • 1 comments

Describe the request

Please add event OnBeforeFindFromInvtShptLine() in Codeunit 5857 "Copy Invt. Document Mgt." in procedure CopyItemDoc before FromInvtShptLine.Find('-') on 240 row:

OnBeforeFindFromInvtShptLine(FromInvtShptLine);
if FromInvtShptLine.Find('-') then
repeat
FromInvtDocLine.TransferFields(FromInvtShptLine);
CopyInvtDocLine(ToInvtDocHeader, ToInvtDocLine, FromInvtDocHeader, FromInvtDocLine, NextLineNo, LinesNotCopied, LinesSkipApplies);
until FromInvtShptLine.Next() = 0;

[IntegrationEvent(false, false)]
local procedure OnBeforeFindFromInvtShptLine(var FromInvtShptLine: Record "Invt. Shipment Line")
begin
end;

Additional context

We need this event to CalcFields in Invt. Shipment Line before loop Internal work item: AB#554330

janellyn avatar Oct 07 '24 20:10 janellyn

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Build ID: 25639.

JesperSchulz avatar Oct 18 '24 11:10 JesperSchulz