ICBIN – Bin Numbers

System
Inventory Control (IC)
Prefix
ICB
Primary key
COMPANY, LOCATION, BIN
Fields
12
Updated by
15 programs
Referenced by
344 programs

ICBIN is the Bin Numbers table in Lawson Inventory Control (prefix ICB). It is indexed by COMPANY, LOCATION, BIN (ICBSET1); alternate indexes: ICBSET3 and ICBSET4. It is related 1:1 to BINSTORAGE, ICCOMPANY, GLNLOC, GLNLOCDTL and ICLOCATION and 1:M to SOHDETAIL. It is updated by AP510, IC15.2, IC331, IC64.1, IC64.2, IC64.3, IC64.4, IC64.5 and 7 more and referenced by AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 and 336 more. The table has 12 fields, 3 indexes and 6 documented relations.

About ICBIN

The Bin Numbers file is a master list of valid bin numbers in a location used for tracking items by bin.

Fields (12)

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

Field / columnTypeDescription & valuesUpdated by
ICB-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.IC15.2, IC331, IC81.1, IC82.1, IC840
ICB-LOCATION PK
LOCATION
Alpha 5This field contains a valid stocking location within the company inventory.IC15.2, IC331, IC81.1, IC82.1, IC840
ICB-BIN PK
BIN
Alpha 7This field contains a storage area for an item or any number of items.IC15.2, IC331, IC81.1, IC82.1, IC840
ICB-BIN-TYPE
BIN_TYPE
Alpha 1This field indicates how the bin is used (for example, for inspection).IC15.2, IC331, IC81.1, IC82.1, IC840
ICB-STORAGE-CODE
STORAGE_CODE
Alpha 5This field contains a code assigned to describe the physical characteristics of a bin.IC15.2, IC24.1, IC331, IC81.1, IC82.1, IC840
ICB-GLN-NBR
GLN_NBR
Alpha 13AP510, IC15.2, IC64.1, IC64.2, IC64.3, IC64.4, IC64.5, IC64.6 +3 more
ICB-GEO-TYPE
GEO_TYPE
Alpha 4
ICB-GEO-LATITUDE
GEO_LATITUDE
Signed 12.6
ICB-GEO-LONGITUDE
GEO_LONGITUDE
Signed 12.6
ICB-GEO-ALTITUDE
GEO_ALTITUDE
Signed 12.6
ICB-GEO-DATE
GEO_DATE
Numeric 8 (yyyymmdd)
ICB-GEO-TIME
GEO_TIME
Numeric 8

Indexes (3)

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

IndexKeysFlagsConditionUsed in
ICBSET1COMPANY, LOCATION, BINPrimaryAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source)
ICBSET3COMPANY, BIN-TYPE, BIN, LOCATIONKeyChangeIC01.3
ICBSET4COMPANY, LOCATION, STORAGE-CODE, BINKeyChangeIC10.1, IC10.2, IC330, IC51.1

Relations

One to one (5) — lookups and parents

RelationTableRulesConditionField map
BinstorageBINSTORAGERequiredWhen ICB-STORAGE-CODE != SpacesICB-COMPANYBST-COMPANY, ICB-LOCATIONBST-LOCATION, ICB-STORAGE-CODEBST-STORAGE-CODE
CompanyICCOMPANYRequiredICB-COMPANYICC-COMPANY
GlnlocGLNLOCNot RequiredValid When ICB-GLN-NBR != SpacesICC-ITEM-GROUPGLO-ITEM-GROUP, ICB-GLN-NBRGLO-GLN-NBR
GlnlocdtlGLNLOCDTLNot RequiredValid When ICB-GLN-NBR != SpacesGLO-ITEM-GROUPGLX-ITEM-GROUP, 11GLX-GLN-TYPE, ICB-COMPANYGLX-COMPANY, ICB-LOCATIONGLX-LOCATION, ICB-BINGLX-BIN, ICB-GLN-NBRGLX-GLN-NBR
LocationICLOCATIONRequiredICB-COMPANYICL-COMPANY, ICB-LOCATIONICL-LOCATION

One to many (1) — child tables

RelationTableRulesConditionField map
StockonhandSOHDETAILDelete RestrictedICB-COMPANYSDT-COMPANY, ICB-LOCATIONSDT-LOCATION, ICB-BINSDT-BIN, SDT-ITEM, SDT-UOM, SDT-LOT, SDT-SUBLOT

Programs

Updated by (15)

Referenced by (344)