GLTWLAYOUT – GL Transaction Writer Layout
- System
- General Ledger (GL)
- Prefix
GWL- Primary key
TW-NAME,LINE,COLM-NBR- Fields
- 14
- Updated by
- 2 programs
- Referenced by
- 2 programs
GLTWLAYOUT is the GL Transaction Writer Layout table in Lawson General Ledger (prefix GWL). It is indexed by TW-NAME, LINE, COLM-NBR (GWLSET1). It is related 1:1 to MXOBJCAT. It is updated by GL55.1 and GL55.2 and referenced by GL255 and GL256. The table has 14 fields, 1 index and 1 documented relation.
About GLTWLAYOUT
The General Ledger Transaction Writer Layout file stores transaction writer layout information defined in the Layout form tab in GL55.1 (Transaction Writer).
Fields (14)
Column = COBOL field name without the GWL- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
GWL-TW-NAME PKTW_NAME | Alpha 12 | The Transaction Writer name. | GL55.1, GL55.2 |
GWL-LINE PKLINE | Numeric 2 | The line number determines whether the columns being maintained are on line 1 or line 2.
| GL55.1 |
GWL-COLM-NBR PKCOLM_NBR | Numeric 2 | The column number within the line number. | GL55.1 |
GWL-MATRIX-CATMATRIX_CAT | Alpha 12 | The attributes defined for General Ledger transaction-type objects. Attributes are used in selection and sorting for reporting and analysis. | GL55.1 |
GWL-FIELD-SIZEFIELD_SIZE | Numeric 2 | The size of the column. Date fields are 8, Numeric fields are a maximum of 18, and alpha fields are a maximum of 20. | GL55.1 |
GWL-DECIMALSDECIMALS | Numeric 1 | The decimal values for the column are 0-6. Zero is the default. Decimals are only used with amount and currency rate-type fields. 0 1 2 3 4 5 6 | GL55.1 |
GWL-COLM-SPACINGCOLM_SPACING | Numeric 2 | The number of blank spaces preceding the column. | GL55.1 |
GWL-COUNT-TOT-OPTCOUNT_TOT_OPT | Alpha 1 | Counts either the number of records in an alpha or date field or totals the value in a numeric field.
| GL55.1 |
GWL-TOTAL-BREAKTOTAL_BREAK | Alpha 1 | Determines if totals print when the value in this field changes. No is the default.
| GL55.1 |
GWL-PAGE-BREAKPAGE_BREAK | Alpha 1 | Determines if a page break occurs when the value in this field changes. No is the default.
| GL55.1 |
GWL-DESC-OFDESC_OF | Alpha 1 | Determines if the description of the field will print. No is the default.
| GL55.1 |
GWL-SUPR-COLM-DUPSSUPR_COLM_DUPS | Alpha 1 | Determines if the field value will print if it equals the previous transaction. No is the default.
| GL55.1 |
GWL-SUPR-LINE-DUPSSUPR_LINE_DUPS | Alpha 1 | Determines if the entire line will print if it equals the previous transaction field value. No is the default.
| GL55.1 |
GWL-ALIGN-HEADINGALIGN_HEADING | Alpha 1 | Determines how the heading aligns over the field values. Left align defaults for alpha fields. Right align defaults for all other fields. The heading is aligned based on the entire column size.
| GL55.1 |
Indexes (1)
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 |
|---|---|---|---|---|
GWLSET1 | TW-NAME, LINE, COLM-NBR | Primary | GL255, GL256, GL55.1, GL55.2 |
Relations
One to one (1) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Mxobjcat | MXOBJCAT | Required | "GLTRN" → MOC-OBJ-TYPE, GWL-MATRIX-CAT → MOC-MATRIX-CAT |