RQPURCHCLS – Requesters Purchasing Classes

System
Requisitions (RQ)
Prefix
RQP
Primary key
COMPANY, REQUESTER, PURCH-MAJOR, PURCH-MINOR
Fields
4
Updated by
1 program
Referenced by
24 programs

RQPURCHCLS is the Requesters Purchasing Classes table in Lawson Requisitions (prefix RQP). It is indexed by COMPANY, REQUESTER, PURCH-MAJOR, PURCH-MINOR (RQPSET1); alternate indexes: RQPSET2. It is related 1:1 to ICCOMPANY, MAJORCL and MINORCL and 1:M to RQREQAUDIT. It is updated by RQ04.1 and referenced by DR100, IC07.1, IC141, IC142, IC83.1, ICIA.1, RQ10.1, RQ10.3 and 16 more. The table has 4 fields, 2 indexes and 4 documented relations.

About RQPURCHCLS

This file contains the list of valid purchasing major classes that a requester can enter items for on a requisition.

Fields (4)

Column = COBOL field name without the RQP- 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
#RQP-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.RQ04.1
#RQP-REQUESTER PK
REQUESTER
Alpha 10 (Lower Case)This is the person who is limited to entering items with only these purchasing classes on a requisition.RQ04.1
#RQP-PURCH-MAJOR PK
PURCH_MAJOR
Alpha 4—RQ04.1
#RQP-PURCH-MINOR PK
PURCH_MINOR
Alpha 4—RQ04.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
RQPSET1
  1. COMPANY
  2. REQUESTER
  3. PURCH-MAJOR
  4. PURCH-MINOR
PrimaryDR100, IC141, IC142, IC83.1, ICIA.1, RQ04.1, RQ10.1, RQ10.3 +16 more
RQPSET2
  1. COMPANY
  2. PURCH-MAJOR
  3. PURCH-MINOR
  4. REQUESTER
IC07.1

Relations

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

One to one (3) — lookups and parents

RelationTableRulesConditionField map
IccompanyICCOMPANYRequired
RQP-COMPANY→ICC-COMPANY
Purch MajorMAJORCLRequired
ICC-ITEM-GROUP→MAJ-ITEM-GROUP
"P"→MAJ-CLASS-TYPE
RQP-PURCH-MAJOR→MAJ-MAJOR-CLASS
Purch MinorMINORCLRequired
ICC-ITEM-GROUP→MIN-ITEM-GROUP
"P"→MIN-CLASS-TYPE
RQP-PURCH-MAJOR→MIN-MAJOR-CLASS
RQP-PURCH-MINOR→MIN-MINOR-CLASS

One to many (1) — child tables

RelationTableRulesConditionField map
RqreqauditRQREQAUDIT
RQP-COMPANY→RQA-COMPANY
RQP-REQUESTER→RQA-REQUESTER
RQP-PURCH-MAJOR→RQA-PURCH-MAJOR
RQP-PURCH-MINOR→RQA-PURCH-MINOR
Spaces→RQA-ACCT-UNIT
Zeroes→RQA-DIST-COMPANY
—→RQA-DATE
—→RQA-TIME
—→RQA-FLD-NBR

Programs

Updated by (1)

Referenced by (24)