Order
C_Order
Order
Overview
| Table Name | C_Order |
|---|---|
| Access Level | Organization Only |
| Entity Type | D |
| Is Document | Yes |
| Is View | No |
| Has UUID | Yes |
| Parent Table | AD_OrgTrx |
| Wiki | View on iDempiere Wiki |
Columns (133)
| Column | Type | Required | Default | Description |
|---|---|---|---|---|
AD_OrgTrx_ID |
Table(22) | No | - | Performing or initiating organization |
Bill_BPartner_ID |
Search(22) | No | - | Business Partner to be invoiced |
Bill_Location_ID |
Table(22) | No | - | Business Partner Location for invoicing |
Bill_User_ID |
Table(22) | No | - | Business Partner Contact for invoicing |
C_CashPlanLine_ID |
Search(10) | No | - | - |
C_Contract_ID |
Search(10) | No | - | - |
C_ConversionType_ID |
Table Direct(22) | No | - | Currency Conversion Rate Type |
CCP_CreateCouponRedemption |
Button(1) | No | - | - |
CCP_CreatePointsRedemptionLine |
Button(1) | No | - | - |
CCP_CreateWalletRechargeLine |
Button(1) | No | - | - |
CCP_CreateWalletSpendLine |
Button(1) | No | - | - |
CCP_EvaluatePromotion |
Button(1) | No | - | - |
CopyFrom |
Button(1) | No | - | Copy From Record |
C_OrderCategory_ID |
Table Direct(10) | No | @SQL=SELECT C_OrderCategory_ID AS DefaultValue FROM C_OrderCategory WHERE IsDefault = 'Y' AND AD_Client_ID IN (0, @AD_Client_ID@) AND (SOPOType = 'B' OR (CASE WHEN '@IsSOTrx@' = 'Y' THEN SOPOType = 'S' ELSE SOPOType = 'P' END)) | - |
C_OrderStatus_ID |
Table Direct(10) | No | @SQL=SELECT C_OrderStatus_ID AS DefaultValue FROM C_OrderStatus WHERE IsDefault = 'Y' AND AD_Client_ID IN (0, @#AD_Client_ID@) FETCH FIRST ROW ONLY | - |
C_ShippingRegion_ID |
Table(10) | No | - | Shipping coverage region |
CurrencyRoundAmt |
Amount(22) | No | 0 | - |
CustomerServRep_ID |
Table(10) | No | - | Customer Service Representative or ServiceDesk Agent |
DatePlanShip |
Date(10) | No | - | Date Order was plan when to Ship from Warehouse |
Driver_ID |
Table(10) | No | - | Driver is the person who is driving a vehicle, such as a car, carriage, truck. |
DropShip_BPartner_ID |
Search(22) | No | - | Business Partner to ship to |
DropShip_Location_ID |
Table(22) | No | - | Business Partner Location for shipping to |
DropShip_POReference |
String(20) | No | - | Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner |
DropShip_User_ID |
Table(22) | No | - | Business Partner Contact for drop shipment |
EstimatedPayDate |
Date(7) | No | - | Date Estimated Payment made |
InternalNote |
Text(2000) | No | - | - |
InvoicingNote |
Text(2000) | No | - | - |
IsAlternativeLineValid |
Yes-No(1) | No | N | Is the Alternative Line is valid |
IsDropShip |
Yes-No(1) | Yes | N | Drop Shipments are sent directly to the Drop Shipment Location |
IsExcludeAutoInvoice |
Yes-No(1) | No | N | Exclude from automatic Invoicing |
IsInDispute |
Yes-No(1) | Yes | N | Document is in dispute |
IsPayScheduleValid |
Yes-No(1) | Yes | N | Is the Payment Schedule is valid |
IsPriviledgedRate |
Yes-No(1) | Yes | N | - |
IsProposal |
Yes-No(1) | Yes | N | This is a Proposal Transaction |
IsQuoteConverted |
Yes-No(1) | No | N | Quote has been already converted |
IsSelfService |
Yes-No(1) | Yes | - | This is a Self-Service entry or this entry can be changed via Self-Service |
LastRepriceDate |
Date+Time(7) | No | - | - |
LinesCount |
Integer(10) | No | 0 | Counted Lines in Document |
Link_Order_ID |
Search(22) | No | - | This field links a sales order to the purchase order that is generated from it. |
M_FreightCategory_ID |
Table Direct(1) | No | - | Category of the Freight |
OrderAge |
Integer(10) | No | 0 | Age of Orded calculated in Days |
OrderNote |
String(1000) | No | - | Order Processing Note |
OrderStatus |
List(2) | No | PE | - |
Pay_BPartner_ID |
ID(22) | No | - | Business Partner responsible for the payment |
Pay_Location_ID |
ID(22) | No | - | Location of the Business Partner responsible for the payment |
PaymentReference |
String(20) | No | - | Reference Number of your Payment |
PickingNote |
Text(2000) | No | - | - |
Postal_Location_ID |
Table(10) | No | - | Business Partner Location for Mailing |
PrepaymentAmt |
Amount(32) | No | - | Prepayment Amt is paid before the line items are shipped. |
ProcessedOn |
Number(20) | No | - | The date+time (expressed in decimal format) when the document has been processed |
PromotionCode |
String(30) | No | - | User entered promotion code at sales time |
Proposal_Order_ID |
Search(10) | No | - | Linked Proposal Order from which was current Order created |
QuotationOrder_ID |
Search(10) | No | - | Quotation used for generating this order |
Ref_Order_ID |
Search(22) | No | - | Reference to corresponding Sales/Purchase Order |
SalesRep2_ID |
Table(22) | No | - | Sales Representative or Company Agent |
SendEMail |
Yes-No(1) | Yes | - | Enable sending Document EMail |
ShippingNote |
Text(2000) | No | - | - |
ShippingRateInquiry |
Button(1) | No | - | - |
ShipVolume |
Number(22) | No | 0 | Sales Order Allocated Qty or Deliverd Qty total Volume |
ShipWeight |
Number(22) | No | 0 | Sales Order Allocated Qty or Deliverd Qty total Weight |
SOCreditStatus |
List(1) | Yes | O | Business Partner Credit Status |
TaxAmtTotal |
Amount(32) | No | 0 | Total Tax Amount for a document |
User1_ID |
Search(22) | No | - | User defined element #1 |
User2_ID |
Search(22) | No | - | User defined element #2 |
Vehicle_ID |
Table(10) | No | - | Vehicle |
WarehouseStatus |
List(2) | No | - | - |
WMSNote |
Text(2000) | No | - | - |
W_Store_ID |
Table(10) | No | - | A Web Store of the Tenant |
DocumentNo |
String(30) | Yes | - | Document sequence number of the document |
C_OrderSource_ID |
Table Direct(10) | No | - | - |
C_POS_ID |
Table Direct(10) | No | - | Point of Sales Terminal |
AmountTendered |
Amount(22) | No | - | - |
AmountRefunded |
Amount(22) | No | - | - |
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_User_ID |
Table(22) | No | -1 | User within the system - Internal or Business Partner Contact |
C_Activity_ID |
Table Direct(22) | No | - | Business Activity |
C_BPartner_ID |
Search(22) | Yes | - | Identifies a Business Partner |
C_BPartner_Location_ID |
Table(22) | Yes | - | Identifies the (ship to) address for this Business Partner |
C_Campaign_ID |
Table Direct(22) | No | - | Marketing Campaign |
C_CashLine_ID |
Search(22) | No | - | Cash Journal Line |
C_Charge_ID |
Table(22) | No | - | Additional document charges |
C_Currency_ID |
Table Direct(22) | Yes | @C_Currency_ID@ | The Currency for this record |
C_DocType_ID |
Table Direct(22) | Yes | 0 | Document type or rules |
C_DocTypeTarget_ID |
Table(22) | Yes | - | Target document type for conversing documents |
ChargeAmt |
Amount(22) | No | - | Charge Amount |
C_Opportunity_ID |
Table Direct(10) | No | - | - |
C_Order_ID |
ID(22) | Yes | - | Order |
C_Order_UU |
String(36) | No | - | - |
C_Payment_ID |
Search(22) | No | - | Payment identifier |
C_PaymentTerm_ID |
Table Direct(22) | Yes | -1 | The terms of Payment (timing, discount) |
C_Project_ID |
Table Direct(22) | No | - | Financial Project |
Created |
Date+Time(7) | Yes | SYSDATE | Date this record was created |
CreatedBy |
Search(22) | Yes | - | User who created this records |
DateAcct |
Date(7) | Yes | @#Date@ | Accounting Date |
DateOrdered |
Date(7) | Yes | @#Date@ | Date of Order |
DatePrinted |
Date(7) | No | - | Date the document was printed. |
DatePromised |
Date(7) | Yes | @#Date@ | Date Order was promised |
DeliveryRule |
List(1) | Yes | F | Defines the timing of Delivery |
DeliveryViaRule |
List(1) | Yes | D | How the order will be delivered |
Description |
Text(512) | No | - | Optional short description of the record |
DocAction |
Button(2) | Yes | CO | The targeted status of the document |
DocStatus |
List(2) | Yes | DR | The current status of the document |
FreightAmt |
Amount(22) | Yes | - | Freight Amount |
FreightCostRule |
List(1) | Yes | I | Method for charging Freight |
GrandTotal |
Amount(22) | Yes | - | Total amount of document |
InvoiceRule |
List(1) | Yes | I | Frequency and method of invoicing |
IsActive |
Yes-No(1) | Yes | Y | The record is active in the system |
IsApproved |
Yes-No(1) | Yes | N | Indicates if this document requires approval |
IsCreditApproved |
Yes-No(1) | Yes | - | Credit has been approved |
IsDelivered |
Yes-No(1) | Yes | - | - |
IsDiscountPrinted |
Yes-No(1) | Yes | - | Print Discount on Invoice and Order |
IsInvoiced |
Yes-No(1) | Yes | - | Is this invoiced? |
IsPrinted |
Yes-No(1) | Yes | - | Indicates if this document / line is printed |
IsSelected |
Yes-No(1) | Yes | - | - |
IsSOTrx |
Yes-No(1) | Yes | @IsSOTrx@ | This is a Sales Transaction |
IsTaxIncluded |
Yes-No(1) | Yes | - | Tax is included in the price |
IsTransferred |
Yes-No(1) | Yes | - | Transferred to General Ledger (i.e. accounted) |
M_PriceList_ID |
Table Direct(22) | No | - | Unique identifier of a Price List |
M_Shipper_ID |
Table(22) | No | - | Method or manner of product delivery |
M_Warehouse_ID |
Table Direct(22) | Yes | - | Storage Warehouse and Service Point |
PaymentRule |
Payment(1) | Yes | B | How you pay the invoice |
POReference |
String(50) | No | - | Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner |
Posted |
Button(1) | Yes | N | Posting status |
PriorityRule |
List(1) | Yes | 5 | Priority of a document |
Processed |
Yes-No(1) | Yes | - | The document has been processed |
Processing |
Button(1) | No | - | - |
SalesRep_ID |
Table(22) | Yes | - | Sales Representative or Company Agent |
TotalLines |
Amount(22) | Yes | - | Total of all document lines |
Updated |
Date+Time(7) | Yes | SYSDATE | Date this record was updated |
UpdatedBy |
Search(22) | Yes | - | User who updated this records |
Volume |
Number(22) | No | - | Volume of a product |
Weight |
Number(22) | No | - | Weight of a product |
Foreign Keys
| Column | References | Description |
|---|---|---|
AD_OrgTrx_ID |
AD_OrgTrx.AD_OrgTrx_ID | Performing or initiating organization |
Bill_BPartner_ID |
Bill_BPartner.Bill_BPartner_ID | Business Partner to be invoiced |
Bill_Location_ID |
Bill_Location.Bill_Location_ID | Business Partner Location for invoicing |
Bill_User_ID |
Bill_User.Bill_User_ID | Business Partner Contact for invoicing |
C_CashPlanLine_ID |
C_CashPlanLine.C_CashPlanLine_ID | - |
C_Contract_ID |
C_Contract.C_Contract_ID | - |
C_ConversionType_ID |
C_ConversionType.C_ConversionType_ID | Currency Conversion Rate Type |
C_OrderCategory_ID |
C_OrderCategory.C_OrderCategory_ID | - |
C_OrderStatus_ID |
C_OrderStatus.C_OrderStatus_ID | - |
C_ShippingRegion_ID |
C_ShippingRegion.C_ShippingRegion_ID | Shipping coverage region |
CustomerServRep_ID |
CustomerServRep.CustomerServRep_ID | Customer Service Representative or ServiceDesk Agent |
Driver_ID |
Driver.Driver_ID | Driver is the person who is driving a vehicle, such as a car, carriage, truck. |
DropShip_BPartner_ID |
DropShip_BPartner.DropShip_BPartner_ID | Business Partner to ship to |
DropShip_Location_ID |
DropShip_Location.DropShip_Location_ID | Business Partner Location for shipping to |
DropShip_User_ID |
DropShip_User.DropShip_User_ID | Business Partner Contact for drop shipment |
Link_Order_ID |
Link_Order.Link_Order_ID | This field links a sales order to the purchase order that is generated from it. |
M_FreightCategory_ID |
M_FreightCategory.M_FreightCategory_ID | Category of the Freight |
Pay_BPartner_ID |
Pay_BPartner.Pay_BPartner_ID | Business Partner responsible for the payment |
Pay_Location_ID |
Pay_Location.Pay_Location_ID | Location of the Business Partner responsible for the payment |
Postal_Location_ID |
Postal_Location.Postal_Location_ID | Business Partner Location for Mailing |
Proposal_Order_ID |
Proposal_Order.Proposal_Order_ID | Linked Proposal Order from which was current Order created |
QuotationOrder_ID |
QuotationOrder.QuotationOrder_ID | Quotation used for generating this order |
Ref_Order_ID |
Ref_Order.Ref_Order_ID | Reference to corresponding Sales/Purchase Order |
SalesRep2_ID |
SalesRep2.SalesRep2_ID | Sales Representative or Company Agent |
User1_ID |
User1.User1_ID | User defined element #1 |
User2_ID |
User2.User2_ID | User defined element #2 |
Vehicle_ID |
Vehicle.Vehicle_ID | Vehicle |
W_Store_ID |
W_Store.W_Store_ID | A Web Store of the Tenant |
C_OrderSource_ID |
C_OrderSource.C_OrderSource_ID | - |
C_POS_ID |
C_POS.C_POS_ID | Point of Sales Terminal |
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_User_ID |
AD_User.AD_User_ID | User within the system - Internal or Business Partner Contact |
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_CashLine_ID |
C_CashLine.C_CashLine_ID | Cash Journal Line |
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_DocType_ID |
C_DocType.C_DocType_ID | Document type or rules |
C_DocTypeTarget_ID |
C_DocTypeTarget.C_DocTypeTarget_ID | Target document type for conversing documents |
C_Opportunity_ID |
C_Opportunity.C_Opportunity_ID | - |
C_Payment_ID |
C_Payment.C_Payment_ID | Payment identifier |
C_PaymentTerm_ID |
C_PaymentTerm.C_PaymentTerm_ID | The terms of Payment (timing, discount) |
C_Project_ID |
C_Project.C_Project_ID | Financial Project |
M_PriceList_ID |
M_PriceList.M_PriceList_ID | Unique identifier of a Price List |
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 |
SalesRep_ID |
SalesRep.SalesRep_ID | Sales Representative or Company Agent |
Generated on 2026-05-03T15:21:36.916810751Z