Table 98 General Ledger Setup

Base Application, Microsoft.Finance.GeneralLedger.Setup

Source AL, 1,887 lines

src/Layers/W1/BaseApp/Finance/GeneralLedger/Setup/GeneralLedgerSetup.Table.allines 46 to 61 of 1,887, Copyright (c) Microsoft Corporation. MIT

table 98 "General Ledger Setup"{    Caption = 'General Ledger Setup';    DataClassification = CustomerContent;    fields    {        /// <summary>        /// Primary key field for the singleton General Ledger Setup record.        /// </summary>        field(1; "Primary Key"; Code[10])        {            AllowInCustomizations = Never;            Caption = 'Primary Key';        }        /// <summary>

All 1,887 lines

Fields 116 in 29

1Primary KeyCode[10]17-29
2Allow Posting FromDate17-29
3Allow Posting ToDate17-29
4Register TimeBoolean17-29
5Allow Deferral Posting FromDatenew in 20
6Allow Deferral Posting ToDatenew in 20
7VAT Reporting DateEnum "VAT Reporting Date"new in 21
8VAT Reporting Date UsageEnum "VAT Reporting Date Usage"new in 21
28Pmt. Disc. Excl. VATBoolean17-29

All 119 fields in 17-29

Events 5 in 29

[IntegrationEvent] OnBeforeCheckRoundingError(var ErrorMessage: Boolean)17-29
[IntegrationEvent] OnBeforeFirstAllowedPostingDate(GeneralLedgerSetup: Record "General Ledger Setup"; var AllowedPostingDate: Date; var IsHandled: Boolean)17-29
[IntegrationEvent] OnAfterIsPostingAllowed(GeneralLedgerSetup: Record "General Ledger Setup"; PostingDate: Date; var Result: Boolean)new in 20
[IntegrationEvent] OnAfterUpdateDimValueGlobalDimNo(ShortCutDimNo: Integer; OldDimensionCode: Code[20]; NewDimensionCode: Code[20])new in 23
[IntegrationEvent] OnBeforeValidateAdditionalReportingCurrency(var AdditionalReportingCurrency: Code[10]; xRecAdditionalReportingCurrency: Code[10]; var IsHandled: Boolean)new in 28

Public procedures 16 in 29

CheckDecimalPlacesFormat(var DecimalPlaces: Text[5])17-29
GetCurrencyCode(CurrencyCode: Code[10]): Code[10]17-29
GetCurrencySymbol(): Text[10]17-29
GetRecordOnce()17-29
CheckRoundingError(NameOfField: Text[100])17-29
IsPostingAllowed(PostingDate: Date): Boolean17-29

All 17 procedures in 17-29

Extended in Microsoft's apps by 3

tableextension 60 ShowCurrencyGenLedgSetupBase Applicationnew in 27
tableextension 4818 "Intrastat Report GL Setup"Intrastat Corenew in 21
tableextension 8051 "General Ledger Setup"Subscription Billingnew in 26

Trigger events 10

OnBeforeInsertEvent(var Rec: Record "General Ledger Setup"; RunTrigger: Boolean)
OnAfterInsertEvent(var Rec: Record "General Ledger Setup"; RunTrigger: Boolean)
OnBeforeModifyEvent(var Rec: Record "General Ledger Setup"; var xRec: Record "General Ledger Setup"; RunTrigger: Boolean)
OnAfterModifyEvent(var Rec: Record "General Ledger Setup"; var xRec: Record "General Ledger Setup"; RunTrigger: Boolean)
OnBeforeDeleteEvent(var Rec: Record "General Ledger Setup"; RunTrigger: Boolean)
OnAfterDeleteEvent(var Rec: Record "General Ledger Setup"; RunTrigger: Boolean)
OnBeforeRenameEvent(var Rec: Record "General Ledger Setup"; var xRec: Record "General Ledger Setup"; RunTrigger: Boolean)
OnAfterRenameEvent(var Rec: Record "General Ledger Setup"; var xRec: Record "General Ledger Setup"; RunTrigger: Boolean)
OnBeforeValidateEvent(var Rec: Record "General Ledger Setup"; var xRec: Record "General Ledger Setup"; CurrFieldNo: Integer)
per field, ElementName: field name
OnAfterValidateEvent(var Rec: Record "General Ledger Setup"; var xRec: Record "General Ledger Setup"; CurrFieldNo: Integer)
per field, ElementName: field name

Changes 3 in 29

List17181920212223242526272829
Fields321512114442122
Procedures1131
Events111
field(64; "Spend Request No. Series"; Code[20])new in 29
added
field(210; "Use Concurrent Posting"; Boolean)new in 29
added
UseConcurrentPosting(): Booleannew in 29
added

All 71 changes in 17-29