ICCATEGORY – GL Account Category

System
Inventory Control (IC)
Prefix
ICA
Primary key
COMPANY, LOCATION, GL-CATEGORY
Fields
33
Updated by
6 programs
Referenced by
323 programs

ICCATEGORY is the GL Account Category table in Lawson Inventory Control (prefix ICA). It is indexed by COMPANY, LOCATION, GL-CATEGORY (ICASET1). It is related 1:1 to GLMASTER, ICCOMPANY and ICLOCATION and 1:M to ICAUDIT. It is updated by IC04.1, IC10.2, IC12.1, IC81.1, IC812 and IC841 and referenced by AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 and 315 more. The table has 33 fields, 1 index and 11 documented relations.

About ICCATEGORY

The GL Account Category file is a master file that defines the inventory and offset general ledger accounts used to post inventory transactions. Examples include issues, receipts, and adjustments of physical inventory count variances. A valid category code is assigned to each location where items are tracked.

Fields (33)

Column = COBOL field name without the ICA- 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
#ICA-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.IC04.1, IC841
#ICA-LOCATION PK
LOCATION
Alpha 5This field contains a valid stocking location within the company inventory.IC04.1, IC841
#ICA-GL-CATEGORY PK
GL_CATEGORY
Alpha 4This field is used to extract the appropriate account numbers for any inventory movement.IC04.1, IC841
#ICA-ACTIVE-STATUS
ACTIVE_STATUS
Alpha 1This field is used to limit the use of a general ledger category code.
  • A Active
  • I Inactive
IC04.1, IC841
#ICA-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)This field is used to describe the general ledger category code.IC04.1, IC841
#ICA-USED-FL
USED_FL
Alpha 1This field indicates whether the general ledger category has been used on the Item Location file.
  • N No
  • Y Yes
IC10.2, IC12.1, IC812
#ICA-INV-ACCT-UNIT
INV_ACCT_UNIT
Alpha 15This field contains the general ledger inventory account unit.IC04.1, IC841
#ICA-INV-ACCOUNT
INV_ACCOUNT
Numeric 6This field contains the general ledger inventory account number.IC04.1, IC841
#ICA-INV-SUB-ACCT
INV_SUB_ACCT
Numeric 4This field contains the general ledger inventory subaccount number.IC04.1, IC841
#ICA-REC-ACCT-UNIT
REC_ACCT_UNIT
Alpha 15This field contains the general ledger receipts offset account unit.IC04.1, IC841
#ICA-REC-ACCOUNT
REC_ACCOUNT
Numeric 6This field contains the general ledger receipts offset account number.IC04.1, IC841
#ICA-REC-SUB-ACCT
REC_SUB_ACCT
Numeric 4This field contains the general ledger receipts offset subaccount number.IC04.1, IC841
#ICA-ISS-ACCT-UNIT
ISS_ACCT_UNIT
Alpha 15This field contains the general ledger issues offset account unit.IC04.1, IC841
#ICA-ISS-ACCOUNT
ISS_ACCOUNT
Numeric 6This field contains the general ledger issues offset account number.IC04.1, IC841
#ICA-ISS-SUB-ACCT
ISS_SUB_ACCT
Numeric 4This field contains the general ledger issues offset subaccount number.IC04.1, IC841
#ICA-ADJ-ACCT-UNIT
ADJ_ACCT_UNIT
Alpha 15This field contains the general ledger adjustment offset account unit.IC04.1, IC841
#ICA-ADJ-ACCOUNT
ADJ_ACCOUNT
Numeric 6This field contains the general ledger adjustment offset account number.IC04.1, IC841
#ICA-ADJ-SUB-ACCT
ADJ_SUB_ACCT
Numeric 4This field contains the general ledger adjustment offset subaccount number.IC04.1, IC841
#ICA-VAR-ACCT-UNIT
VAR_ACCT_UNIT
Alpha 15This field contains the general ledger cost variance accounting unit.IC04.1, IC841
#ICA-VAR-ACCOUNT
VAR_ACCOUNT
Numeric 6This field contains the general ledger cost variance account number.IC04.1, IC841
#ICA-VAR-SUB-ACCT
VAR_SUB_ACCT
Numeric 4This field contains the general ledger cost variance subaccount number.IC04.1, IC841
#ICA-INT-ACCT-UNIT
INT_ACCT_UNIT
Alpha 15This field contains the general ledger intransit account unit.IC04.1, IC222, IC841
#ICA-INT-ACCOUNT
INT_ACCOUNT
Numeric 6This field contains the general ledger intransit account number. This number is used when an item is put into intransit between two inventory locations.IC04.1, IC222, IC841
#ICA-INT-SUB-ACCT
INT_SUB_ACCT
Numeric 4This field contains the general ledger intransit subaccount number.IC04.1, IC222, IC841
#ICA-PHY-ACCT-UNIT
PHY_ACCT_UNIT
Alpha 15This field contains the general ledger physical inventory variance account unit.IC04.1, IC841
#ICA-PHY-ACCOUNT
PHY_ACCOUNT
Numeric 6This field contains the general ledger physical inventory variance account number. This number offsets the inventory account when there is a physical inventory variance.IC04.1, IC841
#ICA-PHY-SUB-ACCT
PHY_SUB_ACCT
Numeric 4This field contains the general ledger physical inventory variance subaccount number.IC04.1, IC841
#ICA-ADD-ACCT-UNIT
ADD_ACCT_UNIT
Alpha 15This field contains the general ledger add-on cost or freight account unit.IC04.1, IC841
#ICA-ADD-ACCOUNT
ADD_ACCOUNT
Numeric 6This field contains the general ledger add-on cost or freight account number. This account is used if there is an add-on cost entered when an intransit is received.IC04.1, IC841
#ICA-ADD-SUB-ACCT
ADD_SUB_ACCT
Numeric 4This field contains the general ledger add-on freight subaccount number.IC04.1, IC841
#ICA-SHK-ACCT-UNIT
SHK_ACCT_UNIT
Alpha 15This field contains the general ledger shrinkage accounting unit.IC04.1, IC841
#ICA-SHK-ACCOUNT
SHK_ACCOUNT
Numeric 6This field contains the general ledger shrinkage account number.IC04.1, IC841
#ICA-SHK-SUB-ACCT
SHK_SUB_ACCT
Numeric 4This field contains the general ledger shrinkage subaccount number.IC04.1, IC841

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
ICASET1
  1. COMPANY
  2. LOCATION
  3. GL-CATEGORY
PrimaryAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source)

Relations

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

One to one (10) — lookups and parents

RelationTableRulesConditionField map
AddonaccountGLMASTERRequired
ICA-COMPANY→GLM-COMPANY
ICA-ADD-ACCT-UNIT→GLM-ACCT-UNIT
ICA-ADD-ACCOUNT→GLM-ACCOUNT
ICA-ADD-SUB-ACCT→GLM-SUB-ACCOUNT
AdjustmentacctGLMASTERRequired
ICA-COMPANY→GLM-COMPANY
ICA-ADJ-ACCT-UNIT→GLM-ACCT-UNIT
ICA-ADJ-ACCOUNT→GLM-ACCOUNT
ICA-ADJ-SUB-ACCT→GLM-SUB-ACCOUNT
CompanyICCOMPANYRequired
ICA-COMPANY→ICC-COMPANY
IclocationICLOCATIONRequired
ICA-COMPANY→ICL-COMPANY
ICA-LOCATION→ICL-LOCATION
IntransitacctGLMASTERRequired
ICA-COMPANY→GLM-COMPANY
ICA-INT-ACCT-UNIT→GLM-ACCT-UNIT
ICA-INT-ACCOUNT→GLM-ACCOUNT
ICA-INT-SUB-ACCT→GLM-SUB-ACCOUNT
InvaccountGLMASTERRequired
ICA-COMPANY→GLM-COMPANY
ICA-INV-ACCT-UNIT→GLM-ACCT-UNIT
ICA-INV-ACCOUNT→GLM-ACCOUNT
ICA-INV-SUB-ACCT→GLM-SUB-ACCOUNT
IssuesacctGLMASTERRequired
ICA-COMPANY→GLM-COMPANY
ICA-ISS-ACCT-UNIT→GLM-ACCT-UNIT
ICA-ISS-ACCOUNT→GLM-ACCOUNT
ICA-ISS-SUB-ACCT→GLM-SUB-ACCOUNT
PhysinvvaracctGLMASTERRequired
ICA-COMPANY→GLM-COMPANY
ICA-PHY-ACCT-UNIT→GLM-ACCT-UNIT
ICA-PHY-ACCOUNT→GLM-ACCOUNT
ICA-PHY-SUB-ACCT→GLM-SUB-ACCOUNT
ReceiptsacctGLMASTERRequired
ICA-COMPANY→GLM-COMPANY
ICA-REC-ACCT-UNIT→GLM-ACCT-UNIT
ICA-REC-ACCOUNT→GLM-ACCOUNT
ICA-REC-SUB-ACCT→GLM-SUB-ACCOUNT
StdcostvaracctGLMASTERRequired
ICA-COMPANY→GLM-COMPANY
ICA-VAR-ACCT-UNIT→GLM-ACCT-UNIT
ICA-VAR-ACCOUNT→GLM-ACCOUNT
ICA-VAR-SUB-ACCT→GLM-SUB-ACCOUNT

One to many (1) — child tables

RelationTableRulesConditionField map
IcauditICAUDIT
Spaces→IAU-ITEM-GROUP
ICA-COMPANY→IAU-COMPANY
ICA-LOCATION→IAU-LOCATION
Spaces→IAU-ITEM
ICA-GL-CATEGORY→IAU-GL-CATEGORY
—→IAU-DATE
—→IAU-TIME
—→IAU-FLD-NBR

Programs

Updated by (6)

Referenced by (323)