PDCCHRGDTL – No description in the Lawson data dictionary
- System
- Purchase Order (PO)
- Prefix
PX2- Primary key
PCARD-PROGRAM,STATEMENT,COMPANY,TXN-NBR- Fields
- 39
- Updated by
- 3 programs
- Referenced by
- 0 programs
PDCCHRGDTL is a Lawson Purchase Order table (prefix PX2); no description in the lawson data dictionary. It is indexed by PCARD-PROGRAM, STATEMENT, COMPANY, TXN-NBR (PX2SET1); alternate indexes: PX2SET2. It is related 1:1 to PDCCHRGHDR and 1:M to PDCCHRGDST and PDCCHRGERR. It is updated by PD57.1, PD57.2 and PD570. The table has 39 fields, 2 indexes and 3 documented relations.
About PDCCHRGDTL
No description in the Lawson data dictionary.
Fields (39)
Column = COBOL field name without the PX2- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
PX2-PCARD-PROGRAM PKPCARD_PROGRAM | Alpha 10 | — | PD57.1, PD570 |
PX2-STATEMENT PKSTATEMENT | Alpha 22 | — | PD57.1, PD570 |
PX2-COMPANY PKCOMPANY | Numeric 4 | — | PD57.1, PD570 |
PX2-STMT-FR-DATESTMT_FR_DATE | Numeric 8 (yyyymmdd) | — | — |
PX2-STMT-TO-DATESTMT_TO_DATE | Numeric 8 (yyyymmdd) | — | — |
PX2-TXN-NBR PKTXN_NBR | Alpha 22 | — | PD57.1, PD570 |
PX2-PCARD-NBRPCARD_NBR | Alpha 16 | — | PD57.1, PD570 |
PX2-VENDORVENDOR | Alpha 9 (Right Justified) | — | — |
PX2-MCC-CODEMCC_CODE | Alpha 4 | — | PD57.1, PD570 |
PX2-MERCHANTMERCHANT | Alpha 32 | — | PD57.1, PD570 |
PX2-TRAN-DATETRAN_DATE | Numeric 8 (yyyymmdd) | — | PD57.1, PD570 |
PX2-POST-DATEPOST_DATE | Numeric 8 (yyyymmdd) | — | PD57.1, PD570 |
PX2-CARD-USER-IDCARD_USER_ID | Alpha 10 (Lower Case) | — | — |
PX2-CARD-USER-NAMECARD_USER_NAME | Alpha 30 | — | PD570 |
PX2-PO-NUMBERPO_NUMBER | Alpha 14 (Right Justified) | — | PD57.1, PD570 |
PX2-PO-RELEASEPO_RELEASE | Numeric 4 | — | PD57.1, PD570 |
PX2-PO-CODEPO_CODE | Alpha 4 | — | PD57.1, PD570 |
PX2-PO-LINE-NBRPO_LINE_NBR | Numeric 6 | — | PD57.1, PD570 |
PX2-ITEMITEM | Alpha 32 | — | PD57.1, PD570 |
PX2-VEN-ITEMVEN_ITEM | Alpha 32 | — | PD57.1, PD570 |
PX2-ITEM-DESCITEM_DESC | Alpha 30 (Lower Case) | — | PD570 |
PX2-VEN-ITEM-DESCVEN_ITEM_DESC | Alpha 30 (Lower Case) | — | — |
PX2-QUANTITYQUANTITY | Signed 13.4 | — | PD57.1, PD570 |
PX2-VBUY-UOMVBUY_UOM | Alpha 4 | — | PD57.1, PD570 |
PX2-VPRI-UOMVPRI_UOM | Alpha 4 | — | PD570 |
PX2-ITEM-CHARGEITEM_CHARGE | Signed 18.2 | — | PD57.1, PD570 |
PX2-TAX-AMTTAX_AMT | Signed 18.2 | — | PD57.1, PD57.2, PD570 |
PX2-TOT-AOC-COSTTOT_AOC_COST | Signed 18.2 | — | PD57.1, PD570 |
PX2-LAST-DIST-SEQLAST_DIST_SEQ | Numeric 4 | — | PD57.2 |
PX2-TAX-INDICATORTAX_INDICATOR | Numeric 1 | —
| PD570 |
PX2-TAX-CODETAX_CODE | Alpha 10 | — | — |
PX2-STATUSSTATUS | Numeric 1 | —
| PD570 |
PX2-REASON-CODEREASON_CODE | Alpha 4 | — | — |
PX2-COM-CODECOM_CODE | Alpha 35 | — | — |
PX2-USER-FIELD1USER_FIELD1 | Alpha 20 | — | — |
PX2-USER-FIELD2USER_FIELD2 | Alpha 20 | — | — |
PX2-USER-FIELD3USER_FIELD3 | Alpha 20 | — | — |
PX2-USER-FIELD4USER_FIELD4 | Alpha 20 | — | — |
PX2-USER-FIELD5USER_FIELD5 | Alpha 20 | — | — |
Indexes (2)
Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
PX2SET1 | PCARD-PROGRAM, STATEMENT, COMPANY, TXN-NBR | Primary | PD57.1, PD57.2, PD57.3, PD570 | |
PX2SET2 | PCARD-PROGRAM, STATEMENT, TRAN-DATE, COMPANY, TXN-NBR | KeyChange | — |
Relations
One to one (1) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Pdcchrghdr | PDCCHRGHDR | Required | PX2-PCARD-PROGRAM → PX1-PCARD-PROGRAM (PX1SET1), PX2-STATEMENT → PX1-STATEMENT |
One to many (2) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Pdcchrgdst | PDCCHRGDST | PX2-PCARD-PROGRAM → PX3-PCARD-PROGRAM, PX2-STATEMENT → PX3-STATEMENT, PX2-COMPANY → PX3-COMPANY, PX2-TXN-NBR → PX3-TXN-NBR, → PX3-SEQ-NBR | ||
| Pdcchrgerr | PDCCHRGERR | PX2-PCARD-PROGRAM → PXE-PCARD-PROGRAM, PX2-STATEMENT → PXE-STATEMENT, PX2-COMPANY → PXE-COMPANY, PX2-TXN-NBR → PXE-TXN-NBR, → PXE-SEQ-NBR, → PXE-ERROR-SEQ |