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.

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
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 marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
IRGSET1COMPANY, REPORT-GRP, LOCATIONPrimaryDR100, IC03.1, IC120, IC134, IC135, IC138, IC140, IC141 +22 more (list truncated in source)
IRGSET2COMPANY, REPORT-GRP, TOTAL-GRP, LOCATIONKeyChangeDR100, IC125, IC134, IC135, IC182, IC203, IC229, IC233 +14 more

Relations

One to one (2) — lookups and parents

RelationTableRulesConditionField map
CompanyICCOMPANYRequiredIRG-COMPANYICC-COMPANY
LocationICLOCATIONRequiredIRG-COMPANYICL-COMPANY, IRG-LOCATIONICL-LOCATION

Programs

Updated by (1)

Referenced by (73)