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.

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 4IC00.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
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
BIN_GROUP
Alpha 7IC00.1, IC01.1, IC01.2, IC01.3, IC01.4, IC04.1, IC10.2, IC12.1 +16 more
IAU-BIN
BIN
Alpha 7IC00.1, IC01.1, IC01.2, IC01.3, IC01.4, IC04.1, IC10.2, IC12.1 +16 more

Indexes (5)

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

IndexKeysFlagsConditionUsed in
IAUSET1ITEM-GROUP, COMPANY, LOCATION, ITEM, GL-CATEGORY, DATE, TIME, FLD-NBRPrimaryIC00.1, IC01.1, IC01.2, IC01.3, IC01.4, IC04.1, IC10.2, IC12.1 +22 more (list truncated in source)
IAUSET2DATE, TIME, ITEM-GROUP, COMPANY, LOCATION, ITEM, GL-CATEGORY, FLD-NBR
IAUSET3DATE, TIME, DB-FILE, COMPANY, LOCATION, BIN-GROUP, BIN, FLD-NBRSubsetWhere BIN-GROUP != SpacesIC00.1, IC01.1, IC01.2, IC01.3, IC01.4, IC04.1, IC10.2, IC12.1 +16 more
IAUSET4COMPANY, LOCATION, BIN-GROUP, DATE, TIME, FLD-NBRSubsetWhere BIN-GROUP != SpacesIC198, IC93.2
IAUSET5COMPANY, LOCATION, BIN, DATE, TIME, FLD-NBRSubsetWhere BIN != SpacesIC189, IC93.1

Relations

One to one (8) — lookups and parents

RelationTableRulesConditionField map
IccategoryICCATEGORYNot RequiredValid When IAU-GL-CATEGORY != SpacesIAU-COMPANYICA-COMPANY, IAU-LOCATIONICA-LOCATION, IAU-GL-CATEGORYICA-GL-CATEGORY
IccompanyICCOMPANYRequiredWhen IAU-COMPANY != ZeroesIAU-COMPANYICC-COMPANY
IcdictICDICTRequiredIAU-FLD-NBRIDI-FLD-NBR
ItemgroupITEMGROUPRequiredWhen IAU-ITEM-GROUP != SpacesIAU-ITEM-GROUPITG-ITEM-GROUP
ItemlocITEMLOCNot RequiredValid When IAU-COMPANY != Zeroes And IAU-GL-CATEGORY = SpacesIAU-COMPANYITL-COMPANY, IAU-ITEMITL-LOCATION, IAU-ITEMITL-ITEM
ItemmastITEMMASTNot RequiredValid When IAU-ITEM-GROUP != SpacesIAU-ITEM-GROUPITE-ITEM-GROUP, IAU-ITEMITE-ITEM
Itemmast2ITEMMASTNot RequiredValid When IAU-COMPANY != Zeroes And IAU-GL-CATEGORY = SpacesICC-ITEM-GROUPITE-ITEM-GROUP, IAU-ITEMITE-ITEM
LocationICLOCATIONRequiredIAU-COMPANYICL-COMPANY, IAU-LOCATIONICL-LOCATION

Programs

Updated by (45)

Referenced by (3)