Table of Contents

Table "Gen. Business Posting Group"

ID 250
Namespace: Microsoft.Finance.GeneralLedger.Setup

Defines general business posting groups for transaction classification and G/L account assignment automation. Controls default VAT business posting group assignment and automatic general posting setup creation.

Remarks

Used with general product posting groups to determine G/L account assignments through General Posting Setup matrix. Integrates with customer, vendor, and G/L account master data for consistent posting group assignment. Extensibility: OnValidateDefVATBusPostingGroupOnBeforeModifyGLAccount event for custom validation logic.

Properties

Name Value
Caption Gen. Business Posting Group
DataCaptionFields 1,2
LookupPageID Page Microsoft.Finance.GeneralLedger.Setup."Gen. Business Posting Groups"
Permissions tabledata "Gen. Business Posting Group" = r
DataClassification CustomerContent

Fields

Name Type Description
Code Code[20]

Unique identifier for the general business posting group used in transaction classification.

Description Text[100]

Descriptive name for the general business posting group explaining its business purpose.

"Def. VAT Bus. Posting Group" Code[20]

Default VAT business posting group automatically assigned to customers, vendors, and G/L accounts using this general business posting group.

"Auto Insert Default" Boolean

Controls automatic creation of general posting setup records when this business posting group is combined with product posting groups.

SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemCreatedByUserName Text[50]
SystemCreatedByFullName Text[80]
SystemModifiedByUserName Text[50]
SystemModifiedByFullName Text[80]
SystemRowVersion BigInteger

Methods

ValidateVatBusPostingGroup

Validates and retrieves general business posting group configuration for automatic posting setup creation.

procedure ValidateVatBusPostingGroup(var GenBusPostingGrp: Record "Gen. Business Posting Group"; EnteredGenBusPostingGroup: Code[20]): Boolean

Parameters

Name Type Description
GenBusPostingGrp Table Microsoft.Finance.GeneralLedger.Setup."Gen. Business Posting Group"

General business posting group record to validate and populate

EnteredGenBusPostingGroup Code[20]

Business posting group code to validate

Returns

Type Description
Boolean

True if auto insert default is enabled for the posting group, false otherwise

Events

OnValidateDefVATBusPostingGroupOnBeforeModifyGLAccount

Integration event raised before modifying G/L account VAT business posting group during default VAT posting group update. Enables custom validation or modification logic for G/L account VAT posting group changes.

[IntegrationEvent(False,False)]
local procedure OnValidateDefVATBusPostingGroupOnBeforeModifyGLAccount(var Rec: Record "Gen. Business Posting Group"; var GLAccount: Record "G/L Account")

Parameters

Name Type Description
Rec Table Microsoft.Finance.GeneralLedger.Setup."Gen. Business Posting Group"

General business posting group record being processed

GLAccount Table Microsoft.Finance.GeneralLedger.Account."G/L Account"

G/L account record being modified

See also