BINGROUP – Bin Group

System
Inventory Control (IC)
Prefix
BGR
Primary key
COMPANY, LOCATION, BIN-GROUP
Fields
5
Updated by
5 programs
Referenced by
11 programs

BINGROUP is the Bin Group table in Lawson Inventory Control (prefix BGR). It is indexed by COMPANY, LOCATION, BIN-GROUP (BGRSET1); alternate indexes: BGRSET2. It is related 1:1 to ICCOMPANY and ICLOCATION and 1:M to BINGRPDTL. It is updated by IC15.3, IC331, IC81.1, IC82.1 and IC840 and referenced by IC02.1, IC138, IC170, IC175, IC198, IC215, IC241, IC270 and 3 more. The table has 5 fields, 2 indexes and 3 documented relations.

About BINGROUP

The Bin Group file is for defining valid groups of bins. These groups are used in the physical inventory module for selection of bins to be counted. This file contains bin group descriptions and the last sequence number used in assigning bins in the group.

Fields (5)

Column = COBOL field name without the BGR- 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
#BGR-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.3, IC331, IC81.1, IC82.1, IC840
#BGR-LOCATION PK
LOCATION
Alpha 5This field contains a valid stock location within the inventory.IC15.3, IC331, IC81.1, IC82.1, IC840
#BGR-BIN-GROUP PK
BIN_GROUP
Alpha 7This field contains a collection of bins under one name used for cycle counting.IC15.3, IC331, IC81.1, IC82.1, IC840
#BGR-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)This field contains the description of the bin group.IC15.3, IC81.1, IC82.1, IC840
#BGR-BIN-SEQ
BIN_SEQ
Numeric 6—IC15.3, IC331, IC81.1, IC82.1, IC840

Indexes (2)

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
BGRSET1
  1. COMPANY
  2. LOCATION
  3. BIN-GROUP
PrimaryIC02.1, IC15.3, IC175, IC198, IC215, IC270, IC331, IC598 +4 more
BGRSET2
  1. COMPANY
  2. BIN-GROUP
  3. LOCATION
IC138, IC170, IC241, IC70.1

Relations

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

One to one (2) — lookups and parents

RelationTableRulesConditionField map
CompanyICCOMPANYRequired
BGR-COMPANY→ICC-COMPANY
LocationICLOCATIONRequired
BGR-COMPANY→ICL-COMPANY
BGR-LOCATION→ICL-LOCATION

One to many (1) — child tables

RelationTableRulesConditionField map
BingrpdtlBINGRPDTLDelete Cascades
BGR-COMPANY→BGD-COMPANY
BGR-LOCATION→BGD-LOCATION
BGR-BIN-GROUP→BGD-BIN-GROUP
—→BGD-BIN-SEQ

Programs

Updated by (5)

Referenced by (11)