ADAMOUNTSX – Daily GL Amounts for ADB
- System
- Avg Daily Balance (AD)
- Prefix
BAD- Primary key
COMPANY,EFFECT-DATE,POST-DATE,ACCT-UNIT,ACCOUNT,SUB-ACCOUNT- Fields
- 11
- Updated by
- 16 programs
- Referenced by
- 3 programs
ADAMOUNTSX is the Daily GL Amounts for ADB table in Lawson Avg Daily Balance (prefix BAD). It is indexed by COMPANY, EFFECT-DATE, POST-DATE, ACCT-UNIT, ACCOUNT, SUB-ACCOUNT (BADSET1); alternate indexes: BADSET2 and BADSET3. It is updated by AD190, AD300, AD325, GL110, GL120, GL146, GL190, GL197 and 8 more and referenced by AD90.1, GL122 and GL20.2. The table has 11 fields, 3 indexes and 0 documented relations.
About ADAMOUNTSX
The Average Daily Amount file contains the the base amount balance for the ADB Company by Effective date for the accounting unit and account. This file is updated during the General Ledger Posting process.
Fields (11)
Column = COBOL field name without the BAD- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
BAD-COMPANY PKCOMPANY | Numeric 4 | The Average Daily Balance Company established in AD10. The company must exist as a General Ledger Company. | AD325, GL110, GL146, GL190, GL197, GL40.1, GL40.2, GL40.3 +4 more |
BAD-EFFECT-DATE PKEFFECT_DATE | Numeric 8 (yyyymmdd) | The Effective Date is the effective date of the GL transaction. This file stores GL transations summarized by their effective date for the ADB Company, accounting unit and account. | AD325, GL146, GL190, GL197, GL40.1, GL40.2, GL40.3, GL40.7 +3 more |
BAD-POST-DATE PKPOST_DATE | Numeric 8 (yyyymmdd) | The date general ledger entries for the transaction will be posted to the general ledger. | AD325, GL146, GL190, GL197, GL40.1, GL40.2, GL40.3, GL40.7 +3 more |
BAD-ACCT-UNIT PKACCT_UNIT | Alpha 15 | The accounting unit is a shorthand notation representing the variable level number. When used in the General Ledger Master file, the accounting unit must be defined in the General Ledger Names file as a posting accounting unit. | AD325, GL146, GL190, GL197, GL40.1, GL40.2, GL40.3, GL40.7 +3 more |
BAD-ACCOUNT PKACCOUNT | Numeric 6 | This field along with the accounting unit and subaccount make up the location (account) where amounts and other account information is stored. | AD325, GL146, GL190, GL197, GL40.1, GL40.2, GL40.3, GL40.7 +3 more |
BAD-SUB-ACCOUNT PKSUB_ACCOUNT | Numeric 4 | This field contains the subaccount from your general ledger chart of accounts that was charged with the amount carried on this record. | AD325, GL146, GL190, GL197, GL40.1, GL40.2, GL40.3, GL40.7 +3 more |
BAD-VAR-LEVELSVAR_LEVELS | Alpha 30 | A level that represents the location of an accounting unit in an organization's level structure. | AD325, GL120, GL146, GL190, GL197, GL40.1, GL40.2, GL40.3 +4 more |
BAD-CHART-NAMECHART_NAME | Alpha 12 | This is the name you assigned to the chart of accounts when you defined your company structure in the General Ledger system. | AD325, GL146, GL190, GL197, GL40.1, GL40.2, GL40.3, GL40.7 +3 more |
BAD-FISCAL-YEARFISCAL_YEAR | Numeric 4 | This is the current fiscal year. | AD325, GL146, GL190, GL197, GL40.1, GL40.2, GL40.3, GL40.7 +4 more |
BAD-ACCT-PERIODACCT_PERIOD | Numeric 2 | This is the current accounting period. | AD325, GL146, GL190, GL197, GL40.1, GL40.2, GL40.3, GL40.7 +4 more |
BAD-BASE-AMOUNTBASE_AMOUNT | Signed 18.2 | The company base amount. | AD325, GL146, GL190, GL197, GL40.1, GL40.2, GL40.3, GL40.7 +3 more |
Indexes (3)
Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
BADSET1 | COMPANY, EFFECT-DATE, POST-DATE, ACCT-UNIT, ACCOUNT, SUB-ACCOUNT | Primary | AD300, AD325, GL110, GL120, GL146, GL190, GL197, GL40.1 +7 more | |
BADSET2 | COMPANY, ACCT-UNIT, ACCOUNT, SUB-ACCOUNT, EFFECT-DATE, POST-DATE | AD325, AD90.1, GL110, GL120, GL122, GL20.2 | ||
BADSET3 | COMPANY, ACCOUNT, SUB-ACCOUNT, ACCT-UNIT, FISCAL-YEAR, ACCT-PERIOD, EFFECT-DATE, POST-DATE | AD190 |
Programs
Updated by (16)
- AD190 Transaction Posting
- AD300 Average Daily Balance History Delete
- AD325 ADAMOUNTSX File Rebuild
- GL110 Company Copy Delete
- GL120 Level Reorganization
- GL146 Batch Journal Control
- GL190 Journal Posting
- GL197 Period, Year End GL Commitments Processing
- GL40.1 Journal Entry
- GL40.2 Define Journal
- GL40.3 Speed Entry
- GL40.7 Totals
- GL40.8 Journal Entry
- GL44.1 Report Currency Entry
- GL45.1 Journal Control
- GL500 Fiscal Year Change