Sales Order Line
C_OrderLine
Sales Order Line
Overview
| Table Name | C_OrderLine |
|---|---|
| Access Level | Organization Only |
| Entity Type | D |
| Is Document | Yes |
| Is View | No |
| Has UUID | Yes |
| Parent Table | Bay_MasterOrderLine |
| Wiki | View on iDempiere Wiki |
Columns (104)
| Column | Type | Required | Default | Description |
|---|---|---|---|---|
AltProductName |
String(120) | No | - | - |
Bay_MasterOrderLine_ID |
Search(22) | No | - | The order line of the master product if this line belongs to a related product |
CCP_Coupon_ID |
Table Direct(22) | No | - | - |
CCP_CouponPromRule_ID |
Search(22) | No | - | - |
CCP_ExpirationDate |
Date+Time(7) | No | - | - |
CCP_LoyaltyTierPromRule_ID |
Search(22) | No | - | - |
CCP_LoyMembership_ID |
Search(22) | No | - | - |
CCP_PromAction_ID |
Search(22) | No | - | - |
CCP_Promotion_ID |
Search(22) | No | - | - |
CCP_PromRule_ID |
Search(22) | No | - | - |
CCP_Ref_OrderLine_ID |
Search(10) | No | - | - |
CCP_Wallet_ID |
Wallet(22) | No | - | - |
ConfirmedQty |
Quantity(32) | No | 0 | Confirmation of a received quantity |
CreateProduction |
Button(1) | No | N | - |
CreateShipment |
Button(1) | No | N | - |
GuaranteeMonths |
List(60) | No | - | Number of Months the product is guaranteed or available |
InternalNote |
Text(2000) | No | - | - |
InvoicingNote |
Text(2000) | No | - | - |
IsDescription |
Yes-No(1) | Yes | N | if true, the line is just description and no transaction |
IsStorageAllocated |
List(1) | No | - | Indicates if the Storage has been allocated |
JISSeq |
String(10) | No | - | - |
LinePriorityRule |
List(1) | Yes | 5 | - |
LineTotalAmt |
Amount(32) | No | - | Total line amount incl. Tax |
Link_OrderLine_ID |
Search(22) | No | - | This field links a sales order line to the purchase order line that is generated from it. |
LostSalesReason |
List(1) | No | - | Reason of Lost Sales |
MakeOrBuyRule |
List(1) | No | B | Method of how product is obtained in supply chain |
Margin |
Number(22) | No | - | Margin for a product as a percentage |
MarginAmt |
Amount(22) | No | - | Difference between actual and limit price multiplied by the quantity |
M_AttributeSetInstance_ID |
Product Attribute(22) | Yes | - | Product Attribute Set Instance |
M_HandlingUnitLine_ID |
Search(22) | No | - | - |
M_PriceList_Version_ID |
Search(10) | No | - | Identifies a unique instance of a Price List |
M_Product_ID |
Search(22) | No | - | Product, Service, Item |
M_Product_Name |
String(255) | No | - | - |
M_Product_Value |
String(255) | No | - | - |
M_Promotion_ID |
Table Direct(22) | No | - | - |
OrderLineStatus |
List(2) | No | ND | Filter lines based on his availability on source Warehouse |
PickedQty |
Quantity(10) | No | 0 | - |
PickingNote |
Text(2000) | No | - | - |
PlannedMargin |
Number(22) | No | - | Project's planned margin as a percentage |
PP_Cost_Collector_ID |
Search(22) | No | - | - |
PriceActual |
Costs+Prices(22) | Yes | - | Actual Price |
PriceEntered |
Costs+Prices(22) | Yes | - | Price Entered - the price based on the selected/base UoM |
Processed |
Yes-No(1) | Yes | - | The document has been processed |
QtyAllocated |
Quantity(22) | No | 0 | Allocated quantity |
QtyCredited |
Quantity(22) | No | 0 | Credited Quantity |
QtyEntered |
Quantity(22) | Yes | 1 | The Quantity Entered is based on the selected UoM |
QtyOrdered |
Quantity(22) | Yes | 1 | Ordered Quantity |
QtyReturned |
Quantity(22) | No | 0 | Returned Quantity |
QtyToInvoice |
Quantity(22) | No | 0 | - |
Ref_OrderLine_ID |
Search(22) | No | - | Reference to corresponding Sales/Purchase Order |
ShippingNote |
Text(2000) | No | - | - |
SKU |
String(30) | No | - | Stock Keeping Unit |
S_ResourceAssignment_ID |
Assignment(22) | No | - | Resource Assignment |
StorageAllocationState |
List(1) | No | N | - |
TaxAmt |
Amount(32) | No | - | Tax Amount for a document |
UPC |
String(30) | No | - | Bar Code (Universal Product Code or its superset European Article Number) |
VendorProductNo |
String(30) | No | - | Product Key of the Business Partner |
W_BasketLine_ID |
Search(22) | No | - | Web Basket Line |
WM_JisSequence_ID |
Search(10) | No | - | - |
WMSNote |
Text(2000) | No | - | - |
C_Order_ID |
Search(22) | Yes | - | Order |
Line |
Integer(22) | Yes | @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM C_OrderLine WHERE C_Order_ID=@C_Order_ID@ | Unique line for this document |
LineNetAmt |
Amount(22) | Yes | - | Line Extended Amount (Quantity x Actual Price) without Freight and Charges |
AD_Client_ID |
Table Direct(22) | Yes | @AD_Client_ID@ | Tenant for this installation. |
AD_Org_ID |
Table Direct(22) | Yes | @AD_Org_ID@ | Organizational entity within tenant |
AD_OrgTrx_ID |
Table(10) | No | - | Performing or initiating organization |
C_Activity_ID |
Table Direct(10) | No | - | Business Activity |
C_BPartner_ID |
Search(22) | No | @SQL=SELECT C_BPartner_ID AS DefaultValue FROM C_Order WHERE C_Order_ID=@C_Order_ID@ | Identifies a Business Partner |
C_BPartner_Location_ID |
Search(22) | Yes | @C_BPartner_Location_ID@ | Identifies the (ship to) address for this Business Partner |
C_Campaign_ID |
Table Direct(10) | No | - | Marketing Campaign |
C_Charge_ID |
Table Direct(22) | No | - | Additional document charges |
C_Currency_ID |
Table Direct(22) | Yes | @C_Currency_ID@ | The Currency for this record |
C_OrderLine_ID |
ID(22) | Yes | - | Sales Order Line |
C_OrderLine_UU |
String(36) | No | - | - |
C_Project_ID |
Table Direct(10) | No | - | Financial Project |
C_ProjectPhase_ID |
Table Direct(10) | No | - | Phase of a Project |
C_ProjectTask_ID |
Table Direct(10) | No | - | Actual Project Task in a Phase |
Created |
Date+Time(7) | Yes | SYSDATE | Date this record was created |
CreatedBy |
Search(22) | Yes | - | User who created this records |
C_Tax_ID |
Table Direct(22) | Yes | - | Tax identifier |
C_UOM_ID |
Table Direct(22) | Yes | @#C_UOM_ID@ | Unit of Measure |
DateDelivered |
Date(7) | No | - | Date when the product was delivered |
DateInvoiced |
Date(7) | No | - | Date printed on Invoice |
DateOrdered |
Date(7) | Yes | @DateOrdered@ | Date of Order |
DatePromised |
Date(7) | No | @DatePromised@ | Date Order was promised |
Description |
Text(2550) | No | - | Optional short description of the record |
Discount |
Number(22) | No | - | Discount in percent |
FreightAmt |
Amount(22) | Yes | - | Freight Amount |
IsActive |
Yes-No(1) | Yes | Y | The record is active in the system |
M_Shipper_ID |
Table(22) | No | @M_Shipper_ID@ | Method or manner of product delivery |
M_Warehouse_ID |
Table(22) | Yes | @M_Warehouse_ID@ | Storage Warehouse and Service Point |
PriceCost |
Costs+Prices(22) | No | - | Price per Unit of Measure including all indirect costs (Freight, etc.) |
PriceLimit |
Costs+Prices(22) | Yes | - | Lowest price for a product |
PriceList |
Costs+Prices(22) | Yes | - | List Price |
QtyDelivered |
Quantity(22) | Yes | - | Delivered Quantity |
QtyInvoiced |
Quantity(22) | Yes | - | Invoiced Quantity |
QtyLostSales |
Quantity(22) | Yes | - | Quantity of potential sales |
QtyReserved |
Quantity(22) | Yes | - | Reserved Quantity |
RRAmt |
Amount(22) | No | - | Revenue Recognition Amount |
RRStartDate |
Date+Time(7) | No | - | Revenue Recognition Start Date |
Updated |
Date+Time(7) | Yes | SYSDATE | Date this record was updated |
UpdatedBy |
Search(22) | Yes | - | User who updated this records |
User1_ID |
Search(10) | No | - | User defined element #1 |
User2_ID |
Search(10) | No | - | User defined element #2 |
Foreign Keys
| Column | References | Description |
|---|---|---|
Bay_MasterOrderLine_ID |
Bay_MasterOrderLine.Bay_MasterOrderLine_ID | The order line of the master product if this line belongs to a related product |
CCP_Coupon_ID |
CCP_Coupon.CCP_Coupon_ID | - |
CCP_CouponPromRule_ID |
CCP_CouponPromRule.CCP_CouponPromRule_ID | - |
CCP_LoyaltyTierPromRule_ID |
CCP_LoyaltyTierPromRule.CCP_LoyaltyTierPromRule_ID | - |
CCP_LoyMembership_ID |
CCP_LoyMembership.CCP_LoyMembership_ID | - |
CCP_PromAction_ID |
CCP_PromAction.CCP_PromAction_ID | - |
CCP_Promotion_ID |
CCP_Promotion.CCP_Promotion_ID | - |
CCP_PromRule_ID |
CCP_PromRule.CCP_PromRule_ID | - |
CCP_Ref_OrderLine_ID |
CCP_Ref_OrderLine.CCP_Ref_OrderLine_ID | - |
CCP_Wallet_ID |
CCP_Wallet.CCP_Wallet_ID | - |
Link_OrderLine_ID |
Link_OrderLine.Link_OrderLine_ID | This field links a sales order line to the purchase order line that is generated from it. |
M_AttributeSetInstance_ID |
M_AttributeSetInstance.M_AttributeSetInstance_ID | Product Attribute Set Instance |
M_HandlingUnitLine_ID |
M_HandlingUnitLine.M_HandlingUnitLine_ID | - |
M_PriceList_Version_ID |
M_PriceList_Version.M_PriceList_Version_ID | Identifies a unique instance of a Price List |
M_Product_ID |
M_Product.M_Product_ID | Product, Service, Item |
M_Promotion_ID |
M_Promotion.M_Promotion_ID | - |
PP_Cost_Collector_ID |
PP_Cost_Collector.PP_Cost_Collector_ID | - |
Ref_OrderLine_ID |
Ref_OrderLine.Ref_OrderLine_ID | Reference to corresponding Sales/Purchase Order |
S_ResourceAssignment_ID |
S_ResourceAssignment.S_ResourceAssignment_ID | Resource Assignment |
W_BasketLine_ID |
W_BasketLine.W_BasketLine_ID | Web Basket Line |
WM_JisSequence_ID |
WM_JisSequence.WM_JisSequence_ID | - |
C_Order_ID |
C_Order.C_Order_ID | Order |
AD_Client_ID |
AD_Client.AD_Client_ID | Tenant for this installation. |
AD_Org_ID |
AD_Org.AD_Org_ID | Organizational entity within tenant |
AD_OrgTrx_ID |
AD_OrgTrx.AD_OrgTrx_ID | Performing or initiating organization |
C_Activity_ID |
C_Activity.C_Activity_ID | Business Activity |
C_BPartner_ID |
C_BPartner.C_BPartner_ID | Identifies a Business Partner |
C_BPartner_Location_ID |
C_BPartner_Location.C_BPartner_Location_ID | Identifies the (ship to) address for this Business Partner |
C_Campaign_ID |
C_Campaign.C_Campaign_ID | Marketing Campaign |
C_Charge_ID |
C_Charge.C_Charge_ID | Additional document charges |
C_Currency_ID |
C_Currency.C_Currency_ID | The Currency for this record |
C_Project_ID |
C_Project.C_Project_ID | Financial Project |
C_ProjectPhase_ID |
C_ProjectPhase.C_ProjectPhase_ID | Phase of a Project |
C_ProjectTask_ID |
C_ProjectTask.C_ProjectTask_ID | Actual Project Task in a Phase |
C_Tax_ID |
C_Tax.C_Tax_ID | Tax identifier |
C_UOM_ID |
C_UOM.C_UOM_ID | Unit of Measure |
M_Shipper_ID |
M_Shipper.M_Shipper_ID | Method or manner of product delivery |
M_Warehouse_ID |
M_Warehouse.M_Warehouse_ID | Storage Warehouse and Service Point |
User1_ID |
User1.User1_ID | User defined element #1 |
User2_ID |
User2.User2_ID | User defined element #2 |
Generated on 2026-05-03T15:19:40.384795946Z