OEORDCMNT – Customer Order Comments
- System
- OE (OE)
- Prefix
OOC- Primary key
COMPANY,CUSTOMER,STD-ORDER-NBR,ORDER-NBR,LINE-NBR,SEQ- Fields
- 10
- Updated by
- 2 programs
- Referenced by
- 5 programs
OEORDCMNT is the Customer Order Comments table in Lawson OE (prefix OOC). It is indexed by COMPANY, CUSTOMER, STD-ORDER-NBR, ORDER-NBR, LINE-NBR, SEQ (OOCSET1). It is related 1:1 to COLINE and CUSTORDER. It is updated by BLI2.1 and WH20.7 and referenced by PO23.1, POCP.1, WH126, WH130 and WH224. The table has 10 fields, 1 index and 2 documented relations.
About OEORDCMNT
The Customer Order Comments file contains comments that have been placed on an order that was created from a standard order template. This file contains both standard comments that are assigned to the order header or order line. Each line of comments creates a separate record in this file.
Fields (10)
Column = COBOL field name without the OOC- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
OOC-COMPANY PKCOMPANY | Numeric 4 | This field contains the company number. | BLI2.1 |
OOC-CUSTOMER PKCUSTOMER | Alpha 9 (Right Justified) | This field contains the number that represents the customer who placed the order. | BLI2.1 |
OOC-STD-ORDER-NBR PKSTD_ORDER_NBR | Alpha 22 | This field contains the number of the standard order used to create the order to which this comment line is attached. Standard Orders are setup on OE54.1 (Standard Order). | BLI2.1 |
OOC-ORDER-NBR PKORDER_NBR | Numeric 8 | This field contains the order number to which the comment line is attached. | BLI2.1 |
OOC-LINE-NBR PKLINE_NBR | Numeric 6 | This field contains the number of the line on the order to which the comment can be attached. If this field is blank, the comment is attached at the order level. | BLI2.1 |
OOC-SEQ PKSEQ | Numeric 3 | This field contains the comment sequence number. | BLI2.1 |
OOC-PRINT-CODEPRINT_CODE | Alpha 1 | This field contains the print code, which defines where comments are displayed or printed.
| BLI2.1 |
OOC-PICK-FLPICK_FL | Alpha 1 | This field determines whether to print the comment on the pick list.
| BLI2.1 |
OOC-INVC-FLINVC_FL | Alpha 1 | This field indicates if the comment prints on the invoice.
| BLI2.1 |
OOC-COMM-TYPECOMM_TYPE | Derived | This field defines the type of comment added to the file. | — |
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 |
|---|---|---|---|---|
OOCSET1 | COMPANY, CUSTOMER, STD-ORDER-NBR, ORDER-NBR, LINE-NBR, SEQ | Primary | BLI2.1, PO23.1, POCP.1, WH126, WH130, WH20.7, WH224 |