GLSYSJE – GL Company Journal Entry

System
General Ledger Setup (IF)
Prefix
GSJ
Primary key
COMPANY, SYSTEM, FISCAL-YEAR, ACCT-PERIOD
Fields
6
Updated by
11 programs
Referenced by
1 program

GLSYSJE is the GL Company Journal Entry table in Lawson General Ledger Setup (prefix GSJ). It is indexed by COMPANY, SYSTEM, FISCAL-YEAR, ACCT-PERIOD (GSJSET1). It is related 1:1 to GLCODES, GLSYSTEM and SYSTEMCODE. It is updated by GL110, GL148, GL191, GL196, GL197, GL199, GL40.2, GL40.6 and 3 more and referenced by GL210. The table has 6 fields, 1 index and 3 documented relations.

About GLSYSJE

This file contains information about the last journal entry number used for a specific system code.

Fields (6)

Column = COBOL field name without the GSJ- 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
#GSJ-COMPANY PK
COMPANY
Numeric 4The company number as defined in GL10.1 (Company).GL110, GL148, GL191, GL196, GL197, GL199, GL40.2, GL40.6 +3 more
#GSJ-SYSTEM PK
SYSTEM
Alpha 2A two-character code representing an application used within the Lawson system. (i.e.: GL = General Ledger, AP = Accounts Payable, etc.)GL148, GL191, GL196, GL197, GL199, GL40.2, GL40.6, GL45.1 +2 more
#GSJ-FISCAL-YEAR PK
FISCAL_YEAR
Numeric 4Contains the fiscal year for the data stored on this record.GL148, GL191, GL196, GL197, GL199, GL40.2, GL40.6, GL45.1 +2 more
#GSJ-ACCT-PERIOD PK
ACCT_PERIOD
Numeric 2This is the current accounting period. This field is updated by GL199 (Period Closing).GL148, GL191, GL196, GL197, GL199, GL40.2, GL40.6, GL45.1 +2 more
#GSJ-LAST-JE-USED
LAST_JE_USED
Numeric 8The last journal entry number.GL148, GL191, GL196, GL197, GL199, GL40.2, GL40.6, GL45.1 +2 more
#GSJ-LST-IC-JE-NBR
LST_IC_JE_NBR
Numeric 4The last IC journal entry number.GL40.2, GL40.6, GL45.1, GL500, IFGT.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
GSJSET1
  1. COMPANY
  2. SYSTEM
  3. FISCAL-YEAR
  4. ACCT-PERIOD
PrimaryGL110, GL148, GL191, GL196, GL197, GL199, GL40.2, GL40.6 +4 more

Relations

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

One to one (3) — lookups and parents

RelationTableRulesConditionField map
GlcodesGLCODESNot Required
GSJ-COMPANY→GCD-COMPANY
GSJ-SYSTEM→GCD-SYSTEM
GlsystemGLSYSTEMRequired
GSJ-COMPANY→GLS-COMPANY
SystemcodeSYSTEMCODENot Required
GSJ-SYSTEM→SYS-SYSTEM

Programs

Updated by (11)

Referenced by (1)