ADCOMPANY – Average Daily Balance Company

System
Avg Daily Balance (AD)
Prefix
ADC
Primary key
COMPANY
Fields
8
Updated by
4 programs
Referenced by
22 programs

ADCOMPANY is the Average Daily Balance Company table in Lawson Avg Daily Balance (prefix ADC). It is indexed by COMPANY (ADCSET1); alternate indexes: ADCSET2. It is related 1:1 to GLSYSTEM. It is updated by AD10.1, AD190, AD191 and GL110 and referenced by AD120, AD20.1, AD210, AD220, AD290, AD300, AD320, AD325 and 14 more. The table has 8 fields, 2 indexes and 1 documented relation.

About ADCOMPANY

The AD Company file stores the balancing accounting unit, account, subaccount, that are set up in Company (AD10). Transaction Posting (AD190) uses the balancing account for AD calculations and is used to indicate what companies are ADB companies.

Fields (8)

Column = COBOL field name without the ADC- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.

Field / columnTypeDescription & valuesUpdated by
ADC-COMPANY PK
COMPANY
Numeric 4The Average Daily Balance Company established in AD10. The company must exist as a General Ledger Company.AD10.1, GL110
ADC-BAL-ACCT-UNIT
BAL_ACCT_UNIT
Alpha 15The Balancing Accounting Unit established in the Average Daily Balance Company AD10.AD10.1
ADC-BAL-ACCOUNT
BAL_ACCOUNT
Numeric 6The Balancing Account established in the Average Daily Balance company AD10.AD10.1
ADC-BAL-SUB-ACCT
BAL_SUB_ACCT
Numeric 4The Balancing Sub-Account establshed in the Average Daily Balance Company.AD10.1
ADC-LAST-UPDT-PROG
LAST_UPDT_PROG
Alpha 5The Transaction Posting (AD190) or The Cost of Funds (AD191) program that last processed for the company.AD190, AD191
ADC-LAST-RUN-DATE
LAST_RUN_DATE
Numeric 8 (yyyymmdd)The last run date of the Transaction Posting (AD190) or the Cost of Funds (AD191).
ADC-AS-OF-EFFT-DTE
AS_OF_EFFT_DTE
Numeric 8 (yyyymmdd)The As Of Effective Date defined in AD10. Used for date default for AD190.AD10.1
ADC-UPDATE-DAILY
UPDATE_DAILY
Alpha 1The Update Daily Flag determines if the daily balance files are created. The Valid values are Yes and No. " " = Default
  • Y Yes
  • N No
AD10.1

Indexes (2)

Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
ADCSET1COMPANYPrimaryAD10.1, AD120, AD190, AD191, AD20.1, AD210, AD220, AD290 +18 more
ADCSET2COMPANYSubsetWhere COMPANY != ZeroesAD10.1, AD210, AD320, AD325

Relations

One to one (1) — lookups and parents

RelationTableRulesConditionField map
GlsystemGLSYSTEMRequiredADC-COMPANYGLS-COMPANY

Programs

Updated by (4)

Referenced by (22)