{"title":"Codeunit 99 Posting Selection Management, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/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":"codeunit","id":99,"name":"Posting Selection Management","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/","path":"src/Layers/W1/BaseApp/Finance/ReceivablesPayables/PostingSelectionManagement.Codeunit.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:5700":{"name":"User Setup Management","url":"https://jonas-paprotka.de/ref/codeunit/5700-user-setup-management/"},"codeunit:27":{"name":"Confirm Management","url":"https://jonas-paprotka.de/ref/codeunit/27-confirm-management/"}},"procs":[{"name":"ConfirmPostSalesDocument","line":60,"kind":"procedure","params":4,"steps":[[79,"event","OnConfirmPostSalesDocumentOnBeforeSalesOrderGetSalesInvoicePostingPolicy",1],[81,"ext","codeunit",5700,"GetSalesInvoicePostingPolicy",2],[85,"call","GetSalesOrderPostingSelection",2],[92,"ext","codeunit",27,"GetResponseOrDefault",2],[92,"call","GetShipConfirmationMessage",0],[95,"ext","codeunit",27,"GetResponseOrDefault",2],[95,"call","GetShipInvoiceConfirmationMessage",0],[102,"event","OnConfirmPostSalesDocumentOnBeforeSalesOrderReturnGetSalesInvoicePostingPolicy",1],[104,"ext","codeunit",5700,"GetSalesInvoicePostingPolicy",2],[115,"ext","codeunit",27,"GetResponseOrDefault",2],[115,"call","GetReceiveConfirmationMessage",0],[118,"ext","codeunit",27,"GetResponseOrDefault",2],[118,"call","GetReceiveInvoiceConfirmationMessage",0],[124,"call","CheckUserCanInvoiceSales",0],[125,"ext","codeunit",27,"GetResponseOrDefault",2],[126,"call","GetPostConfirmationMessage",3],[131,"ext","codeunit",27,"GetResponseOrDefault",2],[132,"call","GetPostConfirmationMessage",3]]},{"name":"ConfirmPostPurchaseDocument","line":149,"kind":"procedure","params":4,"steps":[[168,"event","OnConfirmPostPurchaseDocumentOnBeforePurchaseOrderGetPurchaseInvoicePostingPolicy",1],[170,"ext","codeunit",5700,"GetPurchaseInvoicePostingPolicy",2],[174,"call","GetPurchaseOrderPostingSelection",2],[181,"ext","codeunit",27,"GetResponseOrDefault",2],[181,"call","GetReceiveConfirmationMessage",0],[184,"ext","codeunit",27,"GetResponseOrDefault",2],[184,"call","GetReceiveInvoiceConfirmationMessage",0],[191,"event","OnConfirmPostPurchaseDocumentOnBeforePurchaseReturnOrderGetPurchaseInvoicePostingPolicy",1],[193,"ext","codeunit",5700,"GetPurchaseInvoicePostingPolicy",2],[204,"ext","codeunit",27,"GetResponseOrDefault",2],[204,"call","GetShipConfirmationMessage",0],[207,"ext","codeunit",27,"GetResponseOrDefault",2],[207,"call","GetShipInvoiceConfirmationMessage",0],[213,"call","CheckUserCanInvoicePurchase",0],[214,"ext","codeunit",27,"GetResponseOrDefault",2],[215,"call","GetPostConfirmationMessage",3],[220,"ext","codeunit",27,"GetResponseOrDefault",2],[221,"call","GetPostConfirmationMessage",3]]},{"name":"ConfirmPostWarehouseActivity","line":239,"kind":"procedure","params":4,"steps":[[256,"ext","codeunit",27,"GetResponseOrDefault",2],[259,"call","GetReceiveInvoiceSelectionForWhseActivity",2],[267,"ext","codeunit",27,"GetResponseOrDefault",2],[270,"call","GetShipInvoiceSelectionForWhseActivity",3]]},{"name":"ConfirmPostWhseShipment","line":283,"kind":"procedure","params":2,"steps":[[288,"call","GetShipInvoiceSelectionForWhseActivity",3]]},{"name":"CheckUserCanInvoiceSales","line":295,"kind":"procedure","params":0,"steps":[[302,"ext","codeunit",5700,"GetSalesInvoicePostingPolicy",2]]},{"name":"CheckUserCanInvoicePurchase","line":313,"kind":"procedure","params":0,"steps":[[320,"ext","codeunit",5700,"GetPurchaseInvoicePostingPolicy",2]]},{"name":"IsPostingInvoiceMandatoryPurchase","line":328,"kind":"procedure","access":"internal","params":0,"steps":[[334,"ext","codeunit",5700,"GetPurchaseInvoicePostingPolicy",2]]},{"name":"GetShipInvoiceSelectionForWhseActivity","line":339,"kind":"procedure","access":"local","params":3,"steps":[[346,"event","OnBeforeGetShipInvoiceSelectionForWhseActivity",1],[350,"call","GetInvoicePostingPolicy",3],[361,"ext","codeunit",27,"GetResponseOrDefault",2],[361,"call","GetShipConfirmationMessage",0],[367,"ext","codeunit",27,"GetResponseOrDefault",2],[367,"call","GetShipInvoiceConfirmationMessage",0]]},{"name":"GetInvoicePostingPolicy","line":375,"kind":"procedure","access":"local","params":3,"steps":[[379,"ext","codeunit",5700,"GetSalesInvoicePostingPolicy",2],[381,"event","OnAfterGetInvoicePostingPolicy",0]]},{"name":"GetReceiveInvoiceSelectionForWhseActivity","line":384,"kind":"procedure","access":"local","params":2,"steps":[[391,"ext","codeunit",5700,"GetPurchaseInvoicePostingPolicy",2],[401,"ext","codeunit",27,"GetResponseOrDefault",2],[401,"call","GetReceiveConfirmationMessage",0],[407,"ext","codeunit",27,"GetResponseOrDefault",2],[407,"call","GetReceiveInvoiceConfirmationMessage",0]]},{"name":"GetSalesOrderPostingSelection","line":502,"kind":"procedure","access":"local","params":2,"steps":[[507,"event","OnBeforeGetSalesOrderPostingSelection",1]]},{"name":"GetPurchaseOrderPostingSelection","line":514,"kind":"procedure","access":"local","params":2,"steps":[[519,"event","OnBeforeGetPurchaseOrderPostingSelection",1]]}]}