Codeunit 99 Posting Selection Management

Base Application, Microsoft.Finance.ReceivablesPayables

Source AL, 615 lines

src/Layers/W1/BaseApp/Finance/ReceivablesPayables/PostingSelectionManagement.Codeunit.allines 24 to 39 of 615, Copyright (c) Microsoft Corporation. MIT

codeunit 99 "Posting Selection Management"{    trigger OnRun()    begin    end;    var        ShipInvoiceOptionsQst: Label '&Ship,&Invoice,Ship &and Invoice';        ReceiveInvoiceOptionsQst: Label '&Receive,&Invoice,Receive &and Invoice';        ShipInvoiceFromWhseQst: Label '&Ship,Ship &and Invoice';        ReceiveInvoiceFromWhseQst: Label '&Receive,Receive &and Invoice';        PostDocConfirmQst: Label 'Do you want to post the %1?', Comment = '%1 = Document Type';        PostWhseAndDocConfirmQst: Label 'Do you want to post the %1 and %2?', Comment = '%1 = Activity Type, %2 = Document Type';        PostAndPrintConfirmQst: Label 'Do you want to post and print the %1?', Comment = '%1 = Document Type';        PostAndEmailConfirmQst: Label 'Do you want to post and email the %1?', Comment = '%1 = Document Type';

All 615 lines

Events 8 in 29

[IntegrationEvent] OnConfirmPostSalesDocumentOnBeforeSalesOrderGetSalesInvoicePostingPolicy(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)new in 23
[IntegrationEvent] OnConfirmPostSalesDocumentOnBeforeSalesOrderReturnGetSalesInvoicePostingPolicy(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)new in 23
[IntegrationEvent] OnConfirmPostPurchaseDocumentOnBeforePurchaseOrderGetPurchaseInvoicePostingPolicy(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)new in 23
[IntegrationEvent] OnConfirmPostPurchaseDocumentOnBeforePurchaseReturnOrderGetPurchaseInvoicePostingPolicy(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)new in 23
[IntegrationEvent] OnBeforeGetShipInvoiceSelectionForWhseActivity(var DefaultOption: Integer; var Selection: Integer; var IsHandled: Boolean; var Result: Boolean)new in 25
[IntegrationEvent] OnAfterGetInvoicePostingPolicy(SourceDocument: Enum "Warehouse Activity Source Document"; var Ship: Boolean; var Invoice: Boolean)new in 25
[IntegrationEvent] OnBeforeGetSalesOrderPostingSelection(var SalesHeader: Record "Sales Header"; DefaultOption: Integer; var IsHandled: Boolean; var Selection: Integer)new in 26

All 11 events in 22-29

Public procedures 12 in 29

ConfirmPostSalesDocument(var SalesHeaderToPost: Record "Sales Header"; DefaultOption: Integer; WithPrint: Boolean; WithEmail: Boolean): Booleannew in 22
ConfirmPostPurchaseDocument(var PurchaseHeaderToPost: Record "Purchase Header"; DefaultOption: Integer; WithPrint: Boolean; WithEmail: Boolean): Booleannew in 22
ConfirmPostWarehouseActivity(var WarehouseActivityLine: Record "Warehouse Activity Line"; var Selection: Integer; DefaultOption: Integer; WithPrint: Boolean): Booleannew in 22
ConfirmPostWhseShipment(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var Selection: Integer): Booleannew in 22
CheckUserCanInvoiceSales()new in 22changed in 23
CheckUserCanInvoicePurchase()new in 22changed in 23

All 15 procedures in 22-29

Changes 2 in 28

List17181920212223242526272829
Procedures3282
Events632
ConfirmPostServiceDocument(var ServiceHeaderToPost: Record "Service Header"; var Ship: Boolean; var Consume: Boolean; var Invoice: Boolean; DefaultOption: Integer; WithPrint: Boolean; WithEmail: Boolean; PreviewMode: Boolean): Boolean24 to 27
gone
CheckUserCanInvoiceService()24 to 27
gone

All 26 changes in 22-29