PTHBOD – No description in the Lawson data dictionary

System
Purchase Order (PO)
Prefix
PBF
Primary key
COMPANY, RETURN-NUMBER
Fields
8
Updated by
2 programs
Referenced by
220 programs

PTHBOD is a Lawson Purchase Order table (prefix PBF); no description in the lawson data dictionary. It is indexed by COMPANY, RETURN-NUMBER (PBFSET1); alternate indexes: PBFSET2. It is related 1:1 to PORETURNHD. It is updated by PO300 and POBD.1 and referenced by AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 and 212 more. The table has 8 fields, 2 indexes and 1 documented relation.

About PTHBOD

No description in the Lawson data dictionary.

Fields (8)

Column = COBOL field name without the PBF- 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
#PBF-COMPANY PK
COMPANY
Numeric 4—POBD.1
#PBF-RETURN-NUMBER PK
RETURN_NUMBER
Numeric 10—POBD.1
#PBF-BOD-ACCT-ENT SET2
BOD_ACCT_ENT
Alpha 22 (Lower Case)—POBD.1
#PBF-BOD-LOCATION SET2
BOD_LOCATION
Alpha 22 (Lower Case)—POBD.1
#PBF-BOD-DOC-ID SET2
BOD_DOC_ID
Alpha 100 (Lower Case)—POBD.1
#PBF-BOD-SOR
BOD_SOR
Alpha 1—
  • 0 Lawson
  • 1 External Source
POBD.1
#PBF-BOD-REVISION SET2
BOD_REVISION
Alpha 22 (Lower Case)—POBD.1
#PBF-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
PBFSET1
  1. COMPANY
  2. RETURN-NUMBER
PrimaryAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source)
PBFSET2
  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)
PORETURNHDPTHBOD

One to one (1) — lookups and parents

RelationTableRulesConditionField map
PoreturnhdPORETURNHDRequired
PBF-COMPANY→PTH-COMPANY
PBF-RETURN-NUMBER→PTH-RETURN-NUMBER

Programs

Updated by (2)

Referenced by (220)