Codeunit 48 PostingSetupManagement

Base Application, Microsoft.Finance.ReceivablesPayables

Source AL, 810 lines

src/Layers/W1/BaseApp/Finance/ReceivablesPayables/PostingSetupManagement.Codeunit.allines 30 to 45 of 810, Copyright (c) Microsoft Corporation. MIT

codeunit 48 PostingSetupManagement{    trigger OnRun()    begin    end;    var        MyNotifications: Record "My Notifications";        ErrorMessageMgt: Codeunit "Error Message Management";        ForwardLinkMgt: Codeunit "Forward Link Mgt.";        MissingAccountTxt: Label '%1 is missing in %2.', Comment = '%1 = Field caption, %2 = Table caption';        SetupMissingAccountTxt: Label 'Set up missing account';        MissingAccountNotificationTxt: Label 'G/L Account is missing in posting group or setup.';        MissingAccountNotificationDescriptionTxt: Label 'Show a warning when required G/L Account is missing in posting group or setup.';        NotAllowedToPostAfterWorkingDateErr: Label 'Cannot post because one or more transactions have dates after the working date.';

All 810 lines

Events 10 in 29

[IntegrationEvent] OnBeforeCheckInvtPostingSetupInventoryAccount(var LocationCode: Code[10]; var PostingGroup: Code[20]; var IsHandled: Boolean)new in 20
[IntegrationEvent] OnBeforeCheckVATPostingSetupSalesAccount(VATBusGroupCode: Code[20]; VATProdGroupCode: Code[20]; var IsHandled: Boolean)new in 21
[IntegrationEvent] OnBeforeCheckGenPostingSetupCOGSAccount(var GenBusGroupCode: Code[20]; var GenProdGroupCode: Code[20]; var IsHandled: Boolean)new in 23
[IntegrationEvent] OnBeforeCheckVATPostingSetupPurchAccount(var VATBusGroupCode: Code[20]; var VATProdGroupCode: Code[20]; var IsHandled: Boolean)new in 23
[IntegrationEvent] OnBeforeCheckGenPostingSetupSalesAccount(var GenBusGroupCode: Code[20]; var GenProdGroupCode: Code[20]; var IsHandled: Boolean)new in 23
[IntegrationEvent] OnBeforeCheckCustPostingGroupReceivablesAccount(var PostingGroup: Code[20]; var IsHandled: Boolean)new in 23
[IntegrationEvent] OnBeforeCheckVendPostingGroupPayablesAccount(var PostingGroup: Code[20]; var IsHandled: Boolean)new in 23

All 10 events

Public procedures 29 in 29

CheckCustPostingGroupReceivablesAccount(PostingGroup: Code[20])17-29
CheckVendPostingGroupPayablesAccount(PostingGroup: Code[20])17-29
CheckGenPostingSetupSalesAccount(GenBusGroupCode: Code[20]; GenProdGroupCode: Code[20])17-29
CheckGenPostingSetupPurchAccount(GenBusGroupCode: Code[20]; GenProdGroupCode: Code[20])17-29
CheckGenPostingSetupCOGSAccount(GenBusGroupCode: Code[20]; GenProdGroupCode: Code[20])17-29
CheckVATPostingSetupSalesAccount(VATBusGroupCode: Code[20]; VATProdGroupCode: Code[20])17-29

All 30 procedures in 17-29

Changes 2 in 24

List17181920212223242526272829
Procedures722
Events118
ConfirmPostingAfterCurrentCalendarDate(ConfirmQst: Text; PostingDate: Date): Booleangone after 23
gone
LogEmplPostingGroupFieldError(EmployeePostingGroup: Record "Employee Posting Group"; FieldNumber: Integer)new in 24
added

All 21 changes in 17-29