GLSUBACDTL – GL Subaccount Detail
- System
- General Ledger (GL)
- Prefix
GSD- Primary key
SUB-ACCOUNT,SUB-ACCT-TMPLT- Fields
- 23
- Updated by
- 3 programs
- Referenced by
- 4 programs
GLSUBACDTL is the GL Subaccount Detail table in Lawson General Ledger (prefix GSD). It is indexed by SUB-ACCOUNT, SUB-ACCT-TMPLT (GSDSET1); alternate indexes: GSDSET2. It is related 1:1 to MXLISTHDR and TRCODES and 1:M to GLSUBACVLD. It is updated by GL13.1, GL13.2 and GL13.4 and referenced by GL02.3, GL160, GL213 and GL60.1. The table has 23 fields, 2 indexes and 3 documented relations.
About GLSUBACDTL
This file maintains the subaccount number and details of each subaccount within a subaccount template.
Fields (23)
Column = COBOL field name without the GSD- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
GSD-SUB-ACCT-TMPLT PKSUB_ACCT_TMPLT | Alpha 12 | This field contains name of the subaccont template to which the subaccount belongs. | GL13.1 |
GSD-SUB-ACCOUNT PKSUB_ACCOUNT | Numeric 4 | This field contains the subaccount number. | GL13.1 |
GSD-DESCRIPTIONDESCRIPTION | Alpha 30 (Lower Case) | This field contains the subaccount description. | GL13.1 |
GSD-SPACE-CODESPACE_CODE | Numeric 1 | This field indicates the number of spaces to advance after the account appears on a report.
| GL13.1 |
GSD-SIGN-CODESIGN_CODE | Alpha 1 | This field determines if the system prints a negative sign next to a positive amount. Reversing the sign only affects report printing, not account totaling. Valid values are: If you leave this field blank, No defaults and the system prints a negative sign for a negative amount.
| GL13.1 |
GSD-UNITS-CODEUNITS_CODE | Alpha 1 | This field determines if units are allowed in the subaccount. Valid values are:
| GL13.1 |
GSD-ACTIVITY-REQACTIVITY_REQ | Alpha 1 | This field indicates if an activity is required. Valid values are: Blank means that the field takes on the value assigned for this field to the account that this subaccount is attached to.
| GL13.1 |
GSD-POSTING-LEVELPOSTING_LEVEL | Alpha 1 | This field determines if transactions are interfaced to the Lawson General Ledger system in summary or detail form. Valid values are:
| GL13.1 |
GSD-CURRENCY-CODECURRENCY_CODE | Alpha 5 | This field contains the company base currency code. | GL13.1 |
GSD-CURR-CONTROLCURR_CONTROL | Alpha 1 | This field lets you limit all transactions to one currency.
| GL13.1 |
GSD-TRANSL-CODETRANSL_CODE | Alpha 2 | This field identifies the translation rate applied against the subaccount balance to calculate the translation value. | GL13.1 |
GSD-REVALUEREVALUE | Alpha 1 | This field indicates whether to revalue non-base transactions of an account into the company base currency..
| GL13.1 |
GSD-ACTIVE-STATUSACTIVE_STATUS | Alpha 1 | This field determines the status of the account. If Inactive, no posting can be done to the account.
| GL13.1 |
GSD-DYNAMIC-LISTDYNAMIC_LIST | Alpha 12 | This field defines a list of accounting units to which the account is automatically assigned.. | GL13.1 |
GSD-RESTRICT-SYSRESTRICT_SYS | Alpha 1 | This field indicates whether account usage is restricted to specified system codes. Valid values are: Blank (inherits the restrictions defined for the summary account it is associated with) " " = Sum Acct Default
| GL13.1 |
GSD-ACCT-CATEGORYACCT_CATEGORY | Alpha 5 | This field contains the default account category to be used, if you use the Activity system. Account categories are groupings of costs, revenues, or a combination of both used for reporting and inquiries for activities in the Activity Management system. All transactions are posted to an account category within an activity. You can assign a specific General Ledger account or range of accounts (company, accounting unit, account, and subaccount) that make up the transactions posted to an account category using AC07.1 (Account Assignment). Period-to-date, year-to-date, and life-to-date balances are maintained by account category for activities. Account categories must be assigned to activities before you do any budgeting or transaction processing. | GL13.1 |
GSD-DAILY-BALANCEDAILY_BALANCE | Alpha 1 | This field indicates whether transactions can be viewed on a daily basis. Valid values are:
| GL13.1 |
GSD-RELATIONRELATION | Alpha 15 | This field defines a user analysis value relation to associate with the subaccount. The relation must exist in User Analysis Value Relation (SL02.1). | GL13.1 |
GSD-UNARY-OPERUNARY_OPER | Alpha 1 | This field contains the mathematical operation to consolidate amounts for a natural balance. Valid values are: + = Add % = Percentile ~ = Do nothing The default is Add. Only used by the OLAP environment. " " = Do Nothing
| GL13.1 |
GSD-NAT-BALANCENAT_BALANCE | Alpha 1 | This field determines whether the natural balance is a Debit (D) or Credit (C). This field is not required. This is only used by the OLAP environment.
| GL13.1 |
GSD-SL-ACCT-FLAGSL_ACCT_FLAG | Alpha 1 | This flag determines whether user analysis values can be assigned to a specific account. You can select Yes, No, or use the Summary Account selection. " " = Sum Acct Default
| GL13.1 |
GSD-LEDGER-GROUPLEDGER_GROUP | Alpha 15 | — | GL13.1 |
GSD-GL-BUD-FLGL_BUD_FL | Alpha 1 | — | GL13.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 |
|---|---|---|---|---|
GSDSET1 | SUB-ACCOUNT, SUB-ACCT-TMPLT | Primary | — | |
GSDSET2 | SUB-ACCT-TMPLT, SUB-ACCOUNT | GL02.3, GL13.1, GL13.2, GL13.4, GL160, GL213, GL60.1 |
Relations
One to one (2) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Mxlisthdr | MXLISTHDR | Not Required | "ACCTU" → MLH-OBJ-TYPE, GSD-DYNAMIC-LIST → MLH-MATRIX-LIST | |
| Trcodes | TRCODES | Not Required | GSD-TRANSL-CODE → TRC-TRANSL-CODE |
One to many (1) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Glsubacvld | GLSUBACVLD | GSD-SUB-ACCT-TMPLT → GSV-SUB-ACCT-TMPLT, GSD-SUB-ACCOUNT → GSV-SUB-ACCOUNT, → GSV-SYSTEM |
Programs
Updated by (3)
- GL13.1 Subaccount Template
- GL13.2 Define Subaccount Template
- GL13.4 Template Subaccount System Restriction