I am using PurchRcptLine.InsertInvLineFromRcptLine(PurchaseLine); to get receipt lines into Purchase Line, but it adds comments.
[EventSubscriber(ObjectType::Table, Database::"Purch. Rcpt. Line", OnInsertInvLineFromRcptLineOnBeforeCheckPurchLineReceiptNo, '', false, false)]
local procedure OnInsertInvLineFromRcptLineOnBeforeCheckPurchLineReceiptNo(var IsHandled: Boolean)
begin
IsHandled := true;
end;
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal...
286,384
Super User
Martin Dráb
225,485
Super User
nmaenpaa
101,148