{"title":"Page 138 Posted Purchase Invoice, extension points 29","url":"https://jonas-paprotka.de/ref/page/138-posted-purchase-invoice/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"page","id":138,"name":"Posted Purchase Invoice","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/138-posted-purchase-invoice/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/138-posted-purchase-invoice/source/","path":"src/Layers/W1/BaseApp/Purchases/History/PostedPurchaseInvoice.Page.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"table:122":{"name":"Purch. Inv. Header","url":"https://jonas-paprotka.de/ref/table/122-purch-inv-header/"},"page:511":{"name":"Change Exchange Rate","url":"https://jonas-paprotka.de/ref/page/511-change-exchange-rate/"},"codeunit:325":{"name":"Update Currency Factor","url":"https://jonas-paprotka.de/ref/codeunit/325-update-currency-factor/"},"codeunit:1535":{"name":"Approvals Mgmt.","url":"https://jonas-paprotka.de/ref/codeunit/1535-approvals-mgmt/"},"codeunit:1324":{"name":"Correct PstdPurchInv (Yes/No)","url":"https://jonas-paprotka.de/ref/codeunit/1324-correct-pstdpurchinv-yes-no/"},"codeunit:1325":{"name":"Cancel PstdPurchInv (Yes/No)","url":"https://jonas-paprotka.de/ref/codeunit/1325-cancel-pstdpurchinv-yes-no/"},"codeunit:1313":{"name":"Correct Posted Purch. Invoice","url":"https://jonas-paprotka.de/ref/codeunit/1313-correct-posted-purch-invoice/"},"page:52":{"name":"Purchase Credit Memo","url":"https://jonas-paprotka.de/ref/page/52-purchase-credit-memo/"},"page:1173":{"name":"Document Attachment Details","url":"https://jonas-paprotka.de/ref/page/1173-document-attachment-details/"},"page:5818":{"name":"Matched Order Lines","url":"https://jonas-paprotka.de/ref/page/5818-matched-order-lines/"},"table:130":{"name":"Incoming Document","url":"https://jonas-paprotka.de/ref/table/130-incoming-document/"},"table:133":{"name":"Incoming Document Attachment","url":"https://jonas-paprotka.de/ref/table/133-incoming-document-attachment/"},"page:1351":{"name":"Posted Purch. Invoice - Update","url":"https://jonas-paprotka.de/ref/page/1351-posted-purch-invoice-update/"},"table:5050":{"name":"Contact","url":"https://jonas-paprotka.de/ref/table/5050-contact/"},"codeunit:1630":{"name":"Office Management","url":"https://jonas-paprotka.de/ref/codeunit/1630-office-management/"},"codeunit:799":{"name":"VAT Reporting Date Mgt","url":"https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/"},"codeunit:365":{"name":"Format Address","url":"https://jonas-paprotka.de/ref/codeunit/365-format-address/"}},"procs":[{"name":"Cancelled.OnDrillDown","line":248,"kind":"trigger","steps":[[250,"ext","table",122,"ShowCorrectiveCreditMemo",0]]},{"name":"Corrective.OnDrillDown","line":260,"kind":"trigger","steps":[[262,"ext","table",122,"ShowCancelledCreditMemo",0]]},{"name":"Currency Code.OnAssistEdit","line":287,"kind":"trigger","steps":[[292,"ext","page",511,"SetParameter",3],[295,"ext","page",511,"GetParameter",0],[296,"ext","codeunit",325,"ModifyPostedPurchaseInvoice",1]]},{"name":"Dimensions.OnAction","line":731,"kind":"trigger","steps":[[733,"ext","table",122,"ShowDimensions",0]]},{"name":"Approvals.OnAction","line":744,"kind":"trigger","steps":[[748,"ext","codeunit",1535,"ShowPostedApprovalEntries",1]]},{"name":"Print.OnAction","line":764,"kind":"trigger","steps":[[768,"ext","table",122,"PrintRecords",1]]},{"name":"AttachAsPDF.OnAction","line":778,"kind":"trigger","steps":[[784,"ext","table",122,"PrintToDocumentAttachment",1]]},{"name":"CorrectInvoice.OnAction","line":798,"kind":"trigger","steps":[[802,"ext","codeunit",1324,"CorrectInvoice",1]]},{"name":"CancelInvoice.OnAction","line":814,"kind":"trigger","steps":[[818,"ext","codeunit",1325,"CancelInvoice",1]]},{"name":"CreateCreditMemo.OnAction","line":829,"kind":"trigger","steps":[[836,"event","OnBeforeCreateCreditMemoOnAction",1],[840,"ext","codeunit",1313,"CreateCreditMemoCopyDocument",2],[841,"run","page",52]]},{"name":"ShowCreditMemo.OnAction","line":854,"kind":"trigger","steps":[[856,"ext","table",122,"ShowCanceledOrCorrCrMemo",0]]},{"name":"Navigate.OnAction","line":883,"kind":"trigger","steps":[[885,"ext","table",122,"Navigate",0]]},{"name":"DocAttach.OnAction","line":895,"kind":"trigger","steps":[[901,"ext","page",1173,"OpenForRecRef",1]]},{"name":"MatchedOrderLines.OnAction","line":912,"kind":"trigger","steps":[[916,"ext","page",5818,"InitializePage",3]]},{"name":"&Navigate.OnAction","line":930,"kind":"trigger","steps":[[932,"ext","table",122,"Navigate",0]]},{"name":"IncomingDocCard.OnAction","line":947,"kind":"trigger","steps":[[951,"ext","table",130,"ShowCard",2]]},{"name":"SelectIncomingDoc.OnAction","line":963,"kind":"trigger","steps":[[967,"ext","table",130,"SelectIncomingDocumentForPostedDocument",3]]},{"name":"IncomingDocAttachFile.OnAction","line":979,"kind":"trigger","steps":[[983,"ext","table",133,"NewAttachmentFromPostedDocument",2]]},{"name":"Update Document.OnAction","line":994,"kind":"trigger","steps":[[999,"ext","page",1351,"SetRec",1]]},{"name":"OnAfterGetCurrRecord","line":1100,"kind":"trigger","steps":[[1104,"ext","table",130,"PostedDocExists",2]]},{"name":"Category_Report.OnAfterGetRecord","line":1109,"kind":"trigger","steps":[[1111,"ext","table",5050,"GetOrClear",1],[1112,"ext","table",5050,"GetOrClear",1],[1113,"call","FillRemitToFields",0]]},{"name":"OnOpenPage","line":1116,"kind":"trigger","steps":[[1121,"ext","table",122,"SetSecurityFilterOnRespCenter",0],[1123,"ext","codeunit",1630,"IsAvailable",0],[1125,"call","ActivateFields",0],[1126,"ext","codeunit",799,"IsVATDateEnabled",0]]},{"name":"ActivateFields","line":1143,"kind":"procedure","access":"local","params":0,"steps":[[1145,"ext","codeunit",365,"UseCounty",1],[1146,"ext","codeunit",365,"UseCounty",1],[1147,"ext","codeunit",365,"UseCounty",1]]},{"name":"FillRemitToFields","line":1150,"kind":"procedure","access":"local","params":0,"steps":[[1158,"ext","codeunit",365,"VendorRemitToAddress",2],[1159,"ext","codeunit",365,"UseCounty",1]]}]}