GLUNITS – General Ledger Units

System
General Ledger (GL)
Prefix
GLU
Primary key
COMPANY, FISCAL-YEAR, ACCT-UNIT, ACCOUNT, SUB-ACCOUNT
Fields
75
Updated by
21 programs
Referenced by
52 programs

GLUNITS is the General Ledger Units table in Lawson General Ledger (prefix GLU). It is indexed by COMPANY, FISCAL-YEAR, ACCT-UNIT, ACCOUNT, SUB-ACCOUNT (GLUSET1); alternate indexes: GLUSET2, GLUSET3, GLUSET4, GLUSET5, GLUSET6, GLUSET8 and GLUSET9. It is related 1:1 to GLMASTER, GLCHARTDTL, GLSYSTEM and GLNAMES and 1:M to GLCONSOL. It is updated by CA110, CA190, GL110, GL120, GL146, GL167, GL190, GL194 and 13 more and referenced by CA290, CU01.1, CU01.2, CU02.1, CU02.2, CU03.1, CU10.1, CU10.2 and 44 more. The table has 75 fields, 8 indexes and 5 documented relations.

About GLUNITS

The General Ledger Units file contains debit and credit unit balance information including the company, fiscal year, accounting unit, and account records.

Fields (75)

Column = COBOL field name without the GLU- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.

Field / columnTypeDescription & valuesUpdated by
GLU-COMPANY PK
COMPANY
Numeric 4Identifies the AP company if the resource type = V. Identifies the HR company if the resource type = E. It is blank for type A, P or Q resources.CA110, GL110, GL146, GL167, GL190, GL194, GL197, GL199 +11 more
GLU-FISCAL-YEAR PK
FISCAL_YEAR
Numeric 4Contains the fiscal year for the data stored on this record.CA110, GL146, GL167, GL190, GL194, GL197, GL199, GL325 +10 more
GLU-ACCT-UNIT PK
ACCT_UNIT
Alpha 15The accounting unit is a shorthand notation representing the variable level number. When used in the General Ledger Account Master file, the accounting unit must be defined in the General Ledger Names file as a posting accounting unit.CA110, GL146, GL167, GL190, GL194, GL197, GL199, GL325 +10 more
GLU-ACCOUNT PK
ACCOUNT
Numeric 6This field along with the accounting unit and subaccount make up the location (account) where amounts and other account information is stored.CA110, GL146, GL167, GL190, GL194, GL197, GL199, GL325 +10 more
GLU-SUB-ACCOUNT PK
SUB_ACCOUNT
Numeric 4This field along with the accounting unit and account make up the location (account) where amounts and other account information is stored.CA110, GL146, GL167, GL190, GL194, GL197, GL199, GL325 +10 more
GLU-VAR-LEVELS
VAR_LEVELS
Alpha 30A level that represents the location of an accounting unit in an organization's level structure.CA110, GL120, GL146, GL167, GL190, GL194, GL197, GL199 +11 more
GLU-CHART-NAME
CHART_NAME
Alpha 12The name assigned to the chart of accounts when you defined your company structure in the Lawson General Ledger system.CA110, GL146, GL167, GL190, GL194, GL197, GL199, GL325 +10 more
GLU-DB-BEG-BAL
DB_BEG_BAL
Signed 15.2The total positive detail auto reversing amounts.FB20.7, GL110, GL167, GL194, GL199, GL281, GL291, GL325 +4 more
GLU-CR-BEG-BAL
CR_BEG_BAL
Signed 15.2The total negative detail auto reversing amounts.FB20.7, GL110, GL167, GL194, GL199, GL281, GL291, GL325 +4 more
GLU-DB-UNITS
DB_UNITS
Signed 15.2 Occurs 13 Times ×13The debit units.FB20.7, GL110, GL146, GL167, GL190, GL197, GL281, GL291 +12 more
GLU-CR-UNITS
CR_UNITS
Signed 15.2 Occurs 13 Times ×13The credit units.FB20.7, GL110, GL146, GL167, GL190, GL197, GL281, GL291 +12 more
GLU-ACTIVITY-FLAG
ACTIVITY_FLAG
Alpha 1 Occurs 13 Times ×13Not required. When activity for this period has occurred, a "Y" will be inserted. " " = No
  • Y Yes
  • N No
GL146, GL167, GL190, GL197, GL325, GL40.1, GL40.2, GL40.3 +5 more
GLU-MAINT-DATE
MAINT_DATE
Numeric 8 (yyyymmdd)The date last changed.GL120, GL146, GL167, GL190, GL194, GL197, GL199, GL330 +8 more
GLU-MAINT-TIME
MAINT_TIME
Numeric 6 (hhmmss)GL120, GL146, GL167, GL190, GL194, GL197, GL199, GL330 +8 more
GLU-CYBUNT
CYBUNT
DerivedThe current year beginning unit balance.
GLU-CPUNT-DR
CPUNT_DR
DerivedThe debit unit amount.
GLU-CPUNT-CR
CPUNT_CR
DerivedThe credit unit amount.
GLU-CPUNT
CPUNT
DerivedThe total unit amount.
GLU-CUR-PD-SUM-U-D
CUR_PD_SUM_U_D
DerivedThe current period debit units.
GLU-CUR-PD-SUM-U-C
CUR_PD_SUM_U_C
DerivedThe current period credit units.
GLU-CYDUNT
CYDUNT
DerivedThe current year-to-date units.
GLU-CYPUNT1-DR
CYPUNT1_DR
DerivedThe current year period one debit unit amount.
GLU-CYPUNT2-DR
CYPUNT2_DR
DerivedThe current year period two debit unit amount.
GLU-CYPUNT3-DR
CYPUNT3_DR
DerivedThe current year period three debit unit amount.
GLU-CYPUNT4-DR
CYPUNT4_DR
DerivedThe current year period four debit unit amount.
GLU-CYPUNT5-DR
CYPUNT5_DR
DerivedThe current year period five debit unit amount.
GLU-CYPUNT6-DR
CYPUNT6_DR
DerivedThe current year period six debit unit amount.
GLU-CYPUNT7-DR
CYPUNT7_DR
DerivedThe current year period seven debit unit amount.
GLU-CYPUNT8-DR
CYPUNT8_DR
DerivedThe current year period eight debit unit amount.
GLU-CYPUNT9-DR
CYPUNT9_DR
DerivedThe current year period nine debit unit amount.
GLU-CYPUNT10-DR
CYPUNT10_DR
DerivedThe current year period ten debit unit amount.
GLU-CYPUNT11-DR
CYPUNT11_DR
DerivedThe current year period eleven debit unit amount.
GLU-CYPUNT12-DR
CYPUNT12_DR
DerivedThe current year period twelve debit unit amount.
GLU-CYPUNT13-DR
CYPUNT13_DR
DerivedThe current year period 13 debit unit amount.
GLU-CYPUNT1-CR
CYPUNT1_CR
DerivedThe current year period 1 credit unit amount.
GLU-CYPUNT2-CR
CYPUNT2_CR
DerivedThe current year period 2 credit unit amount.
GLU-CYPUNT3-CR
CYPUNT3_CR
DerivedThe current year period 3 credit unit amount.
GLU-CYPUNT4-CR
CYPUNT4_CR
DerivedThe current year period 4 credit unit amount.
GLU-CYPUNT5-CR
CYPUNT5_CR
DerivedThe current year period 5 credit unit amount.
GLU-CYPUNT6-CR
CYPUNT6_CR
DerivedThe current year period 6 credit unit amount.
GLU-CYPUNT7-CR
CYPUNT7_CR
DerivedThe current year period 7 credit unit amount.
GLU-CYPUNT8-CR
CYPUNT8_CR
DerivedThe current year period 8 credit unit amount.
GLU-CYPUNT9-CR
CYPUNT9_CR
DerivedThe current year period 9 credit unit amount.
GLU-CYPUNT10-CR
CYPUNT10_CR
DerivedThe current year period 10 credit unit amount.
GLU-CYPUNT11-CR
CYPUNT11_CR
DerivedThe current year period 11 credit unit amount.
GLU-CYPUNT12-CR
CYPUNT12_CR
DerivedThe current year period 12 credit unit amount.
GLU-CYPUNT13-CR
CYPUNT13_CR
DerivedThe current year period 13 credit unit amount.
GLU-CYPUNT1
CYPUNT1
DerivedThe current year period 1 unit amount.
GLU-CYPUNT2
CYPUNT2
DerivedThe current year period 2 unit amount.
GLU-CYPUNT3
CYPUNT3
DerivedThe current year period 3 unit amount.
GLU-CYPUNT4
CYPUNT4
DerivedThe current year period 4 unit amount.
GLU-CYPUNT5
CYPUNT5
DerivedThe current year period 5 unit amount.
GLU-CYPUNT6
CYPUNT6
DerivedThe current year period 6 unit amount.
GLU-CYPUNT7
CYPUNT7
DerivedThe current year period 7 unit amount.
GLU-CYPUNT8
CYPUNT8
DerivedThe current year period 8 unit amount.
GLU-CYPUNT9
CYPUNT9
DerivedThe current year period 9 unit amount.
GLU-CYPUNT10
CYPUNT10
DerivedThe current year period 10 unit amount.
GLU-CYPUNT11
CYPUNT11
DerivedThe current year period 11 unit amount.
GLU-CYPUNT12
CYPUNT12
DerivedThe current year period 12 unit amount.
GLU-CYPUNT13
CYPUNT13
DerivedThe current year period 13 unit amount.
GLU-CYPYTD1
CYPYTD1
DerivedCurrent year period year to date period 1.
GLU-CYPYTD2
CYPYTD2
DerivedCurrent year period year to date period 2.
GLU-CYPYTD3
CYPYTD3
DerivedCurrent year period year to date period 3.
GLU-CYPYTD4
CYPYTD4
DerivedCurrent year period year to date period 4.
GLU-CYPYTD5
CYPYTD5
DerivedCurrent year period year to date period 5.
GLU-CYPYTD6
CYPYTD6
DerivedCurrent year period year to date period 6.
GLU-CYPYTD7
CYPYTD7
DerivedCurrent year period year to date period 7.
GLU-CYPYTD8
CYPYTD8
DerivedCurrent year period year to date period 8.
GLU-CYPYTD9
CYPYTD9
DerivedCurrent year period year to date period 9.
GLU-CYPYTD10
CYPYTD10
DerivedCurrent year period year to date period 10.
GLU-CYPYTD11
CYPYTD11
DerivedCurrent year period year to date period 11.
GLU-CYPYTD12
CYPYTD12
DerivedCurrent year period year to date period 12.
GLU-CYPYTD13
CYPYTD13
DerivedCurrent year period year to date period 13.
GLU-BLANKAM
BLANKAM
DerivedThis field consists of blank spaces. It is used to provide column headings on Drill Arounds.
GLU-PARENT-VAR-LEV
PARENT_VAR_LEV
Alpha 30The variable level address of the parent accounting unit.CA110, GL120, GL146, GL167, GL190, GL194, GL197, GL199 +9 more

Indexes (8)

Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
GLUSET1COMPANY, FISCAL-YEAR, ACCT-UNIT, ACCOUNT, SUB-ACCOUNTPrimaryCA110, CA190, CA290, FB120, FB20.1, FB20.3, FB20.4, FB20.6 +22 more (list truncated in source)
GLUSET2FISCAL-YEAR, COMPANY, VAR-LEVELS, ACCOUNT, SUB-ACCOUNT, ACCT-UNITKeyChangeFB120, GL120, GL195, GL281, GL291, GL325, GLSV.1, RW80.1 +3 more
GLUSET3COMPANY, ACCOUNT, SUB-ACCOUNT, VAR-LEVELS, ACCT-UNIT, FISCAL-YEARKeyChangeGL122, GL500, GL20.2
GLUSET4FISCAL-YEAR, VAR-LEVELS, ACCOUNT, SUB-ACCOUNT, COMPANY, ACCT-UNITKeyChangeGLSV.1, GLRV.1
GLUSET5FISCAL-YEAR, ACCOUNT, SUB-ACCOUNT, VAR-LEVELS, COMPANY, ACCT-UNITKeyChangeGLSV.1, GLRV.1
GLUSET6FISCAL-YEAR, COMPANY, ACCOUNT, SUB-ACCOUNT, VAR-LEVELS, ACCT-UNITKeyChangeGL199, GL290, GL295, GL320, GL325, GL330, GLSV.1, GLRV.1 +1 more
GLUSET8MAINT-DATE, MAINT-TIME, COMPANY, ACCT-UNIT, ACCOUNT, SUB-ACCOUNT, FISCAL-YEARKeyChangeGLOP.1
GLUSET9PARENT-VAR-LEV, COMPANY, ACCOUNT, SUB-ACCOUNT, FISCAL-YEAR, ACCT-UNITKeyChange

Relations

One to one (4) — lookups and parents

RelationTableRulesConditionField map
Acct AuGLMASTERRequiredGLU-COMPANYGLM-COMPANY (GLMSET2), GLU-ACCT-UNITGLM-ACCT-UNIT, GLU-ACCOUNTGLM-ACCOUNT, GLU-SUB-ACCOUNTGLM-SUB-ACCOUNT
Chart DetailGLCHARTDTLRequiredGLU-CHART-NAMEGDT-CHART-NAME, GLU-ACCOUNTGDT-ACCOUNT, GLU-SUB-ACCOUNTGDT-SUB-ACCOUNT
CompanyGLSYSTEMRequiredGLU-COMPANYGLS-COMPANY
GlnamesGLNAMESRequiredGLU-COMPANYGLN-COMPANY, GLU-ACCT-UNITGLN-ACCT-UNIT

One to many (1) — child tables

RelationTableRulesConditionField map
Units ParentGLCONSOLGLU-PARENT-VAR-LEVGCN-VAR-LEVELS, "U"GCN-TRANS-TYPE, GLU-COMPANYGCN-COMPANY, GLU-ACCOUNTGCN-ACCOUNT, GLU-SUB-ACCOUNTGCN-SUB-ACCOUNT, GLU-FISCAL-YEARGCN-FISCAL-YEAR, GCN-BUDGET-NBR, GCN-LEVEL-DEPTH, GCN-CURRENCY-CODE

Programs

Updated by (21)

Referenced by (52)