PROCTEMP – Procurement Template

System
Purchase Order (PO)
Prefix
POP
Primary key
PROCURE-GROUP, TEMPLATE-REF
Fields
11
Updated by
6 programs
Referenced by
7 programs

PROCTEMP is the Procurement Template table in Lawson Purchase Order (prefix POP). It is indexed by PROCURE-GROUP, TEMPLATE-REF (POPSET1). It is related 1:1 to POVAGRMTHD and 1:M to PROCTEMPLN and PROCTMPPAR. It is updated by PO115, PO15.1, PO15.2, PO15.3, PO15.4 and PO27.4 and referenced by PO165, PO20.1, PO215, PO65.3, PO65.4, RQ10.1 and RQIG.1. The table has 11 fields, 1 index and 4 documented relations.

About PROCTEMP

No description in the Lawson data dictionary.

Fields (11)

Column = COBOL field name without the POP- 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
#POP-PROCURE-GROUP PK
PROCURE_GROUP
Alpha 4Type or select a procurement group. A procurement group is a group of companies that share a common procurement effort. They buy items and services together.PO115, PO15.1, PO15.2, PO15.4, PO20.1, PO27.3, RQ10.1
#POP-TEMPLATE-REF PK
TEMPLATE_REF
Alpha 30—PO115, PO15.1, PO15.2, PO15.4, PO20.1, PO27.3, RQ10.1
#POP-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)This field displays the description.PO115, PO15.1, PO15.2, PO15.4, PO20.1, PO27.3, RQ10.1
#POP-LAST-LINE-NBR
LAST_LINE_NBR
Numeric 6This field contains the line number.PO115, PO15.1, PO15.2, PO15.4, PO20.1, PO27.3, RQ10.1
#POP-FROM-COMPANY
FROM_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.PO115, PO15.1, PO15.2, PO15.4, PO20.1, PO27.3, RQ10.1
#POP-FROM-LOCATION
FROM_LOCATION
Alpha 5This field contains a valid stocking location within the company inventory.PO115, PO15.1, PO15.2, PO15.4, PO20.1, PO27.3, RQ10.1
#POP-LOCK-FLAG
LOCK_FLAG
Numeric 1—
  • 0 Not Locked
  • 1 Locked
PO115, PO15.1, PO15.2, PO15.3, PO15.4, PO20.1, PO27.3, RQ10.1
#POP-PARTICIPANT
PARTICIPANT
Derived——
#POP-VEN-AGRMT-REF
VEN_AGRMT_REF
Alpha 30—PO115, PO15.1, PO15.2, PO15.4, PO20.1, PO27.3, RQ10.1
#POP-TEMPLT-DOC-NBR
TEMPLT_DOC_NBR
Numeric 8—PO115, PO15.1, PO15.2, PO15.4, PO20.1, PO27.3, PO27.4, RQ10.1
#POP-TEMPLATE-CODE
TEMPLATE_CODE
Alpha 4——

Indexes (1)

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
POPSET1
  1. PROCURE-GROUP
  2. TEMPLATE-REF
PrimaryPO115, PO15.1, PO15.2, PO15.3, PO15.4, PO165, PO20.1, PO215 +6 more

Relations

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

One to one (1) — lookups and parents

RelationTableRulesConditionField map
PovagrmthdPOVAGRMTHDNot RequiredValid When POP-VEN-AGRMT-REF != Spaces
POP-PROCURE-GROUP→PVH-PROCURE-GROUP
POP-VEN-AGRMT-REF→PVH-VEN-AGRMT-REF

One to many (3) — child tables

RelationTableRulesConditionField map
Proctempl2PROCTEMPLNDelete Cascades
POP-PROCURE-GROUP→POE-PROCURE-GROUP
POP-TEMPLATE-REF→POE-TEMPLATE-REF
—→POE-ITEM
—→POE-LINE-NBR
ProctemplnPROCTEMPLNDelete Cascades
POP-PROCURE-GROUP→POE-PROCURE-GROUP
POP-TEMPLATE-REF→POE-TEMPLATE-REF
—→POE-LINE-NBR
ProctmpparPROCTMPPARDelete Cascades
POP-PROCURE-GROUP→POA-PROCURE-GROUP
POP-TEMPLATE-REF→POA-TEMPLATE-REF
—→POA-COMPANY
—→POA-REQ-LOCATION
—→POA-REQUESTER
—→POA-BUYER-GRP
—→POA-BUYER

Programs

Updated by (6)

Referenced by (7)