ICAUDIT – Item/Item Location Audit

System
Inventory Control (IC)
Prefix
IAU
Primary key
ITEM-GROUP, COMPANY, LOCATION, ITEM, GL-CATEGORY, DATE, TIME, FLD-NBR
Fields
15
Updated by
45 programs
Referenced by
3 programs

ICAUDIT is the Item/Item Location Audit table in Lawson Inventory Control (prefix IAU). It is indexed by ITEM-GROUP, COMPANY, LOCATION, ITEM, GL-CATEGORY, DATE, TIME, FLD-NBR (IAUSET1); alternate indexes: IAUSET2, IAUSET3, IAUSET4 and IAUSET5. It is related 1:1 to ICCATEGORY, ICCOMPANY, ICDICT, ITEMGROUP, ITEMLOC, ITEMMAST and ICLOCATION. It is updated by IC00.1, IC01.1, IC01.2, IC01.3, IC01.4, IC04.1, IC10.2, IC11.1 and 37 more and referenced by IC524, IC93.1 and IC93.2. The table has 15 fields, 5 indexes and 8 documented relations.

About ICAUDIT

The Item/Item Location Audit file is created as a result of choosing the audit options in IC00.1 (Corporate Item Group) and/or IC01.1 (Company). When the options are selected, the file is updated whenever a change is made to either the Item Master or the Item Location Master file.

Fields (15)

Column = COBOL field name without the IAU- 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
#IAU-ITEM-GROUP PK
ITEM_GROUP
Alpha 5This field contains the identifier for a group of items that can be shared by one or more companies.IC00.1, IC01.1, IC01.2, IC01.3, IC01.4, IC04.1, IC10.2, IC11.1 +26 more
#IAU-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.IC00.1, IC01.1, IC01.2, IC01.3, IC01.4, IC04.1, IC10.2, IC11.1 +26 more
#IAU-LOCATION PK
LOCATION
Alpha 5This field contains a valid stocking location within the company inventory.IC00.1, IC01.1, IC01.2, IC01.3, IC01.4, IC04.1, IC10.2, IC11.1 +26 more
#IAU-ITEM PK
ITEM
Alpha 32This field contains the item's identifier.IC00.1, IC01.1, IC01.2, IC01.3, IC01.4, IC04.1, IC10.2, IC11.1 +26 more
#IAU-GL-CATEGORY PK
GL_CATEGORY
Alpha 4—IC00.1, IC01.1, IC01.2, IC01.3, IC01.4, IC04.1, IC10.2, IC12.1 +16 more
#IAU-DATE PK
DATE
Numeric 8 (yyyymmdd)This field contains the system date when the audit record was created.IC00.1, IC01.1, IC01.2, IC01.3, IC01.4, IC04.1, IC10.2, IC11.1 +26 more
#IAU-TIME PK
TIME
Numeric 8This field contains the system time when the audit record was created.IC00.1, IC01.1, IC01.2, IC01.3, IC01.4, IC04.1, IC10.2, IC11.1 +26 more
#IAU-FLD-NBR PK
FLD_NBR
Numeric 4This field contains a unique number assigned to a field that identifies the description of the field.IC00.1, IC01.1, IC01.2, IC01.3, IC01.4, IC04.1, IC10.2, IC11.1 +26 more
#IAU-BEFORE-IMAGE
BEFORE_IMAGE
Alpha 350 (Lower Case)This field contains the field image before the change.IC00.1, IC01.1, IC01.2, IC01.3, IC01.4, IC04.1, IC10.2, IC11.1 +26 more
#IAU-AFTER-IMAGE
AFTER_IMAGE
Alpha 350 (Lower Case)This field contains the field image after the change.IC00.1, IC01.1, IC01.2, IC01.3, IC01.4, IC04.1, IC10.2, IC11.1 +26 more
#IAU-DB-FILE SET3
DB_FILE
Alpha 3This field identifies which file is being maintained by this audit record.
  • ITE Item Master File (ITEMMAST)
  • ITL Item Location File (ITEMLOC)
  • ITM Item Source File (ITEMSRC)
  • ICA GL Category File (ICCATEGORY)
  • ICB IC Bin (ICBIN)
  • BGD Bin Group Detail (BINGRPDTL)
  • ITG Item Group File (ITEMGROUP)
  • ICC IC Company File (ICCOMPANY)
IC00.1, IC01.1, IC01.2, IC01.3, IC01.4, IC04.1, IC10.2, IC11.1 +26 more
#IAU-OPERATOR-ID
OPERATOR_ID
Alpha 10This field contains the terminal sign on when this update was performed to the database.IC00.1, IC01.1, IC01.2, IC01.3, IC01.4, IC04.1, IC10.2, IC11.1 +25 more
#IAU-FLD-DESC
FLD_DESC
Derived——
#IAU-BIN-GROUP SET3 SET4
BIN_GROUP
Alpha 7—IC00.1, IC01.1, IC01.2, IC01.3, IC01.4, IC04.1, IC10.2, IC12.1 +16 more
#IAU-BIN SET3 SET5
BIN
Alpha 7—IC00.1, IC01.1, IC01.2, IC01.3, IC01.4, IC04.1, IC10.2, IC12.1 +16 more

Indexes (5)

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
IAUSET1
  1. ITEM-GROUP
  2. COMPANY
  3. LOCATION
  4. ITEM
  5. GL-CATEGORY
  6. DATE
  7. TIME
  8. FLD-NBR
PrimaryIC00.1, IC01.1, IC01.2, IC01.3, IC01.4, IC04.1, IC10.2, IC12.1 +22 more (list truncated in source)
IAUSET2
  1. DATE
  2. TIME
  3. ITEM-GROUP
  4. COMPANY
  5. LOCATION
  6. ITEM
  7. GL-CATEGORY
  8. FLD-NBR
—
IAUSET3
  1. DATE
  2. TIME
  3. DB-FILE
  4. COMPANY
  5. LOCATION
  6. BIN-GROUP
  7. BIN
  8. FLD-NBR
SubsetWhere BIN-GROUP != SpacesIC00.1, IC01.1, IC01.2, IC01.3, IC01.4, IC04.1, IC10.2, IC12.1 +16 more
IAUSET4
  1. COMPANY
  2. LOCATION
  3. BIN-GROUP
  4. DATE
  5. TIME
  6. FLD-NBR
SubsetWhere BIN-GROUP != SpacesIC198, IC93.2
IAUSET5
  1. COMPANY
  2. LOCATION
  3. BIN
  4. DATE
  5. TIME
  6. FLD-NBR
SubsetWhere BIN != SpacesIC189, IC93.1

Relations

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

One to one (8) — lookups and parents

RelationTableRulesConditionField map
IccategoryICCATEGORYNot RequiredValid When IAU-GL-CATEGORY != Spaces
IAU-COMPANY→ICA-COMPANY
IAU-LOCATION→ICA-LOCATION
IAU-GL-CATEGORY→ICA-GL-CATEGORY
IccompanyICCOMPANYRequiredWhen IAU-COMPANY != Zeroes
IAU-COMPANY→ICC-COMPANY
IcdictICDICTRequired
IAU-FLD-NBR→IDI-FLD-NBR
ItemgroupITEMGROUPRequiredWhen IAU-ITEM-GROUP != Spaces
IAU-ITEM-GROUP→ITG-ITEM-GROUP
ItemlocITEMLOCNot RequiredValid When IAU-COMPANY != Zeroes And IAU-GL-CATEGORY = Spaces
IAU-COMPANY→ITL-COMPANY
IAU-ITEM→ITL-LOCATION
IAU-ITEM→ITL-ITEM
ItemmastITEMMASTNot RequiredValid When IAU-ITEM-GROUP != Spaces
IAU-ITEM-GROUP→ITE-ITEM-GROUP
IAU-ITEM→ITE-ITEM
Itemmast2ITEMMASTNot RequiredValid When IAU-COMPANY != Zeroes And IAU-GL-CATEGORY = Spaces
ICC-ITEM-GROUP→ITE-ITEM-GROUP
IAU-ITEM→ITE-ITEM
LocationICLOCATIONRequired
IAU-COMPANY→ICL-COMPANY
IAU-LOCATION→ICL-LOCATION

Programs

Updated by (45)

Referenced by (3)