OEAUDIT – Order Entry Audit
- System
- OE (OE)
- Prefix
OEA- Primary key
COMPANY,ORDER-NBR,LINE-NBR,FLD-NBR,UPDATE-DATE,UPDATE-TIME- Fields
- 11
- Updated by
- 1 program
- Referenced by
- 0 programs
OEAUDIT is the Order Entry Audit table in Lawson OE (prefix OEA). It is indexed by COMPANY, ORDER-NBR, LINE-NBR, FLD-NBR, UPDATE-DATE, UPDATE-TIME (OEASET1). It is related 1:1 to COLINE, CUSTORDER, OECOMPANY, OEPROCLEV and OPERATOR. It is updated by WH20.7. The table has 11 fields, 1 index and 5 documented relations.
About OEAUDIT
No description in the Lawson data dictionary.
Fields (11)
Column = COBOL field name without the OEA- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
OEA-COMPANY PKCOMPANY | Numeric 4 | This field contains the company number. | WH20.7 |
OEA-ORDER-NBR PKORDER_NBR | Numeric 8 | This field contains the order number. | WH20.7 |
OEA-LINE-NBR PKLINE_NBR | Numeric 6 | This field contains the number of the line. | WH20.7 |
OEA-FLD-NBR PKFLD_NBR | Numeric 4 | This field contains the dictionary field number of the field that was changed.
| WH20.7 |
OEA-UPDATE-DATE PKUPDATE_DATE | Numeric 8 (yyyymmdd) | This field contains the date the record was updated. | WH20.7 |
OEA-UPDATE-TIME PKUPDATE_TIME | Numeric 6 | This field contains the system time when the record was updated. | WH20.7 |
OEA-BEFORE-IMAGEBEFORE_IMAGE | Alpha 32 | This field contains the field image before the change. | WH20.7 |
OEA-AFTER-IMAGEAFTER_IMAGE | Alpha 32 | This field contains the field image before the change. | WH20.7 |
OEA-OPR-CODEOPR_CODE | Alpha 10 (Lower Case) | This field contains the operator code. This is the user ID of the person who last maintained this record. | WH20.7 |
OEA-PROCESS-LEVELPROCESS_LEVEL | Alpha 5 | This field contains the process level. | WH20.7 |
OEA-CUSTOMERCUSTOMER | Alpha 9 (Right Justified) | This field contains the number that represents a customer. | WH20.7 |
Indexes (1)
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 |
|---|---|---|---|---|
OEASET1 | COMPANY, ORDER-NBR, LINE-NBR, FLD-NBR, UPDATE-DATE, UPDATE-TIME | Primary | — |
Relations
One to one (5) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Coline | COLINE | Required | When OEA-LINE-NBR != Zeroes | OEA-COMPANY → COL-COMPANY, OEA-ORDER-NBR → COL-ORDER-NBR, OEA-LINE-NBR → COL-LINE-NBR |
| Custorder | CUSTORDER | Required | OEA-COMPANY → COR-COMPANY, OEA-ORDER-NBR → COR-ORDER-NBR | |
| Oecompany | OECOMPANY | Required | OEA-COMPANY → OEC-COMPANY | |
| Oeproclev | OEPROCLEV | Required | OEA-COMPANY → OEP-COMPANY, OEA-PROCESS-LEVEL → OEP-PROCESS-LEVEL | |
| Operator | OPERATOR | Required | OEA-COMPANY → OPE-DEF-COMPANY, OEA-OPR-CODE → OPE-OPR-CODE |
Programs
Updated by (1)
- WH20.7 Substitute Location