[Event modification] codeunit 90 "Purch.-Post" PurchRcptLineInsert
PurchRcptLineInsert(PurchRcptLine, PurchRcptHeader, PurchLine);
to PurchRcptLineInsert(PurchRcptLine, PurchRcptHeader, PurchLine, xPurchLine);
The function PurchRcptLineInsert is not an event. Which event you would like to update?
You are correct. we need the XPurchline on event OnAfterPurchRcptLineInsert
This means you need to pas it to the function. Is that possible ?
xPurchLine is a global variable. Yes, we can add it to OnAfterPurchRcptLineInsert
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.