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. PK = primary key (present in every index); SETn = leading/alternate key of that index.

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 SET3
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 SET4
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 13—AP510, 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 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
ICBSET1
  1. COMPANY
  2. LOCATION
  3. BIN
PrimaryAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source)
ICBSET3
  1. COMPANY
  2. BIN-TYPE
  3. BIN
  4. LOCATION
KeyChangeIC01.3
ICBSET4
  1. COMPANY
  2. LOCATION
  3. STORAGE-CODE
  4. BIN
KeyChangeIC10.1, IC10.2, IC330, IC51.1

Relations

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

One to one (5) — lookups and parents

RelationTableRulesConditionField map
BinstorageBINSTORAGERequiredWhen ICB-STORAGE-CODE != Spaces
ICB-COMPANY→BST-COMPANY
ICB-LOCATION→BST-LOCATION
ICB-STORAGE-CODE→BST-STORAGE-CODE
CompanyICCOMPANYRequired
ICB-COMPANY→ICC-COMPANY
GlnlocGLNLOCNot RequiredValid When ICB-GLN-NBR != Spaces
ICC-ITEM-GROUP→GLO-ITEM-GROUP
ICB-GLN-NBR→GLO-GLN-NBR
GlnlocdtlGLNLOCDTLNot RequiredValid When ICB-GLN-NBR != Spaces
GLO-ITEM-GROUP→GLX-ITEM-GROUP
11→GLX-GLN-TYPE
ICB-COMPANY→GLX-COMPANY
ICB-LOCATION→GLX-LOCATION
ICB-BIN→GLX-BIN
ICB-GLN-NBR→GLX-GLN-NBR
LocationICLOCATIONRequired
ICB-COMPANY→ICL-COMPANY
ICB-LOCATION→ICL-LOCATION

One to many (1) — child tables

RelationTableRulesConditionField map
StockonhandSOHDETAILDelete Restricted
ICB-COMPANY→SDT-COMPANY
ICB-LOCATION→SDT-LOCATION
ICB-BIN→SDT-BIN
—→SDT-ITEM
—→SDT-UOM
—→SDT-LOT
—→SDT-SUBLOT

Programs

Updated by (15)

Referenced by (344)