ICRPTGRP – Report Group

System
Inventory Control (IC)
Prefix
IRG
Primary key
COMPANY, REPORT-GRP, LOCATION
Fields
4
Updated by
1 program
Referenced by
73 programs

ICRPTGRP is the Report Group table in Lawson Inventory Control (prefix IRG). It is indexed by COMPANY, REPORT-GRP, LOCATION (IRGSET1); alternate indexes: IRGSET2. It is related 1:1 to ICCOMPANY and ICLOCATION. It is updated by IC03.1 and referenced by DR100, IC120, IC125, IC134, IC135, IC138, IC140, IC141 and 65 more. The table has 4 fields, 2 indexes and 2 documented relations.

About ICRPTGRP

The Report Group file stores the valid report groups used to define groups of locations for reporting purposes.

Fields (4)

Column = COBOL field name without the IRG- 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
#IRG-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.IC03.1
#IRG-REPORT-GRP PK
REPORT_GRP
Alpha 5This field contains the set of locations within a company defined for reporting purposes.IC03.1
#IRG-LOCATION PK
LOCATION
Alpha 5This field contains a valid stocking location within the company inventory.IC03.1
#IRG-TOTAL-GRP SET2
TOTAL_GRP
Numeric 3This field contains a value assigned to a location within a report group. This value is used to group locations for printing total breaks on reports when this value changes.IC03.1

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
IRGSET1
  1. COMPANY
  2. REPORT-GRP
  3. LOCATION
PrimaryDR100, IC03.1, IC120, IC134, IC135, IC138, IC140, IC141 +22 more (list truncated in source)
IRGSET2
  1. COMPANY
  2. REPORT-GRP
  3. TOTAL-GRP
  4. LOCATION
KeyChangeDR100, IC125, IC134, IC135, IC182, IC203, IC229, IC233 +14 more

Relations

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

One to one (2) — lookups and parents

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

Programs

Updated by (1)

Referenced by (73)