PCRBOD – No description in the Lawson data dictionary

System
Purchase Order (PO)
Prefix
PBB
Primary key
COMPANY, PO-CODE, PO-NUMBER, PO-RELEASE
Fields
10
Updated by
2 programs
Referenced by
1 program

PCRBOD is a Lawson Purchase Order table (prefix PBB); no description in the lawson data dictionary. It is indexed by COMPANY, PO-CODE, PO-NUMBER, PO-RELEASE (PBBSET1); alternate indexes: PBBSET2. It is related 1:1 to PURCHORDER. It is updated by PO300 and POBD.1 and referenced by PO00.1. The table has 10 fields, 2 indexes and 1 documented relation.

About PCRBOD

No description in the Lawson data dictionary.

Fields (10)

Column = COBOL field name without the PBB- 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
#PBB-COMPANY PK
COMPANY
Numeric 4—POBD.1
#PBB-PO-CODE PK
PO_CODE
Alpha 4—POBD.1
#PBB-PO-NUMBER PK
PO_NUMBER
Alpha 14 (Right Justified)—POBD.1
#PBB-PO-RELEASE PK
PO_RELEASE
Numeric 4—POBD.1
#PBB-BOD-ACCT-ENT SET2
BOD_ACCT_ENT
Alpha 22 (Lower Case)—POBD.1
#PBB-BOD-LOCATION SET2
BOD_LOCATION
Alpha 22 (Lower Case)—POBD.1
#PBB-BOD-DOC-ID SET2
BOD_DOC_ID
Alpha 100 (Lower Case)—POBD.1
#PBB-BOD-SOR
BOD_SOR
Alpha 1—
  • 0 Lawson
  • 1 External Source
POBD.1
#PBB-BOD-REVISION SET2
BOD_REVISION
Alpha 22 (Lower Case)—POBD.1
#PBB-BOD-VAR-ID
BOD_VAR_ID
Alpha 22 (Lower Case)—POBD.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
PBBSET1
  1. COMPANY
  2. PO-CODE
  3. PO-NUMBER
  4. PO-RELEASE
PrimaryPO00.1, PO300, POBD.1, POBD.2
PBBSET2
  1. BOD-DOC-ID
  2. BOD-ACCT-ENT
  3. BOD-LOCATION
  4. BOD-REVISION
POBD.1, POBD.2

Relations

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

One to one (1) — lookups and parents

RelationTableRulesConditionField map
PurchorderPURCHORDERRequired
PBB-COMPANY→PCR-COMPANY
PBB-PO-CODE→PCR-PO-CODE
PBB-PO-NUMBER→PCR-PO-NUMBER
PBB-PO-RELEASE→PCR-PO-RELEASE

Programs

Updated by (2)

Referenced by (1)