{"title":"Page 132 Posted Sales Invoice, extension points 29","url":"https://jonas-paprotka.de/ref/page/132-posted-sales-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":132,"name":"Posted Sales Invoice","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/132-posted-sales-invoice/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/132-posted-sales-invoice/source/","path":"src/Layers/W1/BaseApp/Sales/History/PostedSalesInvoice.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":{"codeunit:1420":{"name":"Doc. Exch. Serv.- Doc. Status","url":"https://jonas-paprotka.de/ref/codeunit/1420-doc-exch-serv-doc-status/"},"table:112":{"name":"Sales Invoice Header","url":"https://jonas-paprotka.de/ref/table/112-sales-invoice-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/"},"table:1060":{"name":"Payment Service Setup","url":"https://jonas-paprotka.de/ref/table/1060-payment-service-setup/"},"codeunit:1535":{"name":"Approvals Mgmt.","url":"https://jonas-paprotka.de/ref/codeunit/1535-approvals-mgmt/"},"page:1173":{"name":"Document Attachment Details","url":"https://jonas-paprotka.de/ref/page/1173-document-attachment-details/"},"codeunit:5330":{"name":"CRM Integration Management","url":"https://jonas-paprotka.de/ref/codeunit/5330-crm-integration-management/"},"page:1355":{"name":"Posted Sales Inv. - Update","url":"https://jonas-paprotka.de/ref/page/1355-posted-sales-inv-update/"},"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/"},"codeunit:1322":{"name":"Correct PstdSalesInv (Yes/No)","url":"https://jonas-paprotka.de/ref/codeunit/1322-correct-pstdsalesinv-yes-no/"},"codeunit:1323":{"name":"Cancel PstdSalesInv (Yes/No)","url":"https://jonas-paprotka.de/ref/codeunit/1323-cancel-pstdsalesinv-yes-no/"},"codeunit:1303":{"name":"Correct Posted Sales Invoice","url":"https://jonas-paprotka.de/ref/codeunit/1303-correct-posted-sales-invoice/"},"page:44":{"name":"Sales Credit Memo","url":"https://jonas-paprotka.de/ref/page/44-sales-credit-memo/"},"codeunit:5331":{"name":"CRM Coupling Management","url":"https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/"},"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":"Document Exchange Status.OnDrillDown","line":219,"kind":"trigger","steps":[[223,"ext","codeunit",1420,"DocExchStatusDrillDown",1]]},{"name":"Cancelled.OnDrillDown","line":277,"kind":"trigger","steps":[[279,"ext","table",112,"ShowCorrectiveCreditMemo",0]]},{"name":"Corrective.OnDrillDown","line":289,"kind":"trigger","steps":[[291,"ext","table",112,"ShowCancelledCreditMemo",0]]},{"name":"Currency Code.OnAssistEdit","line":337,"kind":"trigger","steps":[[341,"ext","page",511,"SetParameter",3],[344,"ext","page",511,"GetParameter",0],[345,"ext","codeunit",325,"ModifyPostedSalesInvoice",1]]},{"name":"SelectedPayments.OnAssistEdit","line":387,"kind":"trigger","steps":[[391,"ext","table",1060,"ChangePaymentServicePostedInvoice",1]]},{"name":"Dimensions.OnAction","line":765,"kind":"trigger","steps":[[767,"ext","table",112,"ShowDimensions",0]]},{"name":"Approvals.OnAction","line":778,"kind":"trigger","steps":[[782,"ext","codeunit",1535,"ShowPostedApprovalEntries",1]]},{"name":"DocAttach.OnAction","line":792,"kind":"trigger","steps":[[798,"ext","page",1173,"OpenForRecRef",1]]},{"name":"ChangePaymentService.OnAction","line":813,"kind":"trigger","steps":[[817,"ext","table",1060,"ChangePaymentServicePostedInvoice",1]]},{"name":"CRMGotoInvoice.OnAction","line":833,"kind":"trigger","steps":[[837,"ext","codeunit",5330,"ShowCRMEntityFromRecordID",1]]},{"name":"CreateInCRM.OnAction","line":848,"kind":"trigger","steps":[[852,"ext","codeunit",5330,"CreateNewRecordsInCRM",1]]},{"name":"ShowLog.OnAction","line":862,"kind":"trigger","steps":[[866,"ext","codeunit",5330,"ShowLog",1]]},{"name":"&Track Package.OnAction","line":884,"kind":"trigger","steps":[[886,"ext","table",112,"StartTrackingSite",0]]},{"name":"SendCustom.OnAction","line":898,"kind":"trigger","steps":[[904,"ext","table",112,"SendRecords",0]]},{"name":"Print.OnAction","line":916,"kind":"trigger","steps":[[923,"event","OnBeforeSalesInvHeaderPrintRecords",1],[925,"ext","table",112,"PrintRecords",1]]},{"name":"Email.OnAction","line":935,"kind":"trigger","steps":[[939,"ext","table",112,"EmailRecords",1]]},{"name":"AttachAsPDF.OnAction","line":949,"kind":"trigger","steps":[[955,"ext","table",112,"PrintToDocumentAttachment",1]]},{"name":"&Navigate.OnAction","line":969,"kind":"trigger","steps":[[971,"ext","table",112,"Navigate",0]]},{"name":"ActivityLog.OnAction","line":981,"kind":"trigger","steps":[[983,"ext","table",112,"ShowActivityLog",0]]},{"name":"Update Document.OnAction","line":993,"kind":"trigger","steps":[[998,"ext","page",1355,"SetRec",1]]},{"name":"IncomingDocCard.OnAction","line":1014,"kind":"trigger","steps":[[1018,"ext","table",130,"ShowCard",2]]},{"name":"SelectIncomingDoc.OnAction","line":1030,"kind":"trigger","steps":[[1034,"ext","table",130,"SelectIncomingDocumentForPostedDocument",3]]},{"name":"IncomingDocAttachFile.OnAction","line":1046,"kind":"trigger","steps":[[1050,"ext","table",133,"NewAttachmentFromPostedDocument",2]]},{"name":"CorrectInvoice.OnAction","line":1067,"kind":"trigger","steps":[[1071,"ext","codeunit",1322,"CorrectInvoice",1]]},{"name":"CancelInvoice.OnAction","line":1083,"kind":"trigger","steps":[[1087,"ext","codeunit",1323,"CancelInvoice",1]]},{"name":"CreateCreditMemo.OnAction","line":1098,"kind":"trigger","steps":[[1105,"event","OnBeforeCreateCreditMemoOnAction",1],[1109,"ext","codeunit",1303,"CreateCreditMemoCopyDocument",2],[1110,"run","page",44]]},{"name":"ShowCreditMemo.OnAction","line":1123,"kind":"trigger","steps":[[1125,"ext","table",112,"ShowCanceledOrCorrCrMemo",0]]},{"name":"OnAfterGetCurrRecord","line":1268,"kind":"trigger","steps":[[1275,"event","OnBeforeOnAfterGetCurrRecord",1],[1280,"ext","table",130,"PostedDocExists",2],[1281,"ext","table",112,"GetDocExchStatusStyle",0],[1284,"ext","codeunit",5331,"IsRecordCoupledToCRM",1],[1286,"ext","codeunit",5330,"SendResultNotification",1],[1289,"call","UpdatePaymentService",0],[1290,"ext","table",112,"DocExchangeStatusIsSent",0]]},{"name":"Category_Synchronize.OnAfterGetRecord","line":1293,"kind":"trigger","steps":[[1295,"ext","table",112,"GetDocExchStatusStyle",0],[1296,"ext","table",5050,"GetOrClear",1],[1297,"ext","table",5050,"GetOrClear",1]]},{"name":"OnOpenPage","line":1305,"kind":"trigger","steps":[[1311,"ext","table",112,"SetSecurityFilterOnRespCenter",0],[1312,"ext","codeunit",5330,"IsCRMIntegrationEnabled",0],[1314,"ext","codeunit",1630,"IsAvailable",0],[1316,"call","ActivateFields",0],[1317,"ext","table",1060,"IsPaymentServiceVisible",0],[1318,"ext","codeunit",799,"IsVATDateEnabled",0]]},{"name":"ActivateFields","line":1343,"kind":"procedure","access":"local","params":0,"steps":[[1345,"ext","codeunit",365,"UseCounty",1],[1346,"ext","codeunit",365,"UseCounty",1],[1347,"ext","codeunit",365,"UseCounty",1]]},{"name":"UpdatePaymentService","line":1350,"kind":"procedure","access":"local","params":0,"steps":[[1354,"ext","table",1060,"CanChangePaymentService",1]]}]}