Table of Contents

Table "G/L Budget Entry"

ID 96
Namespace: Microsoft.Finance.GeneralLedger.Budget

Stores individual budget entries with multi-dimensional analysis capabilities for financial planning and forecasting. Primary transaction table for budget data with full dimension support and Analysis View integration.

Remarks

Key relationships: G/L Budget Name (header), G/L Account (master data), Dimension Values (analysis). Integration: Analysis View Budget Entry for performance reporting and G/L Account budgeting workflows. Extensibility: OnValidate triggers for custom business rules and dimension validation hooks.

Properties

Name Value
Caption G/L Budget Entry
DrillDownPageID Page Microsoft.Finance.GeneralLedger.Budget."G/L Budget Entries"
LookupPageID Page Microsoft.Finance.GeneralLedger.Budget."G/L Budget Entries"
Permissions TableData "Analysis View Budget Entry" = rd
DataClassification CustomerContent

Fields

Name Type Description
"Entry No." Integer

Unique identifier for the budget entry record within the G/L Budget Entry table.

"Budget Name" Code[10]

Reference to the budget name that groups related budget entries and defines dimension structure.

"G/L Account No." Code[20]

G/L Account for which the budget amount is defined, linking to the chart of accounts structure.

Date Date

Budget period date that determines when the budget amount applies for period-based analysis.

"Global Dimension 1 Code" Code[20]

First global dimension code for company-wide analysis and reporting requirements.

"Global Dimension 2 Code" Code[20]

Second global dimension code for company-wide analysis and reporting requirements.

Amount Decimal

Budget amount in local currency for the specified G/L account and dimension combination.

Description Text[100]

Descriptive text providing additional context or explanation for the budget entry.

"Business Unit Code" Code[20]

Business unit code for consolidation and multi-company budget analysis scenarios.

"User ID" Code[50]

User identifier who created or last modified the budget entry for audit trail purposes.

"Budget Dimension 1 Code" Code[20]

First budget-specific dimension code as configured in the associated G/L Budget Name.

"Budget Dimension 2 Code" Code[20]

Second budget-specific dimension code as configured in the associated G/L Budget Name.

"Budget Dimension 3 Code" Code[20]

Third budget-specific dimension code as configured in the associated G/L Budget Name.

"Budget Dimension 4 Code" Code[20]

Fourth budget-specific dimension code as configured in the associated G/L Budget Name.

"Last Date Modified" Date

Date when the budget entry was last modified for tracking changes and version control.

"Dimension Set ID" Integer

Dimension Set ID that combines all dimension values into a single reference for optimized querying.

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

GetLastEntryNo

Retrieves the highest entry number in the G/L Budget Entry table for generating new unique identifiers.

[InherentPermissions(TableData,96,r)]
procedure GetLastEntryNo(): Integer

Returns

Type Description
Integer

The last used entry number in the table.

CheckIfBlocked

Validates that the associated budget name is not blocked before allowing entry modifications.

procedure CheckIfBlocked()

GetCaptionClass

Generates dynamic captions for budget dimension fields based on the dimension configuration in the budget name.

procedure GetCaptionClass(BudgetDimType: Integer): Text[250]

Parameters

Name Type Description
BudgetDimType Integer

The budget dimension type number (1-4) for caption generation.

Returns

Type Description
Text[250]

Formatted caption text for the specified budget dimension field.

ShowDimensions

Opens the dimension management page for viewing and editing the entry's dimension set values.

procedure ShowDimensions()

UpdateDimSet

Updates a temporary dimension set entry record with the specified dimension code and value. Used for building dimension sets during budget entry processing and validation.

procedure UpdateDimSet(var TempDimSetEntry: Record "Dimension Set Entry" temporary; DimCode: Code[20]; DimValueCode: Code[20])

Parameters

Name Type Description
TempDimSetEntry Table Microsoft.Finance.Dimension."Dimension Set Entry"

Temporary dimension set entry record to update.

DimCode Code[20]

Dimension code to set in the entry.

DimValueCode Code[20]

Dimension value code to set in the entry.

Events

OnAfterShowDimensions

Integration event raised after showing dimensions for a budget entry. Allows subscribers to perform additional processing after dimension dialog is displayed.

[IntegrationEvent(False,False)]
local procedure OnAfterShowDimensions(var GLBudgetEntry: Record "G/L Budget Entry")

Parameters

Name Type Description
GLBudgetEntry Table Microsoft.Finance.GeneralLedger.Budget."G/L Budget Entry"

OnAfterUpdateDimSet

Integration event raised after updating dimension set entries for a budget entry. Allows subscribers to perform additional dimension processing or validation.

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateDimSet(GLBudgetEntry: Record "G/L Budget Entry"; var TempDimensionSetEntry: Record "Dimension Set Entry" temporary; DimCode: Code[20]; DimValueCode: Code[20])

Parameters

Name Type Description
GLBudgetEntry Table Microsoft.Finance.GeneralLedger.Budget."G/L Budget Entry"
TempDimensionSetEntry Table Microsoft.Finance.Dimension."Dimension Set Entry"
DimCode Code[20]
DimValueCode Code[20]

OnAfterUpdateDimensionSetId

Integration event raised after updating the dimension set ID for a budget entry. Allows subscribers to perform additional processing after dimension set ID changes.

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateDimensionSetId(var TempDimensionSetEntry: Record "Dimension Set Entry" temporary; var GLBudgetEntry: Record "G/L Budget Entry"; xGLBudgetEntry: Record "G/L Budget Entry")

Parameters

Name Type Description
TempDimensionSetEntry Table Microsoft.Finance.Dimension."Dimension Set Entry"
GLBudgetEntry Table Microsoft.Finance.GeneralLedger.Budget."G/L Budget Entry"
xGLBudgetEntry Table Microsoft.Finance.GeneralLedger.Budget."G/L Budget Entry"

OnBeforeCheckIfBlocked

Integration event raised before checking if a budget name is blocked. Allows subscribers to implement custom blocking logic or skip the standard check.

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckIfBlocked(var GLBudgetEntry: Record "G/L Budget Entry"; xGLBudgetEntry: Record "G/L Budget Entry"; GLBudgetName: Record "G/L Budget Name"; var IsHandled: Boolean)

Parameters

Name Type Description
GLBudgetEntry Table Microsoft.Finance.GeneralLedger.Budget."G/L Budget Entry"
xGLBudgetEntry Table Microsoft.Finance.GeneralLedger.Budget."G/L Budget Entry"
GLBudgetName Table Microsoft.Finance.GeneralLedger.Budget."G/L Budget Name"
IsHandled Boolean

OnInsertOnAfterUpdateDimSets

Integration event raised during insert after updating dimension sets. Allows subscribers to perform additional processing after dimension sets are updated during budget entry insertion.

[IntegrationEvent(False,False)]
local procedure OnInsertOnAfterUpdateDimSets(var TempDimensionSetEntry: Record "Dimension Set Entry" temporary; var GLBudgetEntry: Record "G/L Budget Entry")

Parameters

Name Type Description
TempDimensionSetEntry Table Microsoft.Finance.Dimension."Dimension Set Entry"
GLBudgetEntry Table Microsoft.Finance.GeneralLedger.Budget."G/L Budget Entry"

OnBeforeVerifyNoRelatedAnalysisViewBudgetEntries

Integration event raised before verifying no related Analysis View Budget Entries exist. Allows subscribers to implement custom verification logic or skip the standard verification.

[IntegrationEvent(False,False)]
local procedure OnBeforeVerifyNoRelatedAnalysisViewBudgetEntries(var GLBudgetEntry: Record "G/L Budget Entry"; xGLBudgetEntry: Record "G/L Budget Entry"; var IsHandled: Boolean)

Parameters

Name Type Description
GLBudgetEntry Table Microsoft.Finance.GeneralLedger.Budget."G/L Budget Entry"
xGLBudgetEntry Table Microsoft.Finance.GeneralLedger.Budget."G/L Budget Entry"
IsHandled Boolean

See also