Closed tguyonnet closed 3 weeks ago
✅ Successfully linked to Azure Boards work item(s):
Hello @tguyonnet
Does this structure fit your need
yes it fit, perfect!
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: 23098.
Describe the request
` var PrepmtInvLineBuf2: Record "Prepayment Inv. Line Buffer"; TotalPrepmtInvLineBuffer: Record "Prepayment Inv. Line Buffer"; TotalPrepmtInvLineBufferDummy: Record "Prepayment Inv. Line Buffer"; PurchSetup: Record "Purchases & Payables Setup"; // >>>>>>>> IsHandled: Boolean; // <<<<<<<< begin TempGlobalPrepmtInvLineBuf.Reset(); TempGlobalPrepmtInvLineBuf.DeleteAll(); TempPurchaseLine.Reset(); TempPurchaseLine.DeleteAll(); PurchSetup.Get(); ApplyFilter(PurchHeader, DocumentType, PurchLine); if PurchLine.Find('-') then repeat // >>>>>>>> IsHandled := false; OnBeforePrepmtAmountOnBuildInvLineBuffer(PurchHeader, PurchLine, PrepmtInvLineBuf2, PrepmtInvLineBuf, TempPurchaseLine); if not IsHandled then // <<<<<<<<
`
// >>>>>>>> [IntegrationEvent(false, false)] local procedure OnBeforePrepmtAmountOnBuildInvLineBuffer(PurchHeader: Record "Purchase Header"; PurchLine: Record "Purchase Line"; var PrepmtInvLineBuf: Record "Prepayment Inv. Line Buffer"; var PrepmtInvLineBuf: Record "Prepayment Inv. Line Buffer"; var TempPurchaseLineSource: Record "Purchase Line" temporary); begin end; // <<<<<<<<
Additional context
Transfert from purch order to purch invoice lines with type = " " Internal work item: AB#543569