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.

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 30PO115, 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 30PO115, PO15.1, PO15.2, PO15.4, PO20.1, PO27.3, RQ10.1
POP-TEMPLT-DOC-NBR
TEMPLT_DOC_NBR
Numeric 8PO115, PO15.1, PO15.2, PO15.4, PO20.1, PO27.3, PO27.4, RQ10.1
POP-TEMPLATE-CODE
TEMPLATE_CODE
Alpha 4

Indexes (1)

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

IndexKeysFlagsConditionUsed in
POPSET1PROCURE-GROUP, TEMPLATE-REFPrimaryPO115, PO15.1, PO15.2, PO15.3, PO15.4, PO165, PO20.1, PO215 +6 more

Relations

One to one (1) — lookups and parents

RelationTableRulesConditionField map
PovagrmthdPOVAGRMTHDNot RequiredValid When POP-VEN-AGRMT-REF != SpacesPOP-PROCURE-GROUPPVH-PROCURE-GROUP, POP-VEN-AGRMT-REFPVH-VEN-AGRMT-REF

One to many (3) — child tables

RelationTableRulesConditionField map
Proctempl2PROCTEMPLNDelete CascadesPOP-PROCURE-GROUPPOE-PROCURE-GROUP, POP-TEMPLATE-REFPOE-TEMPLATE-REF, POE-ITEM, POE-LINE-NBR
ProctemplnPROCTEMPLNDelete CascadesPOP-PROCURE-GROUPPOE-PROCURE-GROUP, POP-TEMPLATE-REFPOE-TEMPLATE-REF, POE-LINE-NBR
ProctmpparPROCTMPPARDelete CascadesPOP-PROCURE-GROUPPOA-PROCURE-GROUP, POP-TEMPLATE-REFPOA-TEMPLATE-REF, POA-COMPANY, POA-REQ-LOCATION, POA-REQUESTER, POA-BUYER-GRP, POA-BUYER

Programs

Updated by (6)

Referenced by (7)