ACGLCODE – Activity GL Codes
- System
- Activity Management (AC)
- Prefix
AGC- Primary key
AC-GL-CODE- Fields
- 7
- Updated by
- 1 program
- Referenced by
- 40 programs
ACGLCODE is the Activity GL Codes table in Lawson Activity Management (prefix AGC). It is indexed by AC-GL-CODE (AGCSET1); alternate indexes: AGCSET2. It is related 1:1 to GLNAMES and GLSYSTEM and 1:M to GLMASTER. It is updated by AC04.1 and referenced by AC00.1, AC10.3, AC160, AC190, AC197, AC198, AC204, AC56.1 and 32 more. The table has 7 fields, 2 indexes and 3 documented relations.
About ACGLCODE
This file contains information on Activity general ledger (GL) codes from AC04.1 (GL Code). It includes GL code and description, responsible company, accounting unit, account, subaccount, and active flag.
Fields (7)
Column = COBOL field name without the AGC- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
AGC-AC-GL-CODE PKAC_GL_CODE | Alpha 4 | Required key. This is the GL code, identifying a general ledger account, for posting to the General Ledger system. | AC04.1 |
AGC-DESCRIPTIONDESCRIPTION | Alpha 30 (Lower Case) | This is the description of the GL code. | AC04.1 |
AGC-COMPANYCOMPANY | Numeric 4 | Required. This is the responsible company for the activity and GL code. | AC04.1 |
AGC-ACCT-UNITACCT_UNIT | Alpha 15 | Required. This is the accounting unit identified by the GL code. The accounting unit must have been defined already in the General Ledger system. | AC04.1 |
AGC-ACCOUNTACCOUNT | Numeric 6 | Required. This is the account identified by the GL code. The account must have been defined already in the General Ledger system. | AC04.1 |
AGC-SUB-ACCTSUB_ACCT | Numeric 4 | This is the subaccount identified by the GL code. The subaccount must have been defined already in the General Ledger system. | AC04.1 |
AGC-ACTIVE-FLAGACTIVE_FLAG | Alpha 1 | This flag indicates whether the GL code is active.
| AC04.1 |
Indexes (2)
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 |
|---|---|---|---|---|
AGCSET1 | AC-GL-CODE | Primary | AC00.1, AC04.1, AC10.3, AC160, AC190, AC197, AC198, AC204 +22 more (list truncated in source) | |
AGCSET2 | COMPANY, ACCT-UNIT, ACCOUNT, SUB-ACCT, AC-GL-CODE | KeyChange | — |
Relations
One to one (2) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Glnames | GLNAMES | Required | AGC-COMPANY → GLN-COMPANY (GLNSET1), AGC-ACCT-UNIT → GLN-ACCT-UNIT | |
| Glsystem | GLSYSTEM | Required | AGC-COMPANY → GLS-COMPANY |
One to many (1) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Glmaster | GLMASTER | AGC-COMPANY → GLM-COMPANY, AGC-ACCOUNT → GLM-ACCOUNT, AGC-SUB-ACCT → GLM-SUB-ACCOUNT, → GLM-VAR-LEVELS, → GLM-ACCT-UNIT |
Programs
Updated by (1)
- AC04.1 GL Code
Referenced by (40)
- AC00.1 Activity Group
- AC10.3 Activity Asset
- AC160 Asset Management Interface
- AC190 Activity Posting
- AC197 Burden Recalculation Based on Total Cost
- AC198 Burden Rate Recalculation
- AC204 GL Code Listing
- AC56.1 Setup Interface Adjustment
- AC560 Setup Interface
- AC60.1 Burden Codes
- AC60.2 Additional Information
- AC70.1 Activity Group Template
- BR01.2 Bill Retention
- BR10.1 Contract Parameters
- BR10.3 Contract Accounts
- BR12.1 Journal Codes
- BR120 Invoice Calculation
- BR124 Deferred Revenue Adjustment
- BR130 Revenue Calculation
- BR131 Revenue Realization
- BR140 Billing and Revenue Backout
- BR15.2 Fee Code Assignment
- BR151 Product Invoicing
- BR153 Product Revenue Calculation
- BR154 Maintenance Revenue Calculation
- BR155 Maintenance Schedule Copy
- BR21.1 Invoice Cancellation
- BR215 Fee Code Listing
- BR251 Product Contract Listing
- BR47.1 Contract Template
- BR47.2 Contract Account Template
- BR50.2 Product List Accounts
- BR51.1 Product Contract
- BR51.2 Product Cost of Goods Sold
- BR52.1 Maintenance Schedule
- BR530 Revenue Import
- BR570 Product Contract Interface
- BR70.1 Product Contract Interface Adjustment
- BR70.2 Product Interface Cost of Goods Sold
- BRIP.1 Invoice Print Program