{"title":"Page 9308 Purchase Invoices, extension points 29","url":"https://jonas-paprotka.de/ref/page/9308-purchase-invoices/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":9308,"name":"Purchase Invoices","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/9308-purchase-invoices/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/9308-purchase-invoices/source/","path":"src/Layers/W1/BaseApp/Purchases/Document/PurchaseInvoices.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:472":{"name":"Job Queue Entry","url":"https://jonas-paprotka.de/ref/table/472-job-queue-entry/"},"table:38":{"name":"Purchase Header","url":"https://jonas-paprotka.de/ref/table/38-purchase-header/"},"codeunit:1535":{"name":"Approvals Mgmt.","url":"https://jonas-paprotka.de/ref/codeunit/1535-approvals-mgmt/"},"codeunit:1543":{"name":"Workflow Webhook Management","url":"https://jonas-paprotka.de/ref/codeunit/1543-workflow-webhook-management/"},"codeunit:1372":{"name":"Purchase Batch Post Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/1372-purchase-batch-post-mgt/"},"codeunit:91":{"name":"Purch.-Post (Yes/No)","url":"https://jonas-paprotka.de/ref/codeunit/91-purch-post-yes-no/"},"codeunit:228":{"name":"Test Report-Print","url":"https://jonas-paprotka.de/ref/codeunit/228-test-report-print/"},"codeunit:46":{"name":"SelectionFilterManagement","url":"https://jonas-paprotka.de/ref/codeunit/46-selectionfiltermanagement/"},"report:497":{"name":"Batch Post Purchase Invoices","url":"https://jonas-paprotka.de/ref/report/497-batch-post-purchase-invoices/"},"table:312":{"name":"Purchases & Payables Setup","url":"https://jonas-paprotka.de/ref/table/312-purchases-payables-setup/"},"codeunit:1320":{"name":"Lines Instruction Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/1320-lines-instruction-mgt/"},"codeunit:9179":{"name":"Application Area Mgmt. Facade","url":"https://jonas-paprotka.de/ref/codeunit/9179-application-area-mgmt-facade/"},"codeunit:1330":{"name":"Instruction Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/1330-instruction-mgt/"}},"procs":[{"name":"Job Queue Status.OnDrillDown","line":230,"kind":"trigger","steps":[[236,"ext","table",472,"ShowStatusMsg",1]]},{"name":"Dimensions.OnAction","line":340,"kind":"trigger","steps":[[342,"ext","table",38,"ShowDocDim",0]]},{"name":"Approvals.OnAction","line":360,"kind":"trigger","steps":[[364,"ext","codeunit",1535,"OpenApprovalsPurchase",1]]},{"name":"Release.OnAction","line":392,"kind":"trigger","steps":[[397,"ext","table",38,"PerformManualRelease",1]]},{"name":"Reopen.OnAction","line":407,"kind":"trigger","steps":[[412,"ext","table",38,"PerformManualReopen",1]]},{"name":"SendApprovalRequest.OnAction","line":428,"kind":"trigger","steps":[[432,"ext","codeunit",1535,"CheckPurchaseApprovalPossible",1],[433,"ext","codeunit",1535,"OnSendPurchaseDocForApproval",1]]},{"name":"CancelApprovalRequest.OnAction","line":444,"kind":"trigger","steps":[[449,"ext","codeunit",1535,"OnCancelPurchaseApprovalRequest",1],[450,"ext","codeunit",1543,"FindAndCancel",1]]},{"name":"PostSelected.OnAction","line":466,"kind":"trigger","steps":[[475,"call","VerifyTotal",1],[477,"ext","codeunit",1372,"RunWithUI",3],[479,"call","VerifyTotal",1],[480,"call","Post",1],[480,"call","Post",1]]},{"name":"Preview.OnAction","line":492,"kind":"trigger","steps":[[498,"ext","codeunit",91,"MessageIfPostingPreviewMultipleDocuments",2],[499,"ext","codeunit",91,"Preview",1]]},{"name":"TestReport.OnAction","line":510,"kind":"trigger","steps":[[512,"ext","codeunit",228,"PrintPurchHeader",1]]},{"name":"PostAndPrint.OnAction","line":523,"kind":"trigger","steps":[[525,"call","VerifyTotal",1],[526,"call","Post",1]]},{"name":"PostBatch.OnAction","line":537,"kind":"trigger","steps":[[542,"call","VerifyTotal",1],[544,"ext","codeunit",46,"GetSelectionFilterForPurchaseHeader",1],[545,"run","report",497]]},{"name":"RemoveFromJobQueue.OnAction","line":557,"kind":"trigger","steps":[[559,"ext","table",38,"CancelBackgroundPosting",0]]},{"name":"Category_Report.OnAfterGetRecord","line":634,"kind":"trigger","steps":[[636,"ext","table",38,"GetStatusStyleText",0]]},{"name":"OnAfterGetCurrRecord","line":639,"kind":"trigger","steps":[[643,"call","SetControlAppearance",0]]},{"name":"OnOpenPage","line":655,"kind":"trigger","steps":[[659,"ext","table",38,"SetSecurityFilterOnRespCenter",0],[661,"ext","table",312,"JobQueueActive",0],[663,"ext","table",38,"CopyBuyFromVendorFilter",0]]},{"name":"SetControlAppearance","line":678,"kind":"procedure","access":"local","params":0,"steps":[[683,"ext","codeunit",1535,"HasOpenApprovalEntries",1],[685,"ext","codeunit",1535,"CanCancelApprovalForRecord",1],[687,"ext","codeunit",1543,"GetCanRequestAndCanCancel",3]]},{"name":"Post","line":690,"kind":"procedure","params":1,"steps":[[698,"ext","codeunit",1320,"PurchaseCheckAllLinesHaveQuantityAssigned",1],[702,"ext","table",38,"SendToPosting",1],[705,"event","OnPostBeforeNavigateAfterPosting",1],[709,"ext","codeunit",9179,"IsFoundationEnabled",0],[710,"call","ShowPostedConfirmationMessage",2]]},{"name":"ShowPostedConfirmationMessage","line":713,"kind":"procedure","access":"local","params":2,"steps":[[724,"ext","codeunit",1330,"ShowConfirm",2],[725,"ext","codeunit",1330,"ShowPostedConfirmationMessageCode",0],[727,"ext","codeunit",1330,"ShowPostedDocument",2]]},{"name":"VerifyTotal","line":730,"kind":"procedure","params":1,"steps":[[732,"ext","table",38,"IsTotalValid",0]]}]}