ALAppExtensions
ALAppExtensions copied to clipboard
[Event Request] Table 1706 (Deferral Posting Buffer): OnAfterPreparePurch
Please add a OnAfterPreparePurch integration event to Table 1706 (Deferral Posting Buffer)
Integration Event Definition:
[IntegrationEvent(false, false)]
local procedure OnAfterPreparePurch(var DeferralPostingBuffer: Record "Deferral Posting Buffer"; PurchaseLine: Record "Purchase Line")
begin
end;
Invocation in PreparePurch function:
"Deferral Code" := PurchLine."Deferral Code";
"Deferral Doc. Type" := DeferralUtilities.GetPurchDeferralDocType;
"Document No." := DocumentNo;
======> OnAfterPreparePurch(Rec,PurchLine);
end;
This will permit us to set some custom fields during this process.