PJLBOD – No description in the Lawson data dictionary

System
Purchase Order (PO)
Prefix
PBS
Primary key
COMPANY, DOC-TYPE, DOC-NBR-NUM, LINE-NBR
Fields
10
Updated by
1 program
Referenced by
220 programs

PJLBOD is a Lawson Purchase Order table (prefix PBS); no description in the lawson data dictionary. It is indexed by COMPANY, DOC-TYPE, DOC-NBR-NUM, LINE-NBR (PBSSET1); alternate indexes: PBSSET2. It is related 1:1 to PORECADJLN. It is updated by POBD.1 and referenced by AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 and 212 more. The table has 10 fields, 2 indexes and 1 documented relation.

About PJLBOD

No description in the Lawson data dictionary.

Fields (10)

Column = COBOL field name without the PBS- 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
#PBS-COMPANY PK
COMPANY
Numeric 4—POBD.1
#PBS-DOC-TYPE PK
DOC_TYPE
Alpha 2—POBD.1
#PBS-DOC-NBR-NUM PK
DOC_NBR_NUM
Numeric 10—POBD.1
#PBS-LINE-NBR PK
LINE_NBR
Numeric 6—POBD.1
#PBS-BOD-ACCT-ENT SET2
BOD_ACCT_ENT
Alpha 22 (Lower Case)—POBD.1
#PBS-BOD-LOCATION SET2
BOD_LOCATION
Alpha 22 (Lower Case)—POBD.1
#PBS-BOD-DOC-ID SET2
BOD_DOC_ID
Alpha 100 (Lower Case)—POBD.1
#PBS-BOD-SOR
BOD_SOR
Alpha 1—POBD.1
#PBS-BOD-REVISION SET2
BOD_REVISION
Alpha 22 (Lower Case)—POBD.1
#PBS-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
PBSSET1
  1. COMPANY
  2. DOC-TYPE
  3. DOC-NBR-NUM
  4. LINE-NBR
PrimaryAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source)
PBSSET2
  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)
PORECADJLNPJLBOD

One to one (1) — lookups and parents

RelationTableRulesConditionField map
PorecadjlnPORECADJLNRequired
PBS-COMPANY→PJL-COMPANY
PBS-DOC-TYPE→PJL-DOC-TYPE
PBS-DOC-NBR-NUM→PJL-DOC-NBR-NUM
PBS-LINE-NBR→PJL-LINE-NBR

Programs

Updated by (1)

Referenced by (220)