GLTWSEL – GL Transaction Writer Select

System
General Ledger (GL)
Prefix
GWS
Primary key
TW-NAME, OR-GROUP, MATRIX-CAT, SEQ-NUMBER
Fields
6
Updated by
2 programs
Referenced by
2 programs

GLTWSEL is the GL Transaction Writer Select table in Lawson General Ledger (prefix GWS). It is indexed by TW-NAME, OR-GROUP, MATRIX-CAT, SEQ-NUMBER (GWSSET1). 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 6 fields, 1 index and 1 documented relation.

About GLTWSEL

This file stores transaction writer report secondary values defined in GL55.1 (Transaction Writer).

Fields (6)

Column = COBOL field name without the GWS- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored. PK = primary key (present in every index); SETn = leading/alternate key of that index.

Field / columnTypeDescription & valuesUpdated by
#GWS-TW-NAME PK
TW_NAME
Alpha 12The Transaction Writer name.GL55.1, GL55.2
#GWS-OR-GROUP PK
OR_GROUP
Alpha 1A single value used to group multiple selections together. Each group of value selections will be treated internally as an 'and' and externally as an 'or'.GL55.1
#GWS-SEQ-NUMBER PK
SEQ_NUMBER
Numeric 6A unique number assigned to each transaction to be transferred into the Lawson system.GL55.1
#GWS-MATRIX-CAT PK
MATRIX_CAT
Alpha 12Attribute name assigned to General Ledger Transaction-type objects. Attributes are used in selection and sorting for reporting and analysis.GL55.1
#GWS-FR-MX-VAL
FR_MX_VAL
Alpha 32The beginning attribute value in a attribute range.GL55.1
#GWS-TH-MX-VAL
TH_MX_VAL
Alpha 32The ending value in a range of attribute values.GL55.1

Indexes (1)

Keys are listed in index order; ↓ marks a descending key. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
GWSSET1
  1. TW-NAME
  2. OR-GROUP
  3. MATRIX-CAT
  4. SEQ-NUMBER
PrimaryGL255, GL256, GL55.1, GL55.2

Relations

Relationship map — 1:1 lookups/parents on the left, 1:M children on the right (up to 14 each)
MXOBJCATGLTWSEL

One to one (1) — lookups and parents

RelationTableRulesConditionField map
MxobjcatMXOBJCATRequired
"GLTRN"→MOC-OBJ-TYPE
GWS-MATRIX-CAT→MOC-MATRIX-CAT

Programs

Updated by (2)

Referenced by (2)