APINVBOD – No description in the Lawson data dictionary

System
Accounts Payable (AP)
Prefix
YAZ
Primary key
COMPANY, VENDOR, INVOICE, SUFFIX, CANCEL-SEQ
Fields
11
Updated by
1 program
Referenced by
1 program

APINVBOD is a Lawson Accounts Payable table (prefix YAZ); no description in the lawson data dictionary. It is indexed by COMPANY, VENDOR, INVOICE, SUFFIX, CANCEL-SEQ (YAZSET1); alternate indexes: YAZSET2. It is related 1:1 to APINVOICE. It is updated by APBD.1 and referenced by AP750. The table has 11 fields, 2 indexes and 1 documented relation.

About APINVBOD

No description in the Lawson data dictionary.

Fields (11)

Column = COBOL field name without the YAZ- 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
#YAZ-COMPANY PK
COMPANY
Numeric 4—APBD.1
#YAZ-VENDOR PK
VENDOR
Alpha 9 (Right Justified)—APBD.1
#YAZ-INVOICE PK
INVOICE
Alpha 22—APBD.1
#YAZ-SUFFIX PK
SUFFIX
Numeric 3—APBD.1
#YAZ-CANCEL-SEQ PK
CANCEL_SEQ
Numeric 4—APBD.1
#YAZ-BOD-ACCT-ENT SET2
BOD_ACCT_ENT
Alpha 22 (Lower Case)—APBD.1
#YAZ-BOD-LOCATION SET2
BOD_LOCATION
Alpha 22 (Lower Case)—APBD.1
#YAZ-BOD-DOC-ID SET2
BOD_DOC_ID
Alpha 100 (Lower Case)—APBD.1
#YAZ-BOD-SOR
BOD_SOR
Alpha 1—APBD.1
#YAZ-BOD-REVISION SET2
BOD_REVISION
Alpha 22 (Lower Case)—APBD.1
#YAZ-BOD-VAR-ID
BOD_VAR_ID
Alpha 22 (Lower Case)—APBD.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
YAZSET1
  1. COMPANY
  2. VENDOR
  3. INVOICE
  4. SUFFIX
  5. CANCEL-SEQ
PrimaryAP750, APBD.1
YAZSET2
  1. BOD-DOC-ID
  2. BOD-ACCT-ENT
  3. BOD-LOCATION
  4. BOD-REVISION
APBD.1, APBD.2

Relations

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

One to one (1) — lookups and parents

RelationTableRulesConditionField map
ApinvoiceAPINVOICERequired
YAZ-COMPANY→API-COMPANY
YAZ-VENDOR→API-VENDOR
YAZ-INVOICE→API-INVOICE
YAZ-SUFFIX→API-SUFFIX
YAZ-CANCEL-SEQ→API-CANCEL-SEQ

Programs

Updated by (1)

Referenced by (1)