Table idempiere9.adempiere.c_orderline
Sales Order Line

Generated by
Quality Systems & Solutions
Legend:
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents Comments
c_orderline_id numeric 10
c_invoiceline.c_orderline_id corderline_cinvoiceline R
c_orderlandedcostallocation.c_orderline_id corderline_corderlandedcostall R
c_orderline.link_orderline_id linkorderline_corderline R
c_orderline.ref_orderline_id corderline_ref R
m_costdetail.c_orderline_id corderline_mcostdetail R
m_inoutline.c_orderline_id corderline_minout R
m_matchpo.c_orderline_id corderline_mmatchpo R
Sales Order Line
ad_client_id numeric 10 Client/Tenant for this installation.
ad_org_id numeric 10 Organizational entity within client
isactive bpchar 1 'Y'::bpchar The record is active in the system
created timestamp 29,6 now() Date this record was created
createdby numeric 10 User who created this records
updated timestamp 29,6 now() Date this record was updated
updatedby numeric 10 User who updated this records
c_order_id numeric 10
c_order.c_order_id corder_corderline R
Order
line numeric 10 Unique line for this document
c_bpartner_id numeric 10  √  null Identifies a Business Partner
c_bpartner_location_id numeric 10  √  null Identifies the (ship to) address for this Business Partner
dateordered timestamp 29,6 Date of Order
datepromised timestamp 29,6  √  null Date Order was promised
datedelivered timestamp 29,6  √  null Date when the product was delivered
dateinvoiced timestamp 29,6  √  null Date printed on Invoice
description varchar 255  √  null Optional short description of the record
m_product_id numeric 10  √  null
m_product.m_product_id mproduct_corderline R
Product, Service, Item
m_warehouse_id numeric 10
m_warehouse.m_warehouse_id mwarehouse_corderline R
Storage Warehouse and Service Point
c_uom_id numeric 10 Unit of Measure
qtyordered numeric 0 0 Ordered Quantity
qtyreserved numeric 0 0 Reserved Quantity
qtydelivered numeric 0 0 Delivered Quantity
qtyinvoiced numeric 0 0 Invoiced Quantity
m_shipper_id numeric 10  √  null Method or manner of product delivery
c_currency_id numeric 10 The Currency for this record
pricelist numeric 0 0 List Price
priceactual numeric 0 0 Actual Price
pricelimit numeric 0 0 Lowest price for a product
linenetamt numeric 0 0 Line Extended Amount (Quantity * Actual Price) without Freight and Charges
discount numeric 0  √  null Discount in percent
freightamt numeric 0 0 Freight Amount
c_charge_id numeric 10  √  null Additional document charges
c_tax_id numeric 10 Tax identifier
s_resourceassignment_id numeric 10  √  null Resource Assignment
ref_orderline_id numeric 10  √  null
c_orderline.c_orderline_id corderline_ref R
Reference to corresponding Sales/Purchase Order
m_attributesetinstance_id numeric 10  √  0
m_attributesetinstance.m_attributesetinstance_id mattrsetinst_corderline R
Product Attribute Set Instance
isdescription bpchar 1 'N'::bpchar if true, the line is just description and no transaction
processed bpchar 1 'N'::bpchar The document has been processed
qtyentered numeric 0 The Quantity Entered is based on the selected UoM
priceentered numeric 0 Price Entered - the price based on the selected/base UoM
c_project_id numeric 10  √  null Financial Project
pricecost numeric 0  √  null Price per Unit of Measure including all indirect costs (Freight, etc.)
qtylostsales numeric 0 0 Quantity of potential sales
c_projectphase_id numeric 10  √  null Phase of a Project
c_projecttask_id numeric 10  √  null Actual Project Task in a Phase
rrstartdate timestamp 29,6  √  null Revenue Recognition Start Date
rramt numeric 0  √  null Revenue Recognition Amount
c_campaign_id numeric 10  √  null Marketing Campaign
c_activity_id numeric 10  √  null Business Activity
user1_id numeric 10  √  null User defined list element #1
user2_id numeric 10  √  null User defined list element #2
ad_orgtrx_id numeric 10  √  null Performing or initiating organization
link_orderline_id numeric 10  √  null
c_orderline.c_orderline_id linkorderline_corderline R
This field links a sales order line to the purchase order line that is generated from it.
pp_cost_collector_id numeric 10  √  null Manufacturing Cost Collector
m_promotion_id numeric 10  √  null Promotion
c_orderline_uu varchar 36  √  NULL::character varying C_OrderLine_UU
createshipment bpchar 1  √  'N'::bpchar Create Shipment
createproduction bpchar 1  √  'N'::bpchar Create Production

Table contained 27 rows at 2021-12-25 14:46 +0100

Indexes:
Column(s) Type Sort Constraint Name
c_orderline_id Primary key Asc c_orderline_pkey
c_order_id Performance Asc c_orderline_order
m_product_id Performance Asc c_orderline_product
c_orderline_uu Must be unique Asc c_orderline_uu_idx

Close relationships  within of separation: