COLINE – Customer Order Line

System
OE (OE)
Prefix
COL
Primary key
COMPANY, ORDER-NBR, LINE-NBR
Fields
168
Updated by
231 programs
Referenced by
13 programs

COLINE is the Customer Order Line table in Lawson OE (prefix COL). It is indexed by COMPANY, ORDER-NBR, LINE-NBR (COLSET1); alternate indexes: COLSET10, COLSET11, COLSET12, COLSET13, COLSET2, COLSET3, COLSET4, COLSET5 and 4 more. It is related 1:1 to APCOMPANY, APVENMAST, ARCOMP, ARCUSTOMER, GLMASTER, COLINEUOM, OEPRCLIST, COSGBLK and 27 more and 1:M to COMISC, ITEMSUB, COMPONENT, ITEMLOC, ITSERIAL, OEAUDIT, OEORDCMNT, POLINESRC and 6 more. It is updated by AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 and 223 more and referenced by CX05.1, CX05.2, CX805, RQIC.1, RQID.1, RQIG.1, WH126, WH210 and 5 more. The table has 168 fields, 13 indexes and 61 documented relations.

About COLINE

Customer order line information is stored in this file. There are three possible types of lines that can be stored here: inventory, nonstock, and special items. During processing, totals are kept here, for example, the total quantity ordered, allocated, printed, picked, packed and shipped. The quantity shipped on a specific shipment is kept in the Order Entry Shipment Line file.

Fields (168)

Column = COBOL field name without the COL- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.

Field / columnTypeDescription & valuesUpdated by
COL-COMPANY PK
COMPANY
Numeric 4Identifies the AP company if the resource type = V. Identifies the HR company if the resource type = E. It is blank for type A, P or Q resources.WH20.7
COL-ORDER-NBR PK
ORDER_NBR
Numeric 8Each order is assigned a unique number. Order numbers are either manually assigned or system assigned based on a company-level option.WH20.7
COL-LINE-NBR PK
LINE_NBR
Numeric 6This field displays the line number of the transaction number.WH20.7
COL-STATUS
STATUS
Numeric 1This field indicates the status of this line on the order.
  • 0 Needs clean-up
  • 1 Unreleased
  • 2 Released
  • 8 Canceled
  • 9 Ready for delete
WH20.7, WH22.1, WHD2.1
COL-FUTURE-FL
FUTURE_FL
Alpha 1This field indicates if this line has a future status.
  • Y Yes
  • N No
WH20.7
COL-SALES-MAJCL
SALES_MAJCL
Alpha 4This field contains the major sales class code.WH20.7
COL-SALES-MINCL
SALES_MINCL
Alpha 4This field contains the minor sales class code within the major class.WH20.7
COL-ITEM
ITEM
Alpha 32This field contains the item identifier.WH20.7
COL-ITEM-DESC
ITEM_DESC
Alpha 30This field contains the description for stock and non-stock items.WH20.7, WH222
COL-LINE-TYPE
LINE_TYPE
Alpha 1The line type can be entered. Valid values are: .
  • I Inventoried. Default value.
  • N Non-stock.
  • X Special order.
WH20.7
COL-ORIG-LINE
ORIG_LINE
Numeric 4This field contains the original line number if it was overridden.WH20.7
COL-ORIG-ITEM
ORIG_ITEM
Alpha 32This field contains the original item number if it was overridden.WH20.7
COL-ORIG-FL
ORIG_FL
Alpha 1This field indicates whether this line was created as a result of item replacement or substitution.
  • R Replacement line
  • S Substitute line
WH20.7
COL-CUSTOMER
CUSTOMER
Alpha 9 (Right Justified)This field contains the number that represents a customer.WH20.7
COL-CUST-ITEM-FL
CUST_ITEM_FL
Alpha 1This field indicates whether the number entered in the order line represents an item set up in the Order Entry Customer file.
  • C Customer item was entered
WH20.7
COL-CUST-ITEM
CUST_ITEM
Alpha 32This field contains the customer's item number.WH20.7
COL-KIT-FL
KIT_FL
Alpha 1This field indicates when the item ordered is a made-to-order kit.
  • N Not a kit
  • O Make to order kit
  • S Make to stock kit
WH20.7
COL-KIT-ALLOC-FL
KIT_ALLOC_FL
Alpha 1This field indicates whether the kit has been allocated.
  • 0 Kit allocated
  • 1 Kit needs options chosen
WH20.7
COL-HOLD-CODE
HOLD_CODE
Alpha 4If the line is on hold, this field contains the hold code. Hold codes are set up in Accounts Receivable.WH20.7
COL-INV-LOC
INV_LOC
Alpha 5This field contains a valid stocking location within the company inventory.WH20.7
COL-PROCESS-LEVEL
PROCESS_LEVEL
Alpha 5This field contains the process level, which is the reporting hierarchy below company. The process level determines which general ledger account the order's invoice debits when its rate updates to Accounts Receivable.WH20.7
COL-SPR-UOM
SPR_UOM
Alpha 4This field contains the pricing unit of measure. This must be a valid pricing unit of measure for the item if the line is not a special order line.WH20.7
COL-SELL-UOM
SELL_UOM
Alpha 4This field contains the stock unit of measure for the item. If entered, it must be a valid stock unit of measure for this line's item. If not entered, the default stock unit of measure for this line's item is assigned.WH126, WH20.7
COL-SEC-UOM
SEC_UOM
Alpha 4This field contains the secondary quantity unit of measure. This is used only when the item is a catch weight item.WH20.7
COL-NO-CHARGE-FL
NO_CHARGE_FL
Alpha 1This field indicates the item's price is zero. This defaults to No. If set to Yes, this field prevents the system from pricing the item. No charge invoices are not to be passed to Accounts Receivable for collection.
  • N No
  • Y Yes
WH20.7
COL-RATE-OVR-FL
RATE_OVR_FL
Alpha 1This flag indicates whether the currency conversion rate was overridden for this line of the order.
  • Y Yes
  • N No
WH20.7
COL-PRICE-STATUS
PRICE_STATUS
Alpha 1This field indicates how the line was priced.
  • A Amalgamated (group) pricing
  • C System calculated pricing
  • O Price override
WH20.7
COL-PRICE-DATE
PRICE_DATE
Numeric 8 (yyyymmdd)This field contains the date used to price the line. The system date defaults when the line is added.WH20.7
COL-ENTERED-PRICE
ENTERED_PRICE
Signed 18.5This field contains the unit price in the currency of the order.WH20.7
COL-UNIT-PRICE
UNIT_PRICE
Signed 18.5This field contains the unit price in base currency. This is an amount per stock unit of measure.WH20.7
COL-SELL-UNIT-PRC
SELL_UNIT_PRC
Signed 18.5This field contains the price per sell unit of measure in base currency. If multiple unit of measure pricing is used, this is the weighted average price per sell unit of measure.WH20.7
COL-SELL-PRC-CURR
SELL_PRC_CURR
Signed 18.5This field contains the price per sell unit of measure in transaction currency. If multiple unit of measure pricing is used, this is the weighted average price per sell unit of measure.WH20.7
COL-UNIT-COST
UNIT_COST
Signed 18.5WH20.7
COL-DISC-AMT-CURR
DISC_AMT_CURR
Signed 18.2This field contains the discount amount in transaction currency.WH20.7
COL-MULT-DISC-AMT
MULT_DISC_AMT
DerivedThis field contains the discount amount in base currency if a multiplier is used when converting from original to base currency.
COL-DIV-DISC-AMT
DIV_DISC_AMT
DerivedThis field contains the discount amount in base currency if a divider is used when converting from original to base currency.
COL-DISC-AMT-BASE
DISC_AMT_BASE
DerivedThis field contains the discount amount in base currency.
COL-DISC-CODE
DISC_CODE
Alpha 10This field contains the discount code used to calculate the discount amount for this line.WH20.7
COL-MULT-SPR-FL
MULT_SPR_FL
Alpha 1
  • Y Yes
  • N No
WH20.7
COL-SPR-TO-STOCK
SPR_TO_STOCK
Signed 13.7This field contains the multiplier used with special order items when converting from pricing unit of measure to stock unit of measure.WH20.7
COL-SELL-TO-STOCK
SELL_TO_STOCK
Signed 13.7This field contains the multiplier that is used with special order items when converting from selling unit of measure to stock unit of measure.WH20.7
COL-SEC-TO-STOCK
SEC_TO_STOCK
Signed 13.7This field contains the multiplier that is used with catch weight items when converting secondary unit of measure to stock unit of measure.WH20.7
COL-ORD-DISC-FL
ORD_DISC_FL
Alpha 1This field indicates whether this line is eligible for an order discount.
  • Y Yes
  • N No
WH20.7
COL-CUST-SHIP-TO
CUST_SHIP_TO
Numeric 4This field contains the ship-to customer number. This defaults from the order header.WH20.7
COL-CREATE-PO
CREATE_PO
Alpha 1This field indicates the item is ordered by a purchase order rather than using stock.
  • N No
  • Y Yes
WH20.7
COL-DROPSHIP-FL
DROPSHIP_FL
Alpha 1This field indicates whether the items of the purchase order are sent directly from the vendor to the customer. If this field is set to No, items are shipped to the user who entered the order for shipment to the customer.
  • N No
  • Y Yes
WH20.7
COL-CARRIER
CARRIER
Alpha 9 (Right Justified)This field contains the carrier number. This must be a valid vendor defined in Accounts Payable.WH20.7
COL-PO-NUMBER
PO_NUMBER
Alpha 14 (Right Justified)This field contains the number representing the purchase order. This is used if the purchase order line is added to an existing purchase order.WH20.7
COL-PO-CODE
PO_CODE
Alpha 4This is the purchase order code that will be used as part of the purchase order number for a create po order line.WH20.7
COL-VENDOR
VENDOR
Alpha 9 (Right Justified)This field contains the vendor of the purchase order. If left blank, Purchase Order assigns a vendor to the purchase order.WH20.7
COL-PURCH-FR-LOC
PURCH_FR_LOC
Alpha 4The vendor's purchase from location.WH20.7
COL-IF-REF-NBR
IF_REF_NBR
Numeric 9This field contains an internally generated reference number used by the Requisition system.WH20.7
COL-ROUTE
ROUTE
Numeric 4This field contains the route number. If left blank, the route assigned to the ship-to customer defaults from the Order Entry Route file. If no route is assigned to the ship-to customer in the Order Entry Route file, the route defaults from the customer.WH120, WH20.7, WH21.3, WH21.4
COL-STOP
STOP
Numeric 4This field contains the stop within the route. If left blank, this defaults from the ship-to customer from the Order Entry Route file. If no stop is associated with the ship-to customer, this defaults from the customer's file.WH120, WH20.7, WH21.3, WH21.4
COL-RTE-CREATE-FL
RTE_CREATE_FL
Alpha 1
  • Y Yes
  • N No
WH110, WH120, WH130, WH132, WH190, WH20.7, WH21.1, WH21.2 +29 more
COL-EXP-DELIV-DT
EXP_DELIV_DT
Numeric 8 (yyyymmdd)This field contains the expected delivery date. This field is valid only for a company that uses routes and stops. The expected delivery date is calculated by adding the ship days from the process level associated with the order to the system date when the order is added. This field determines when the order prints on the picking list for processing.WH120, WH20.7, WH21.3, WH21.4
COL-TERRITORY
TERRITORY
Alpha 4This field contains the sales territory. If left blank, this defaults from the ship-to customer. If no sales territory is assigned to the ship-to customer, this defaults from the customer's file.WH20.7
COL-SALESMAN
SALESMAN
Numeric 4This field contains the code that represents the primary sales representative of this line. This defaults from the order header.WH20.7
COL-SALESMAN-2
SALESMAN_2
Numeric 4This field contains the code representing the second sales representative. This defaults from the order header.WH20.7
COL-COMM-SPLIT
COMM_SPLIT
Percent 5.3 (Percent)Commission split for the second sales representative. This is the percentage of this line's total value the secondary sales representative's commission rate is applied to.WH20.7
COL-COMM-RATE-1
COMM_RATE_1
Percent 7.5 (Percent)Commission rate for sales representative 1. Defaults from the sales representative file.WH20.7
COL-COMM-RATE-2
COMM_RATE_2
Percent 7.5 (Percent)This field contains the commission rate for the second sales representative. This defaults from the sales representative file.WH20.7
COL-ENTERED-DISC
ENTERED_DISC
Signed 18.2This field contains a per line discount rather than a per unit discount as entered in the order-line's billing currency.WH20.7
COL-MULT-ADD-DISC
MULT_ADD_DISC
DerivedThis field contains the add-on discount amount in base currency if a multiplier is used to convert from original to base currency.
COL-DIV-ADD-DISC
DIV_ADD_DISC
DerivedThis field contains the additional discount amount in base currency if a divider is used to convert from original to base currency.
COL-ADD-DISC-BASE
ADD_DISC_BASE
DerivedThis field contains the additional discount amount in base currency.
COL-DISC-TKN-CURR
DISC_TKN_CURR
Signed 18.2This field contains the amount of the additional discount that has been used by invoices for this order line in billing currency. If you need to lower an additional discount on the line, the amount cannot be lowered below amount found in this field for this line.WH20.7
COL-MULT-DISC-TKN
MULT_DISC_TKN
DerivedThis field contains the multiplier used to derive the base currency amount of the discount if the order or invoice is entered in foreign currency.
COL-DIV-DISC-TKN
DIV_DISC_TKN
DerivedThis field contains the multiplier used to derive the base currency amount of the discount if the order or invoice is entered in foreign currency.
COL-DISC-TKN-BASE
DISC_TKN_BASE
DerivedThis field contains the amount of additional discount in base currency used by invoices for this order line.
COL-TAX-EXEMPT-CD
TAX_EXEMPT_CD
Alpha 1This field contains the tax exempt code. This defaults from the order header. If the order header is tax exempt, the line is also tax exempt.
  • E Exempt
  • T Taxable
WH20.7
COL-TAX-CODE
TAX_CODE
Alpha 10This field contains a code representing the tax authorities this ship-to pays sales tax to. This must be valid in the Tax Code file. If the company is not using a third-party tax system, this code is the tax code for the order line. Tax codes are entered in Tax and can be associated with the customer or entered when adding the order.WH20.7
COL-TAXABLE-CURR
TAXABLE_CURR
Signed 18.2This field contains the taxable amount in billing currency.WH20.2, WH20.7
COL-MULT-TAXABLE
MULT_TAXABLE
DerivedThis field contains the taxable amount in base currency if a multiplier is used to convert from original to base currency.
COL-DIV-TAXABLE
DIV_TAXABLE
DerivedThis field contains the taxable amount in base currency if a divider is used to convert from original to base currency.
COL-OVR-TAXABLE
OVR_TAXABLE
Signed 18.2This field contains the override taxable amount in base currency.WH20.2, WH20.7
COL-MULT-OVR-TXBL
MULT_OVR_TXBL
DerivedThis field contains the override taxable amount in base currency if a multiplier is used to convert from original to base currency.
COL-DIV-OVR-TXBL
DIV_OVR_TXBL
DerivedThis field contains the override taxable amount in base currency if a divider is used to convert from original to base currency.
COL-TAXABLE-BASE
TAXABLE_BASE
DerivedThis field contains the override taxable amount in base currency.
COL-EARLY-DL-DATE
EARLY_DL_DATE
Numeric 8 (yyyymmdd)This field contains the early delivery date.WH20.7
COL-LATE-DL-DATE
LATE_DL_DATE
Numeric 8 (yyyymmdd)This field contains the late delivery date.WH20.7
COL-USER-DATE-3
USER_DATE_3
Numeric 8 (yyyymmdd)This field displays the system date when this was created.WH20.7
COL-USER-DATE-4
USER_DATE_4
Numeric 8 (yyyymmdd)This field contains the fourth user-defined date. Informational purposes only used on Orders Not Shipped for Customer (OE280).WH20.7
COL-USER-FLD1
USER_FLD1
Alpha 2This field contains the first user-definable field. If a purchase order is created for this order, this field updates to Purchase Order.WH20.7
COL-USER-FLD2
USER_FLD2
Alpha 30 (Lower Case)This field contains the second user-definable field. If a purchase order is created for this order, this field updates to Purchase Order. This field also updates to Sales Analysis.WH20.7
COL-USER-FLD3
USER_FLD3
Alpha 15 (Lower Case)This field contains the third user-definable field. If a purchase order is created for this order, this field updates to Purchase Order. This field also updates to Sales Analysis.WH20.7
COL-EXP-SHIP-DT
EXP_SHIP_DT
Numeric 8 (yyyymmdd)Expected ship date. Defaulted by the system as the number of ship days (from process level record) beyond the system date when the line is added. May be overridden.WH20.7
COL-ALLOCATE-DT
ALLOCATE_DT
Numeric 8 (yyyymmdd)This field contains the date used for batch allocations. The type of date depends on a company option, and can be the order date, the customer requested delivery date or the expected ship date.WH20.7
COL-LIST-NAME
LIST_NAME
Alpha 14This field contains the name of the price list, if this line is priced using a price list or a promotion.WH20.7
COL-CONTRACT-NBR
CONTRACT_NBR
Alpha 14This field contains the contract number, if this line is priced using a contract.WH20.7
COL-PROMOTION
PROMOTION
Alpha 10This field contains the promotion name, if this line is priced via a promotion. When combined with the list name, it provides access to the promotion file.WH20.7
COL-ACTIVITY
ACTIVITY
Alpha 15In this file the Activity field is used for the revenue (sales) side of the posting whereas the Activity-C field is used for the Cost (COGS) side of the posting. Activities are the processes or procedures that produce work. Cost objects (products, services, customers, and so on) are the reasons for performing the activity. Activities and cost object activities are used synonymously in Project Accounting. Direct costs are posted to activities, and indirect costs are allocated to activities based on activity drivers. Activities are grouped or organized by activity levels. There are two types of activities: "posting allowed" and "summary only." Use posting level activities to budget and maintain all posted transactions. Summary activities or macro activities combine information and balances from lower level activities for reporting and inquiries.WH20.7
COL-ACCT-CATEGORY
ACCT_CATEGORY
Alpha 5In this file the Acct-Category field is used for revenue (sales) postings whereas the Acct-Categ-C field is used for Cost (COGS) postings. Account categories are groupings of costs, revenues, or a combination of both used for reporting and inquiries for activities in Project Accounting. All transactions are posted to an account category within an activity. You can assign a specific General Ledger account or range of accounts (company, accounting unit, account, and subaccount) that make up the transactions posted to an account category using Account Assignment (AC07.1). Period-to-date, year-to-date, and life-to-date balances are maintained by account category for activities. Account categories must be assigned to activities before you do any budgeting or transaction processing.WH20.7
COL-ATN-OBJ-ID
ATN_OBJ_ID
Numeric 12Represents Activity Management system ID for the revenue (sales) activity. Activities are the processes or procedures that produce work. Cost objects (products, services, customers, and so on) are the reasons for performing the activity. Activities and cost object activities are used synonymously in the Activity Management system. Direct costs are posted to activities, and indirect costs are allocated to activities based on activity drivers. Activities are grouped or organized by activity levels. There are two types of activities: "posting allowed" and "summary only." Use posting level activities to budget and maintain all posted transactions. Summary activities or macro activities combine information and balances from lower level activities for reporting inquiries.WH20.7
COL-ACTIVITY-C
ACTIVITY_C
Alpha 15In this file the Activity-C field is used for the Cost (COGS) side of the posting whereas the Activity field is used for the revenue (sales) side of the posting. Activities are the processes or procedures that produce work. Cost objects (products, services, customers, and so on) are the reasons for performing the activity. Activities and cost object activities are used synonymously in Project Accounting. Direct costs are posted to activities, and indirect costs are allocated to activities based on activity drivers. Activities are grouped or organized by activity levels. There are two types of activities: "posting allowed" and "summary only." Use posting level activities to budget and maintain all posted transactions. Summary activities or macro activities combine information and balances from lower level activities for reporting and inquiries.WH20.7
COL-ACCT-CATEG-C
ACCT_CATEG_C
Alpha 5In this file the Acct-Categ-C field is used for Cost (COGS) postings whereas the Acct-Category field is used for revenue (sales) postings. Account categories are groupings of costs, revenues, or a combination of both used for reporting and inquiries for activities in Project Accounting. All transactions are posted to an account category within an activity. You can assign a specific general ledger account or range of accounts (company, accounting unit, account, and subaccount) that make up the transactions posted to an account category using Account Assignment (AC07.1). Period-to-date, year-to-date, and life-to-date balances are maintained by account category for activities. Account categories must be assigned to activities before you do any budgeting or transaction processing.WH20.7
COL-ATN-OBJ-ID-C
ATN_OBJ_ID_C
Numeric 12The system defined object id representing the Activity Management commitment for Cost (COGS).AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
COL-BOOKED-FL
BOOKED_FL
Alpha 1This field indicates if the order line has been booked by the Sales Analysis system.WH20.7
COL-BOOKED-DATE
BOOKED_DATE
Numeric 8 (yyyymmdd)This field indicates the date when the order line was booked by Sales Analysis.WH20.7
COL-BOOKED-QTY
BOOKED_QTY
Signed 13.4This field contains the quantity booked to the customer and sales representative totals. This is updated to Sales Analysis for reporting and inquiry analysis.WH20.7
COL-ORDER-QTY
ORDER_QTY
Signed 13.4The order quantity of the line item.WH130, WH132, WH190, WH20.7, WH520, WH830
COL-SHIPPED-QTY
SHIPPED_QTY
Signed 13.4This field contains the shipped quantity.WH126, WH130, WH132, WH190, WH20.7, WH30.1, WH30.2, WH30.3 +27 more
COL-INVOICE-QTY
INVOICE_QTY
Signed 13.4This field contains the quantity that has been invoiced for this order line.WH20.7
COL-RETURNED-QTY
RETURNED_QTY
Signed 13.4Total quantity returned compared to this quantity.
COL-FIRM-FL
FIRM_FL
Alpha 1This field indicates if the allocation is firm. If the value is set to Yes, WH110 (Batch Allocation) skips the record in the de-allocation phase.
  • Y Yes
  • N No
WH20.7
COL-SHIP-COMP-FL
SHIP_COMP_FL
Alpha 1WH20.7
COL-PK-PRIORITY
PK_PRIORITY
Numeric 2WH20.7
COL-SLS-ACCT-UNIT
SLS_ACCT_UNIT
Alpha 15This field contains the sales account unit, if the line is special order. If left blank, this defaults from the process level.WH20.7
COL-SLS-ACCOUNT
SLS_ACCOUNT
Numeric 6This field contains the sales account number, if the line is for a special order item. If left blank, this defaults from the process level.WH20.7
COL-SLS-SUB-ACCT
SLS_SUB_ACCT
Numeric 4This field contains the sales subaccount number, if the line is special order. If left blank, this defaults from the process level.WH20.7
COL-EXP-ACCT-UNIT
EXP_ACCT_UNIT
Alpha 15This field contains the general ledger account to credit for the cost amount of non-stock and special orders. This defaults from the process level for special order lines and from the major/minor sales class file for non-stock lines.WH20.7
COL-EXP-ACCOUNT
EXP_ACCOUNT
Numeric 6This field contains the general ledger distribution account that is credited for non-stock and special orders. This defaults from the process level for special orders and from major/minor sales class for non-stock orders.WH20.7
COL-EXP-SUB-ACCT
EXP_SUB_ACCT
Numeric 4This field contains the general ledger distribution subaccount that is credited for non-stock and special orders. This defaults from the process level for special orders and from the major/minor sales class for non-stock orders.WH20.7
COL-CGS-ACCT-UNIT
CGS_ACCT_UNIT
Alpha 15The cost of goods sold account unit is debited and defaults from the process level for special order items or from the sales class for inventoried or non-stock items. This account is credited for return to stock transactions.WH20.7
COL-CGS-ACCOUNT
CGS_ACCOUNT
Numeric 6The cost of goods sold account number is debited and defaults from the process level for special order items or from the sales class for inventoried or non-stock items. This account is credited for return to stock transactions.WH20.7
COL-CGS-SUB-ACCT
CGS_SUB_ACCT
Numeric 4The cost of goods sold subaccount number is debited and defaults from the process level for special order items or from the sales class for inventoried or non-stock items. This account is credited for return to stock transactions.WH20.7
COL-PROD-TAX-CAT
PROD_TAX_CAT
Alpha 15A classification of items for determining taxes using the VERTEX system in Lawson Order Entry system or the cash receipts programs in the Lawson Cash Ledger system.WH20.7
COL-CXL-DATE
CXL_DATE
Numeric 8 (yyyymmdd)This field contains the date this line was canceled.WH130, WH132, WH190, WH20.7, WH30.1, WH30.2, WH30.3, WH30.4 +25 more
COL-CXL-QTY
CXL_QTY
Signed 13.4This field contains the quantity canceled for this order line.WH130, WH132, WH190, WH20.7, WH30.1, WH30.2, WH30.3, WH30.4 +25 more
COL-CXL-OPR
CXL_OPR
Alpha 10 (Lower Case)This field contains the user ID of the person who canceled this order line.WH130, WH132, WH190, WH20.7, WH30.1, WH30.2, WH30.3, WH30.4 +25 more
COL-CXL-REASON
CXL_REASON
Alpha 4This field contains the reason for canceling this order. Reason codes are set up in Reason Codes (BL07.1).WH130, WH132, WH190, WH20.7, WH30.1, WH30.2, WH30.3, WH30.4 +25 more
COL-LAST-COMM-SEQ
LAST_COMM_SEQ
Numeric 3This field contains the sequence number of the last comment line entered on this line.BLI2.1, WH20.7
COL-LAST-MISC-SEQ
LAST_MISC_SEQ
Numeric 3This field contains the last sequence used for miscellaneous charges for this line.WH20.7
COL-MSDS-REQ-FL
MSDS_REQ_FL
Alpha 1This field indicates that an MSDS (Material Safety Data Sheet) is required. If set to Yes, an MSDS acknowledgment is required for the first shipment containing the item even if an MSDS acknowledgment has been sent within a year for this item to the customer. Order Entry does not create MSDS forms, but it keeps track of when the form was sent.
  • Y Yes
  • N No
WH20.7
COL-LAST-SHIP-NBR
LAST_SHIP_NBR
Numeric 10This field contains the last shipment number created for this order line.WH20.7
COL-WORK-ORDER
WORK_ORDER
Numeric 8This identifies the work order the line may be associated with. It is used if work order is active and the line is a finished good with a backorder quantity.
COL-WORK-ORDER-SUF
WORK_ORDER_SUF
Numeric 2This is the suffix of the work order the line may be associated with. It will normally be zero.
COL-PRICE-REC-TYPE
PRICE_REC_TYPE
Alpha 1
  • C Class
  • I Item
WH20.7
COL-QTY-BREAK-FL
QTY_BREAK_FL
Alpha 1
  • Y Yes
  • N No
WH20.7
COL-GROSS-AMOUNT
GROSS_AMOUNT
DerivedThis field contains the line extension in base currency before discounts are taken.
COL-NET-AMOUNT
NET_AMOUNT
DerivedThis field contains the line amount in base currency after discounts have been removed.
COL-CURR-GROSS
CURR_GROSS
DerivedThis field contains the gross amount in transaction currency.
COL-CURR-NET
CURR_NET
DerivedThis field contains the line net amount in transaction currency.
COL-OPEN-TO-ALLOC
OPEN_TO_ALLOC
DerivedThis field contains quantity available for allocation.
COL-ALLOC-NOT-PRT
ALLOC_NOT_PRT
DerivedThis field contains the allocated quantity that has not been printed on the picking list.
COL-PROJ-STD-COST
PROJ_STD_COST
DerivedThis field contains the projected cost for a standard cost company. This is used when editing the profit margin for a particular order.
COL-PROJ-AVG-COST
PROJ_AVG_COST
DerivedThis field contains the projected cost for any company not using standard cost. This is used when editing the profit margin for a particular order.
COL-PROJ-SPL-COST
PROJ_SPL_COST
DerivedThis field contains the projected extended cost for special and nonstock items. This is based on the cost entered when adding the order. This is used when calculating the profit margin of the order.
COL-PROJ-COST
PROJ_COST
DerivedThis field contains the projected cost for this line. This can either be the projected standard cost or the projected average cost.
COL-PROJ-MARGIN
PROJ_MARGIN
DerivedThis field contains the projected margin for this line.
COL-UNBILLED-QTY
UNBILLED_QTY
DerivedThis field contains the unbilled quantity on the line.
COL-UNBILLED-BASE
UNBILLED_BASE
DerivedThis field contains the unbilled quantity on the order line in base currency.
COL-UNBILLED-CURR
UNBILLED_CURR
DerivedThis field contains the unbilled amount in transaction currency.
COL-ORD-QTY-IN-STK
ORD_QTY_IN_STK
DerivedThis field contains the quantity of item in stock unit of measure.
COL-BO-FL
BO_FL
DerivedThis field indicates if the order line was backordered.
COL-PRICE-LOC
PRICE_LOC
DerivedThis field indicates the pricing location for the order line.
COL-ORDER-FILLER
ORDER_FILLER
DerivedUsed to facilitate Drill Around to shipments for this order.
COL-ORDER-NBR-A
ORDER_NBR_A
DerivedUsed to facilitate Drill Around to shipments for this order.
COL-DISP-ALLOCATED
DISP_ALLOCATED
DerivedUsed to facilitate Drill Around of quantity allocated.
COL-DISP-PRINTED
DISP_PRINTED
DerivedUsed to facilitate Drill Around of pick list quantity printed.
COL-DISP-IN-PROC
DISP_IN_PROC
DerivedUsed to facilitate Drill Around of quantity in process.
COL-DISP-BACKORD
DISP_BACKORD
DerivedUsed to facilitate Drill Around of quantity back ordered.
COL-COMM-LIT
COMM_LIT
DerivedIf comments are attached, this field displays "comments exist."
COL-DER-ORIGIN-CD
DER_ORIGIN_CD
Derived
COL-INTR-COMP
INTR_COMP
Alpha 1Identifies Inter-Company order lines as "O" for the customer order line, "S" for the shipping company, or N" not an Inter-company order line.
  • O Inter-Co Customer order
  • S Inter-Co Shipping order
  • N Not an Inter-Co Order
WH20.7
COL-FOB-CODE
FOB_CODE
Alpha 3The user defined Free On Board Code.WH20.7
COL-PORT-CD
PORT_CD
Alpha 5The Intrastat port code. Must be define in IN04.1 (Port Maintenance)WH20.7
COL-NOTC
NOTC
Alpha 2The Nature of Transaction code. Must be a valid code defined in IN07.1 (NOTC Maintenance).WH20.7
COL-STAT-PROC
STAT_PROC
Alpha 6The statistical procedure code applied to the data. The code must be defined in IN06.1. (Statistical Procedure Maintenance).WH20.7
COL-SUPLMNTARY-UOM
SUPLMNTARY_UOM
Alpha 4This field contains the valid stock unit of measure for this item.WH20.7
COL-SUPLMNTARY-QTY
SUPLMNTARY_QTY
Signed 13.4This field contains the desired quantity.WH20.7
COL-ICN-CODE
ICN_CODE
Alpha 8WH20.7
COL-BACK-ORD-FL
BACK_ORD_FL
Alpha 1
  • Y Backorder Allowed
  • N Backorder Not Allowed
WH20.7
COL-GLBL-LINE-TYPE
GLBL_LINE_TYPE
Alpha 15WH20.7
COL-FREIGHT-TOT
FREIGHT_TOT
Signed 18.2WH20.7
COL-INSURANCE-TOT
INSURANCE_TOT
Signed 18.2WH20.7
COL-CSTMS-TOT
CSTMS_TOT
Signed 18.2WH20.7
COL-OTHER-AOC-TOT
OTHER_AOC_TOT
Signed 18.2WH20.7

Indexes (13)

Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
COLSET1COMPANY, ORDER-NBR, LINE-NBRPrimaryAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source)
COLSET10COMPANY, ORDER-NBR, TAX-CODE, PROD-TAX-CAT, LINE-NBRKeyChangeWH20.2, WH20.7
COLSET11COMPANY, CUSTOMER, ORDER-NBR, LINE-NBRSubsetWhere CREATE-PO = "Y" And DROPSHIP-FL = "Y" And STATUS = 2 And ORDER-QTY > INVOICE-QTY
COLSET12COMPANY, CUSTOMER, ORDER-NBR, LINE-NBRSubsetWhere STATUS = 2 And CREATE-PO = "Y" And ORDER-QTY > SHIPPED-QTY
COLSET13COMPANY, LINE-NBR, ORDER-NBRWH20.7
COLSET2COMPANY, INV-LOC, ITEM, PROCESS-LEVEL, ORDER-NBR, LINE-NBRKeyChange, SubsetWhere STATUS = 2WH120
COLSET3COMPANY, CUSTOMER, ITEM, ORDER-NBR, LINE-NBRKeyChangeIC11.1, IC216
COLSET4COMPANY, ORDER-NBR, SALES-MAJCL, SALES-MINCL, LINE-NBRSubsetWhere PRICE-STATUS = "A"WH20.2, WH20.7
COLSET5ATN-OBJ-IDKeyChange, SubsetWhere ATN-OBJ-ID != Zeroes
COLSET6COMPANY, CUSTOMER, HOLD-CODE, ORDER-NBR, LINE-NBRKeyChange, SubsetWhere HOLD-CODE != Spaces
COLSET7COMPANY, ORDER-NBR, LINE-NBRSubsetWhere STATUS < 3WH20.2, WH20.7, WH210
COLSET8ATN-OBJ-ID-CKeyChange, SubsetWhere ATN-OBJ-ID-C != Zeroes
COLSET9COMPANY, ORDER-NBR, VENDOR, CUST-SHIP-TO, DROPSHIP-FL, LINE-NBRSubsetWhere STATUS = 2 And CREATE-PO = "Y" And ORDER-QTY > SHIPPED-QTYWH20.7

Relations

One to one (42) — lookups and parents

RelationTableRulesConditionField map
ApcompanyAPCOMPANYRequiredWhen COL-CARRIER != SpacesCOL-COMPANY-COMPANY
ApvenmastAPVENMASTRequiredWhen COL-CARRIER != SpacesCPY-VENDOR-GROUPVEN-VENDOR-GROUP, COL-CARRIERVEN-VENDOR
ArcompARCOMPRequiredCOL-COMPANYACO-COMPANY
ArcustomerARCUSTOMERRequiredCOL-COMPANYACM-COMPANY, COL-CUSTOMERACM-CUSTOMER
Cogs OffsetGLMASTERRequiredWhen COL-LINE-TYPE = "N" Or COL-LINE-TYPE = "X"COL-COMPANYGLM-COMPANY, COL-EXP-ACCT-UNITGLM-ACCT-UNIT, COL-EXP-ACCOUNTGLM-ACCOUNT, COL-EXP-SUB-ACCTGLM-SUB-ACCOUNT
ColineuomCOLINEUOMNot Required, Delete CascadesValid When COL-MULT-SPR-FL = "Y"COL-COMPANYCOU-COMPANY, COL-ORDER-NBRCOU-ORDER-NBR, COL-LINE-NBRCOU-LINE-NBR
ContractOEPRCLISTRequiredWhen COL-CONTRACT-NBR != SpacesCOL-COMPANYOPL-COMPANY, COL-CUSTOMEROPL-CUSTOMER, COL-CONTRACT-NBROPL-LIST-NAME, SpacesOPL-PROMOTION
CosgblkCOSGBLKNot RequiredCOL-COMPANYOSG-COMPANY, COL-ORDER-NBROSG-ORDER-NBR, COL-LINE-NBROSG-LINE-NBR, ZeroesOSG-SEQ
CucodesCUCODESRequiredCOR-CURRENCY-CODECUC-CURRENCY-CODE
CurelatCURELATRequiredWhen COR-CURRENCY-CODE != COL-CURRENCY-CODEGLS-CURRENCY-TABLECRL-CURRENCY-TABLE, COR-CURRENCY-CODECRL-FR-CURR-CODE, OEC-CURRENCY-CODECRL-TO-CURR-CODE
CustdescCUSTDESCRequiredACO-CUST-GROUPCUD-CUST-GROUP, COL-CUSTOMERCUD-CUSTOMER
CustorderCUSTORDERRequiredCOL-COMPANYCOR-COMPANY, COL-ORDER-NBRCOR-ORDER-NBR
Cxl OperatorOPERATORRequiredWhen COL-CXL-OPR != SpacesCOL-COMPANYOPE-DEF-COMPANY, COL-CXL-OPROPE-OPR-CODE
GlsystemGLSYSTEMRequiredCOL-COMPANYGLS-COMPANY
HdrlocITEMLOCNot RequiredCOL-COMPANYITL-COMPANY, COR-INV-LOCATIONITL-LOCATION, COL-ITEMITL-ITEM
HoldcodesHOLDCODESRequiredWhen COL-HOLD-CODE != SpacesACO-CUST-GROUPHDD-CUST-GROUP, COL-HOLD-CODEHDD-HOLD-CODE
IccategoryICCATEGORYNot RequiredValid When COL-LINE-TYPE = "I"COL-COMPANYICA-COMPANY, COL-INV-LOCICA-LOCATION, ITL-GL-CATEGORYICA-GL-CATEGORY
IccompanyICCOMPANYRequiredWhen COL-LINE-TYPE != "X"COL-COMPANYICC-COMPANY
IclocationICLOCATIONRequiredCOL-COMPANYICL-COMPANY, COL-INV-LOCICL-LOCATION
ItemlocationITEMLOCRequiredWhen COL-INV-LOC != Spaces And COL-LINE-TYPE = "I"COL-COMPANYITL-COMPANY, COL-INV-LOCITL-LOCATION, COL-ITEMITL-ITEM
ItemmastITEMMASTRequiredWhen COL-LINE-TYPE != "X"ICC-ITEM-GROUPITE-ITEM-GROUP, COL-ITEMITE-ITEM
KititemKITITEMNot RequiredValid When COL-KIT-FL = "O"ICC-ITEM-GROUPKIT-ITEM-GROUP, COL-COMPANYKIT-COMPANY, COL-INV-LOCKIT-LOCATION, COL-ITEMKIT-ITEM
Kititem 2KITITEMNot RequiredValid When COL-KIT-FL != "O"ICC-ITEM-GROUPKIT-ITEM-GROUP, COL-COMPANYKIT-COMPANY, COL-INV-LOCKIT-LOCATION, COL-ITEMKIT-ITEM
MajorclMAJORCLRequiredWhen COL-LINE-TYPE != "X"ICC-ITEM-GROUPMAJ-ITEM-GROUP, "S"MAJ-CLASS-TYPE, ITE-SALES-MAJCLMAJ-MAJOR-CLASS
MinorclMINORCLNot RequiredValid When COL-LINE-TYPE != "X"ICC-ITEM-GROUPMIN-ITEM-GROUP, "S"MIN-CLASS-TYPE, ITE-SALES-MAJCLMIN-MAJOR-CLASS, ITE-SALES-MINCLMIN-MINOR-CLASS
OecolufOECOLUFRequiredCOL-COMPANYOLU-COMPANY, COL-ORDER-NBROLU-ORDER-NBR, COL-LINE-NBROLU-LINE-NBR
OecompanyOECOMPANYRequiredCOL-COMPANYOEC-COMPANY
OecustOECUSTRequiredCOL-COMPANYOET-COMPANY, COL-CUSTOMEROET-CUSTOMER
OeproclevOEPROCLEVRequiredCOL-COMPANYOEP-COMPANY, COL-PROCESS-LEVELOEP-PROCESS-LEVEL
OereasonOEREASONNot RequiredValid When COL-CXL-OPR != SpacesCOL-COMPANYOER-COMPANY, COL-CXL-REASONOER-REASON-CODE
OeslsacctOESLSACCTRequiredWhen COL-LINE-TYPE != "X"COL-COMPANYOSA-COMPANY, COL-PROCESS-LEVELOSA-PROCESS-LEVEL, ITE-SALES-MAJCLOSA-SALES-MAJCL, ITE-SALES-MINCLOSA-SALES-MINCL
OperatorOPERATORRequiredCOL-COMPANYOPE-DEF-COMPANY, COR-OPR-CODEOPE-OPR-CODE
OrdertypeORDERTYPERequiredCOL-COMPANYOTP-COMPANY, COR-ORDER-TYPEOTP-ORDER-TYPE
Po VendorAPVENMASTRequiredWhen COL-VENDOR != SpacesCPY-VENDOR-GROUPVEN-VENDOR-GROUP, COL-VENDORVEN-VENDOR
PromotionOEPRCLISTRequiredWhen COL-PROMOTION > SpacesCOL-COMPANYOPL-COMPANY, SpacesOPL-CUSTOMER, COR-LIST-NAMEOPL-LIST-NAME, COL-PROMOTIONOPL-PROMOTION
Sales AcctGLMASTERRequiredWhen COL-LINE-TYPE = "N" Or COL-LINE-TYPE = "X"COL-COMPANYGLM-COMPANY, COL-SLS-ACCT-UNITGLM-ACCT-UNIT, COL-SLS-ACCOUNTGLM-ACCOUNT, COL-SLS-SUB-ACCTGLM-SUB-ACCOUNT
Salesrep1SALESREPRequiredCOL-COMPANYSAW-COMPANY, COL-SALESMANSAW-SALESMAN
Salesrep2SALESREPRequiredWhen COL-SALESMAN-2 != ZeroesCOL-COMPANYSAW-COMPANY, COL-SALESMAN-2SAW-SALESMAN
ShiptoSHIPTORequiredWhen COL-CUST-SHIP-TO != ZeroesCOL-COMPANYSHP-COMPANY, COL-CUSTOMERSHP-CUSTOMER, COL-CUST-SHIP-TOSHP-SHIP-TO
TeritoryTERITORYRequiredCOL-COMPANYTRY-COMPANY, COL-TERRITORYTRY-TERRITORY
TxtaxcodeTXTAXCODERequiredWhen COL-TAX-CODE > SpacesCOL-COMPANYTAC-COMPANY, COL-TAX-CODETAC-TAX-CODE
WhdemndhdrWHDEMNDHDRNot RequiredCOL-COMPANYWDH-COMPANY, "OE"WDH-SYSTEM-CD, COL-ORDER-NBRWDH-DOC-NBR-NUM

One to many (19) — child tables

RelationTableRulesConditionField map
ComiscCOMISCCOL-COMPANYCMC-COMPANY, COL-ORDER-NBRCMC-ORDER-NBR, COL-LINE-NBRCMC-LINE-NBR, CMC-SEQ
CompanionsITEMSUBICC-ITEM-GROUPITS-ITEM-GROUP, COL-ITEMITS-ITEM, "C"ITS-SUBTYPE, ITS-SUB-ITEM
ComponentCOMPONENTValid When COL-KIT-FL = "O"ICC-ITEM-GROUPCOM-ITEM-GROUP, COL-COMPANYCOM-COMPANY, COL-INV-LOCCOM-LOCATION, COL-ITEMCOM-KIT-ITEM, COM-SEQ, COM-OPT-SEQ
ComponentsCOMPONENTICC-ITEM-GROUPCOM-ITEM-GROUP, COL-COMPANYCOM-COMPANY, COL-INV-LOCCOM-LOCATION, COL-ITEMCOM-KIT-ITEM, COM-SEQ, COM-OPT-SEQ
ItemcompanionITEMSUBICC-ITEM-GROUPITS-ITEM-GROUP, COL-ITEMITS-ITEM, "C"ITS-SUBTYPE, ITS-SUB-ITEM
ItemlocITEMLOCRequiredWhen COL-LINE-TYPE = "I"COL-COMPANYITL-COMPANY, COL-ITEMITL-ITEM, ITL-LOCATION
ItemsubITEMSUBICC-ITEM-GROUPITS-ITEM-GROUP, COL-ITEMITS-ITEM, "S"ITS-SUBTYPE, ITS-SUB-ITEM
ItserialITSERIALCOL-COMPANYSER-COMPANY, COL-ITEMSER-ITEM, SER-SERIAL
OeauditOEAUDITDelete CascadesCOL-COMPANYOEA-COMPANY, COL-ORDER-NBROEA-ORDER-NBR, COL-LINE-NBROEA-LINE-NBR, OEA-FLD-NBR, OEA-UPDATE-DATE, OEA-UPDATE-TIME
OeordcmntOEORDCMNTCOL-COMPANYOOC-COMPANY, SpacesOOC-CUSTOMER, SpacesOOC-STD-ORDER-NBR, COL-ORDER-NBROOC-ORDER-NBR, COL-LINE-NBROOC-LINE-NBR, OOC-SEQ
PolinesrcPOLINESRCValid When COL-CREATE-PO = "Y"COL-COMPANYPLS-OPER-COMPANY, "OE"PLS-ORIGIN-CD, COL-ORDER-NBRPLS-SOURCE-DOC-N, COL-LINE-NBRPLS-SRC-LINE-NBR, PLS-PO-CODE, PLS-PO-NUMBER, PLS-PO-RELEASE, PLS-LINE-NBR
ReturnlineRETURNLINECOL-COMPANYRTL-COMPANY, COL-CUSTOMERRTL-CUSTOMER, COL-ITEMRTL-ITEM, COL-CUST-SHIP-TORTL-SHIP-TO, RTL-DATE, RTL-AUTH-NO, RTL-LINE-NBR
SohbinsSOHDETAILCOL-COMPANYSDT-COMPANY, COL-INV-LOCSDT-LOCATION, COL-ITEMSDT-ITEM, SDT-BIN, SDT-UOM, SDT-LOT, SDT-SUBLOT
SohdetailSOHDETAILCOL-COMPANYSDT-COMPANY, COL-INV-LOCSDT-LOCATION, COL-ITEMSDT-ITEM, SDT-UOM, SDT-LOT, SDT-SUBLOT, SDT-BIN
SubstitutionsITEMSUBICC-ITEM-GROUPITS-ITEM-GROUP, COL-ITEMITS-ITEM, "S"ITS-SUBTYPE, ITS-SUB-ITEM
Vendor CompanyICLOCATIONCOL-VENDORICL-VENDOR, COL-PURCH-FR-LOCICL-PURCH-FR-LOC, ZeroesICL-COMPANY, ICL-LOCATION
WhdemandWHDEMANDCOL-COMPANYWDM-COMPANY, "OE"WDM-SYSTEM-CD, WDH-DOC-NBRWDM-DOC-NBR, COL-LINE-NBRWDM-LINE-NBR, ZeroesWDM-COMPONENT-SEQ, WDM-LOCATION
WhshiplineWHSHIPLINECOL-COMPANYWHL-COMPANY, "OE"WHL-SYSTEM-CD, WDH-DOC-NBRWHL-DOC-NBR, COL-LINE-NBRWHL-LINE-NBR, WHL-SHIPMENT-NBR
WhshipmentWHSHIPMENTCOL-COMPANYWHS-COMPANY, COL-INV-LOCWHS-LOCATION, COL-ORDER-NBR-AWHS-DOC-NBR, WHS-SHIPMENT-NBR

Programs

Updated by (231)

Referenced by (13)