RQAPPROVE – Requisition Approvals

System
Requisitions (RQ)
Prefix
RAP
Primary key
COMPANY, AUTH-ID, APPROVE-CD, REQ-NUMBER
Fields
5
Updated by
9 programs
Referenced by
3 programs

RQAPPROVE is the Requisition Approvals table in Lawson Requisitions (prefix RAP). It is indexed by COMPANY, AUTH-ID, APPROVE-CD, REQ-NUMBER (RAPSET1); alternate indexes: RAPSET2. It is related 1:1 to RQAPPCODE, ICCOMPANY, REQUESTER and REQHEADER and 1:M to REQLINE. It is updated by IC83.1, RQ04.1, RQ10.1, RQ12.1, RQ13.1, RQ13.2, RQ35.1, RQ500 and 1 more and referenced by RQ02.1, RQ111 and RQ44.2. The table has 5 fields, 2 indexes and 5 documented relations.

About RQAPPROVE

This is the file of open approval records needing to be approved. These records are created when a new or changed requisition is released. Records are created for each approval amount level that is less than the requisition total value. These records are deleted when the approver approves the requisition at a level.

Fields (5)

Column = COBOL field name without the RAP- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.

Field / columnTypeDescription & valuesUpdated by
RAP-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.IC83.1, RQ10.1, RQ35.1, RQ500, RQIF.1
RAP-AUTH-ID PK
AUTH_ID
Alpha 10This is the authorization identifier for the approver to access the requisitions that need approving at this level.IC83.1, RQ10.1, RQ35.1, RQ500, RQIF.1
RAP-APPROVE-CD PK
APPROVE_CD
Alpha 5This is a code to identify the approval process (levels) that a requisition has to pass before it can be picked or purchased.IC83.1, RQ10.1, RQ35.1, RQ500, RQIF.1
RAP-REQ-NUMBER PK
REQ_NUMBER
Numeric 7This is the assigned number to identify this requisition.IC83.1, RQ10.1, RQ35.1, RQ500, RQIF.1
RAP-APRV-LEVEL
APRV_LEVEL
Numeric 1This is the approval level number within the approval code at which this requisition has to be approved.IC83.1, RQ10.1, RQ35.1, RQ500, RQIF.1

Indexes (2)

Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
RAPSET1COMPANY, AUTH-ID, APPROVE-CD, REQ-NUMBERPrimaryIC83.1, RQ02.1, RQ04.1, RQ10.1, RQ12.1, RQ35.1, RQ500, RQIF.1
RAPSET2COMPANY, REQ-NUMBER, APRV-LEVELIC83.1, RQ10.1, RQ111, RQ12.1, RQ13.1, RQ13.2, RQ44.2, RQIF.1

Relations

One to one (4) — lookups and parents

RelationTableRulesConditionField map
Approve CodeRQAPPCODERequiredRAP-COMPANYRAC-COMPANY, RAP-APPROVE-CDRAC-APPROVE-CD
Ic CompanyICCOMPANYRequiredRAP-COMPANYICC-COMPANY
RequesterREQUESTERNot RequiredRAP-COMPANYREQ-COMPANY, RQH-REQUESTERREQ-REQUESTER
RequisitionREQHEADERRequiredRAP-COMPANYRQH-COMPANY, RAP-REQ-NUMBERRQH-REQ-NUMBER

One to many (1) — child tables

RelationTableRulesConditionField map
Req LinesREQLINERAP-COMPANYRLN-COMPANY, RAP-REQ-NUMBERRLN-REQ-NUMBER, RLN-LINE-NBR

Programs

Updated by (9)

Referenced by (3)