ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

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

Open janellyn opened this issue 2 years ago • 1 comments

Describe the request

Please add event OnBeforeFindFromInvtDocLine() in Codeunit 5857 "Copy Invt. Document Mgt." in procedure CopyItemDoc before FromInvtDocLine.Find('-') on 216 row:

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

[IntegrationEvent(false, false)]
local procedure OnBeforeFindFromInvtDocLine(var FromInvtDocLine: Record "Invt. Document Line")
begin
end;

Additional context

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

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