Codeunit PostingSetupManagement

ID 48
Namespace: Microsoft.Finance.ReceivablesPayables

Methods

CheckCustPostingGroupReceivablesAccount

procedure CheckCustPostingGroupReceivablesAccount(PostingGroup: Code[20])

Parameters

Name Type Description
PostingGroup Code[20]

CheckVendPostingGroupPayablesAccount

procedure CheckVendPostingGroupPayablesAccount(PostingGroup: Code[20])

Parameters

Name Type Description
PostingGroup Code[20]

CheckGenPostingSetupSalesAccount

procedure CheckGenPostingSetupSalesAccount(GenBusGroupCode: Code[20], GenProdGroupCode: Code[20])

Parameters

Name Type Description
GenBusGroupCode Code[20]
GenProdGroupCode Code[20]

CheckGenPostingSetupPurchAccount

procedure CheckGenPostingSetupPurchAccount(GenBusGroupCode: Code[20], GenProdGroupCode: Code[20])

Parameters

Name Type Description
GenBusGroupCode Code[20]
GenProdGroupCode Code[20]

CheckGenPostingSetupCOGSAccount

procedure CheckGenPostingSetupCOGSAccount(GenBusGroupCode: Code[20], GenProdGroupCode: Code[20])

Parameters

Name Type Description
GenBusGroupCode Code[20]
GenProdGroupCode Code[20]

CheckVATPostingSetupSalesAccount

procedure CheckVATPostingSetupSalesAccount(VATBusGroupCode: Code[20], VATProdGroupCode: Code[20])

Parameters

Name Type Description
VATBusGroupCode Code[20]
VATProdGroupCode Code[20]

CheckVATPostingSetupPurchAccount

procedure CheckVATPostingSetupPurchAccount(VATBusGroupCode: Code[20], VATProdGroupCode: Code[20])

Parameters

Name Type Description
VATBusGroupCode Code[20]
VATProdGroupCode Code[20]

CheckInvtPostingSetupInventoryAccount

procedure CheckInvtPostingSetupInventoryAccount(LocationCode: Code[10], PostingGroup: Code[20])

Parameters

Name Type Description
LocationCode Code[10]
PostingGroup Code[20]

GetPostingSetupNotificationID

procedure GetPostingSetupNotificationID(): Guid

Returns

Type Description
Guid

ConfirmPostingAfterWorkingDate

procedure ConfirmPostingAfterWorkingDate(ConfirmQst: Text, PostingDate: Date): Boolean

Parameters

Name Type Description
ConfirmQst Text
PostingDate Date

Returns

Type Description
Boolean

IsPostingSetupNotificationEnabled

procedure IsPostingSetupNotificationEnabled(): Boolean

Returns

Type Description
Boolean

SendCustPostingGroupNotification

procedure SendCustPostingGroupNotification(CustomerPostingGroup: Record "Customer Posting Group", FieldCaption: Text)

Parameters

Name Type Description
CustomerPostingGroup Table Microsoft.Sales.Customer."Customer Posting Group"
FieldCaption Text

SendVendPostingGroupNotification

procedure SendVendPostingGroupNotification(VendorPostingGroup: Record "Vendor Posting Group", FieldCaption: Text)

Parameters

Name Type Description
VendorPostingGroup Table Microsoft.Purchases.Vendor."Vendor Posting Group"
FieldCaption Text

SendInvtPostingSetupNotification

procedure SendInvtPostingSetupNotification(InvtPostingSetup: Record "Inventory Posting Setup", FieldCaption: Text)

Parameters

Name Type Description
InvtPostingSetup Table Microsoft.Inventory.Item."Inventory Posting Setup"
FieldCaption Text

SendGenPostingSetupNotification

procedure SendGenPostingSetupNotification(GenPostingSetup: Record "General Posting Setup", FieldCaption: Text)

Parameters

Name Type Description
GenPostingSetup Table Microsoft.Finance.GeneralLedger.Setup."General Posting Setup"
FieldCaption Text

LogVATPostingSetupFieldError

procedure LogVATPostingSetupFieldError(VATPostingSetup: Record "VAT Posting Setup", FieldNumber: Integer)

Parameters

Name Type Description
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
FieldNumber Integer

LogGenPostingSetupFieldError

procedure LogGenPostingSetupFieldError(GenPostingSetup: Record "General Posting Setup", FieldNumber: Integer)

Parameters

Name Type Description
GenPostingSetup Table Microsoft.Finance.GeneralLedger.Setup."General Posting Setup"
FieldNumber Integer

LogInventoryPostingSetupFieldError

procedure LogInventoryPostingSetupFieldError(InventoryPostingSetup: Record "Inventory Posting Setup", FieldNumber: Integer)

Parameters

Name Type Description
InventoryPostingSetup Table Microsoft.Inventory.Item."Inventory Posting Setup"
FieldNumber Integer

LogCustPostingGroupFieldError

procedure LogCustPostingGroupFieldError(CustomerPostingGroup: Record "Customer Posting Group", FieldNumber: Integer)

Parameters

Name Type Description
CustomerPostingGroup Table Microsoft.Sales.Customer."Customer Posting Group"
FieldNumber Integer

LogVendPostingGroupFieldError

procedure LogVendPostingGroupFieldError(VendorPostingGroup: Record "Vendor Posting Group", FieldNumber: Integer)

Parameters

Name Type Description
VendorPostingGroup Table Microsoft.Purchases.Vendor."Vendor Posting Group"
FieldNumber Integer

LogEmplPostingGroupFieldError

procedure LogEmplPostingGroupFieldError(EmployeePostingGroup: Record "Employee Posting Group", FieldNumber: Integer)

Parameters

Name Type Description
EmployeePostingGroup Table Microsoft.HumanResources.Employee."Employee Posting Group"
FieldNumber Integer

LogJobPostingGroupFieldError

procedure LogJobPostingGroupFieldError(JobPostingGroup: Record "Job Posting Group", FieldNumber: Integer)

Parameters

Name Type Description
JobPostingGroup Table Microsoft.Projects.Project.Job."Job Posting Group"
FieldNumber Integer

LogFAPostingGroupFieldError

procedure LogFAPostingGroupFieldError(FAPostingGroup: Record "FA Posting Group", FieldNumber: Integer)

Parameters

Name Type Description
FAPostingGroup Table Microsoft.FixedAssets.FixedAsset."FA Posting Group"
FieldNumber Integer

SendVATPostingSetupNotification

procedure SendVATPostingSetupNotification(VATPostingSetup: Record "VAT Posting Setup", FieldCaption: Text)

Parameters

Name Type Description
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
FieldCaption Text

ShowCustomerPostingGroups

procedure ShowCustomerPostingGroups(SetupNotification: Notification)

Parameters

Name Type Description
SetupNotification Notification

ShowVendorPostingGroups

procedure ShowVendorPostingGroups(SetupNotification: Notification)

Parameters

Name Type Description
SetupNotification Notification

ShowInventoryPostingSetup

procedure ShowInventoryPostingSetup(SetupNotification: Notification)

Parameters

Name Type Description
SetupNotification Notification

ShowGenPostingSetup

procedure ShowGenPostingSetup(SetupNotification: Notification)

Parameters

Name Type Description
SetupNotification Notification

ShowVATPostingSetup

procedure ShowVATPostingSetup(SetupNotification: Notification)

Parameters

Name Type Description
SetupNotification Notification

Events

OnBeforeCheckInvtPostingSetupInventoryAccount

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckInvtPostingSetupInventoryAccount(var LocationCode: Code[10], var PostingGroup: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
LocationCode Code[10]
PostingGroup Code[20]
IsHandled Boolean

OnBeforeCheckVATPostingSetupSalesAccount

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckVATPostingSetupSalesAccount(VATBusGroupCode: Code[20], VATProdGroupCode: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
VATBusGroupCode Code[20]
VATProdGroupCode Code[20]
IsHandled Boolean

OnBeforeCheckGenPostingSetupCOGSAccount

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckGenPostingSetupCOGSAccount(var GenBusGroupCode: Code[20], var GenProdGroupCode: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
GenBusGroupCode Code[20]
GenProdGroupCode Code[20]
IsHandled Boolean

OnBeforeCheckVATPostingSetupPurchAccount

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckVATPostingSetupPurchAccount(var VATBusGroupCode: Code[20], var VATProdGroupCode: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
VATBusGroupCode Code[20]
VATProdGroupCode Code[20]
IsHandled Boolean

OnBeforeCheckGenPostingSetupSalesAccount

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckGenPostingSetupSalesAccount(var GenBusGroupCode: Code[20], var GenProdGroupCode: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
GenBusGroupCode Code[20]
GenProdGroupCode Code[20]
IsHandled Boolean

OnBeforeCheckCustPostingGroupReceivablesAccount

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckCustPostingGroupReceivablesAccount(var PostingGroup: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
PostingGroup Code[20]
IsHandled Boolean

OnBeforeCheckVendPostingGroupPayablesAccount

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckVendPostingGroupPayablesAccount(var PostingGroup: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
PostingGroup Code[20]
IsHandled Boolean

OnBeforeConfirmPostingAfterWorkingDate

[IntegrationEvent(False,False)]
local procedure OnBeforeConfirmPostingAfterWorkingDate(var ConfirmQst: Text, var PostingDate: Date, var Result: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
ConfirmQst Text
PostingDate Date
Result Boolean
IsHandled Boolean

OnBeforeCheckGenPostingSetupPurchAccount

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckGenPostingSetupPurchAccount(var GenBusGroupCode: Code[20], var GenProdGroupCode: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
GenBusGroupCode Code[20]
GenProdGroupCode Code[20]
IsHandled Boolean

OnBeforeSendGenPostingSetupNotification

[IntegrationEvent(False,False)]
local procedure OnBeforeSendGenPostingSetupNotification(GenPostingSetup: Record "General Posting Setup", FieldCaption: Text, var IsHandled: Boolean)

Parameters

Name Type Description
GenPostingSetup Table Microsoft.Finance.GeneralLedger.Setup."General Posting Setup"
FieldCaption Text
IsHandled Boolean

See also