ERP/3.0/Developers Guide/Database Model/org.openbravo.model.common.order/C OrderLine
C_OrderLine
- Name:C_OrderLine
- Classname:OrderLine
This table contains the following columns:
Name | Nullable | Data Type | Description
|
User1_ID | Yes | VARCHAR (32) | The user defined element displays the optional elements that have been defined for this account combination. |
User2_ID | Yes | VARCHAR (32) | The user defined element displays the optional elements that have been defined for this account combination. |
IsActive | No | CHAR (1) | There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records:
(1) The system requires the record for auditing purposes. (2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions. |
A_Asset_ID | Yes | VARCHAR (32) | Any item of economic value owned by the corporation, especially that which could be converted to cash. |
M_AttributeSetInstance_ID | Yes | VARCHAR (32) | The values of the actual Product Attributes |
BOM_Parent_ID | Yes | VARCHAR (32) | |
grosspricestd | No | DECIMAL | |
C_BPartner_ID | Yes | VARCHAR (32) | A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these. |
C_Order_Discount_ID | Yes | VARCHAR (32) | |
C_Return_Reason_ID | Yes | VARCHAR (32) | |
CANCELPRICEAD | Yes | CHAR (1) | If the user wants not to apply promotions to a specific line, he should use this check to achieve it |
C_Charge_ID | Yes | VARCHAR (32) | The Charge indicates a type of Charge (Handling, Shipping, Restocking) |
ChargeAmt | Yes | DECIMAL | The Charge Amount indicates the amount for an additional charge. |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
C_Costcenter_ID | Yes | VARCHAR (32) | Division that adds to the cost of an organization. Internal structure for cost allocation. |
Create_Reservation | Yes | VARCHAR (60) | Determines if a reservation must be done when the sales order is processed. |
CreatedBy | No | VARCHAR (32) | The Created By field indicates the user who created this record. |
Created | No | TIMESTAMP (7) | The Created field indicates the date that this record was created. |
C_Currency_ID | No | VARCHAR (32) | Indicates the currency to be used when processing this document. |
DateDelivered | Yes | TIMESTAMP (7) | Date when the product was delivered |
QtyDelivered | No | DECIMAL | The Delivered Quantity indicates the quantity of a product that has already been delivered. |
Description | Yes | NVARCHAR (2000) | A description is limited to 255 characters. |
IsDescription | No | CHAR (1) | If a line is Description Only, e.g. Product Inventory is not corrected. No accounting transactions are created and the amount or totals are not included in the document. This for including descriptional detail lines, e.g. for an Work Order. |
DirectShip | No | CHAR (1) | Direct Shipment indicates if this line will ship directly from the vendor to the customer |
Discount | Yes | DECIMAL | The Discount indicates the discount applied or taken as a percentage. |
Iseditlinenetamt | Yes | CHAR (1) | A flag used to allow the end-user to edit Line Net Amount field. |
Explode | Yes | CHAR (1) | Explode the BOM product |
FreightAmt | No | DECIMAL | The Freight Amount indicates the amount charged for Freight in the document currency. |
M_Inoutline_ID | Yes | VARCHAR (32) | The Goods Shipment Line indicates a unique line in a Shipment document |
GrossPriceList | Yes | DECIMAL | The Gross List Price is the official price stated by the selected tax included pricelist and the currency of the document. |
Gross_Unit_Price | Yes | DECIMAL | This is the price that is provided when the price is inclusive of taxes. |
DateInvoiced | Yes | TIMESTAMP (7) | The Date Invoice indicates the date printed on the invoice. |
QtyInvoiced | No | DECIMAL | The Invoiced Quantity indicates the quantity of a product that have been invoiced. |
LineNetAmt | No | DECIMAL | Indicates the line net amount based on the quantity and the actual price. Any additional charges or freight are not included. |
Line | No | DECIMAL (10,0) | Indicates the unique line for a document. It will also control the display order of the lines within a document. |
Line_Gross_Amount | Yes | DECIMAL | This is the total amount against a line ( i.e product price * quantity + taxes ) |
PriceList | No | DECIMAL | The Net List Price is the official price stated by the selected pricelist and the currency of the document. |
Manage_Prereservation | Yes | CHAR (1) | |
Manage_Reservation | Yes | CHAR (1) | |
Aumqty | Yes | DECIMAL | The number of a certain item involved in the transaction, according to the defined Operative UOM. |
C_Aum | Yes | VARCHAR (32) | The Alternative UOM defines a unique non monetary unit of measure |
DateOrdered | No | TIMESTAMP (7) | Indicates the Date an item was ordered. |
QuantityOrder | Yes | DECIMAL |
Product quantity in the order uom. |
M_Product_Uom_Id | Yes | VARCHAR (32) | Alternative order UOM for the product. |
QtyOrdered | No | DECIMAL | The Ordered Quantity indicates the quantity of a product that was ordered. |
AD_Org_ID | No | VARCHAR (32) | An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations. |
Overdue_Return_Days | Yes | DECIMAL | Indicates if a Service is Returnable how many days has the customer to return it after buying |
C_BPartner_Location_ID | Yes | VARCHAR (32) | The Partner address indicates the location of a Business Partner |
M_Offer_ID | Yes | VARCHAR (32) | Promotion or Discount applied to a particular line (product) automatically by the system. |
PriceLimit | No | DECIMAL | The Net Price Limit indicates the lowest price for a product stated in the Price List Currency. |
Print_Description | No | CHAR (1) | If selected, the ticket footer printing should add the description of the Service |
M_Product_ID | No | VARCHAR (32) | Identifies an item which is either purchased or sold in this organization. |
C_Project_ID | Yes | VARCHAR (32) | Identifier of a project defined within the Project & Service Management module. |
Quotationline_ID | Yes | VARCHAR (32) | |
Replacedorderline_id | Yes | VARCHAR (32) | Link to the Order that has been replaced |
SO_Res_Status | Yes | VARCHAR (60) | Identifies if the Sales Order is completely or partially reserved |
QtyReserved | No | DECIMAL | The Reserved Quantity indicates the quantity of a product that is currently reserved for this order. |
S_ResourceAssignment_ID | Yes | VARCHAR (32) | The ID identifies a unique record |
Returnline | Yes | CHAR (1) | Identifies a return order line |
Ref_OrderLine_ID | Yes | VARCHAR (32) | Reference of the Sales Order Line to the corresponding Purchase Order Line or vice versa. |
C_Order_ID | No | VARCHAR (32) | Unique identifier and a reference to a Sales Order originating from the document sequence defined for this document type. |
C_OrderLine_ID | No | VARCHAR (32) | A unique identifier and a reference to a sales order line (product). |
Salesrep_ID | Yes | VARCHAR (32) | Indicates the sales representative responsible for the transaction that the document specifies . A valid sales representative is a business partner marked as an employee and a sales representative. |
DatePromised | Yes | TIMESTAMP (7) | Scheduled Delivery Date indicates the date, if any, that an order was promised by. |
Relate_Orderline | No | CHAR (1) | |
M_Shipper_ID | Yes | VARCHAR (32) | The Shipper is any entity which will provide shipping to or shipping from an Organization. |
PriceStd | No | DECIMAL | Net unit price before applying this promotion. In case multiple promotions are applied in cascade, this price is the one after applying all promotions with more priority than current one.
This field is populated in case the used price list does not include taxes. |
C_Tax_ID | No | VARCHAR (32) | The Tax indicates the type of tax for this document line. |
Taxbaseamt | Yes | DECIMAL | The Tax Base Amount indicates the base amount used for calculating the tax amount. |
C_UOM_ID | No | VARCHAR (32) | The UOM defines a unique non monetary unit of measure |
PriceActual | No | DECIMAL | The actual price indicates the price for a product in source currency. |
Updated | No | TIMESTAMP (7) | The Updated field indicates the date that this record was updated. |
UpdatedBy | No | VARCHAR (32) | The Updated By field indicates the user who updated this record. |
M_Warehouse_ID | No | VARCHAR (32) | The Warehouse identifies a unique Warehouse where products are stored or Services are provided. |
M_Warehouse_Rule_ID | Yes | VARCHAR (32) | Definition of a Warehouse Rule to be applied when getting stock from the warehouse. |
Columns
1st Dimension
- Physical column name: User1_ID
- Property Name: stDimension
- Reference: OBUISEL_Selector Reference
Foreign key column to User1 table, (column: User1_ID)
2nd Dimension
- Physical column name: User2_ID
- Property Name: ndDimension
- Reference: OBUISEL_Selector Reference
Foreign key column to User2 table, (column: User2_ID)
Active
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Asset
- Physical column name: A_Asset_ID
- Property Name: asset
- Reference: OBUISEL_Selector Reference
Foreign key column to A_Asset table, (column: A_Asset_ID)
Attribute Set Value
- Physical column name: M_AttributeSetInstance_ID
- Property Name: attributeSetValue
- Reference: PAttribute
Foreign key column to M_AttributeSetInstance table, (column: M_AttributeSetInstance_ID)
Callout: SL_Order_Amt
This column has a callout associated.
It is implemented by [1] Java Class.
BOM_Parent_ID
- Physical column name: BOM_Parent_ID
- Property Name: bOMParent
- Reference: Search
Foreign key column to C_OrderLine table, (column: C_OrderLine_ID)
Base Gross Unit Price
- Physical column name: grosspricestd
- Property Name: baseGrossUnitPrice
- Reference: Price
- Default value: 0
Business Partner
- Physical column name: C_BPartner_ID
- Property Name: businessPartner
- Reference: Search
Foreign key column to C_BPartner table, (column: C_BPartner_ID)
C_Order_Discount_ID
- Physical column name: C_Order_Discount_ID
- Property Name: orderDiscount
- Reference: TableDir
Foreign key column to C_Order_Discount table, (column: C_Order_Discount_ID)
C_Return_Reason_ID
- Physical column name: C_Return_Reason_ID
- Property Name: returnReason
- Reference: TableDir
Foreign key column to C_Return_Reason table, (column: C_Return_Reason_ID)
It has a validation "Return reason RFC/RTV", with the following code
(C_RETURN_REASON.ISRFC = @ISSOTRX@ OR C_RETURN_REASON.ISRTV=(case when @ISSOTRX@='N' then 'Y' else 'N' end))
Cancel Price Adjustment
- Physical column name: CANCELPRICEAD
- Property Name: cancelPriceAdjustment
- Reference: YesNo
- Default value: N
Callout: SL_Order_Amt
This column has a callout associated.
It is implemented by [2] Java Class.
Charge
- Physical column name: C_Charge_ID
- Property Name: charge
- Reference: TableDir
Foreign key column to C_Charge table, (column: C_Charge_ID)
Callout: SL_Order_Charge_Tax
This column has a callout associated.
It is implemented by [3] Java Class.
Charge Amount
- Physical column name: ChargeAmt
- Property Name: chargeAmount
- Reference: Amount
- Default value: 0
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
Foreign key column to AD_Client table, (column: AD_Client_ID)
Costcenter
- Physical column name: C_Costcenter_ID
- Property Name: costcenter
- Reference: OBUISEL_Selector Reference
Foreign key column to C_Costcenter table, (column: C_Costcenter_ID)
Create Reservation
- Physical column name: Create_Reservation
- Property Name: createReservation
- Reference: List
List values: Create_Reservation list
The allowed values for this list are:
- CR (Manual)
- CRP (Automatic)
Created By
- Physical column name: CreatedBy
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Creation Date
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
- Default value: SYSDATE
Currency
- Physical column name: C_Currency_ID
- Property Name: currency
- Reference: TableDir
Foreign key column to C_Currency table, (column: C_Currency_ID)
Date Delivered
- Physical column name: DateDelivered
- Property Name: dateDelivered
- Reference: Date
Delivered Quantity
- Physical column name: QtyDelivered
- Property Name: deliveredQuantity
- Reference: Quantity
- Default value: 0
Description
- Physical column name: Description
- Property Name: description
- Reference: Text
Description Only
- Physical column name: IsDescription
- Property Name: descriptionOnly
- Reference: YesNo
- Default value: N
Direct shipment
- Physical column name: DirectShip
- Property Name: directShipment
- Reference: YesNo
- Default value: N
Discount %
- Physical column name: Discount
- Property Name: discount
- Reference: Number
Callout: SL_Order_Amt
This column has a callout associated.
It is implemented by [4] Java Class.
Edit Line Amount
- Physical column name: Iseditlinenetamt
- Property Name: editLineAmount
- Reference: YesNo
- Default value: N
Explode
- Physical column name: Explode
- Property Name: explode
- Reference: Button
- Default value: N
Freight Amount
- Physical column name: FreightAmt
- Property Name: freightAmount
- Reference: Amount
- Default value: 0
Goods Shipment Line
- Physical column name: M_Inoutline_ID
- Property Name: goodsShipmentLine
- Reference: OBUISEL_Selector Reference
Foreign key column to M_InOutLine table, (column: M_InOutLine_ID)
Gross List Price
- Physical column name: GrossPriceList
- Property Name: grossListPrice
- Reference: Number
Gross_Unit_Price
- Physical column name: Gross_Unit_Price
- Property Name: grossUnitPrice
- Reference: Price
- Default value: 0
Callout: SL_Order_Amt
This column has a callout associated.
It is implemented by [5] Java Class.
Invoice Date
- Physical column name: DateInvoiced
- Property Name: invoiceDate
- Reference: Date
Invoiced Quantity
- Physical column name: QtyInvoiced
- Property Name: invoicedQuantity
- Reference: Quantity
- Default value: 0
Line Net Amount
- Physical column name: LineNetAmt
- Property Name: lineNetAmount
- Reference: Amount
- Default value: 0
- This column is part of the table's identifier
Callout: SL_Order_Amt
This column has a callout associated.
It is implemented by [6] Java Class.
Line No.
- Physical column name: Line
- Property Name: lineNo
- Reference: Integer
- This column is part of the table's identifier
Line_Gross_Amount
- Physical column name: Line_Gross_Amount
- Property Name: lineGrossAmount
- Reference: Amount
- Default value: 0
List Price
- Physical column name: PriceList
- Property Name: listPrice
- Reference: Price
- Default value: 0
Callout: SL_Order_Amt
This column has a callout associated.
It is implemented by [7] Java Class.
Manage_Prereservation
- Physical column name: Manage_Prereservation
- Property Name: managePrereservation
- Reference: Button
Manage_Reservation
- Physical column name: Manage_Reservation
- Property Name: manageReservation
- Reference: Button
Operative Quantity
- Physical column name: Aumqty
- Property Name: operativeQuantity
- Reference: Quantity
Callout: OperativeQuantity_To_BaseQuantity
This column has a callout associated.
It is implemented by [8] Java Class.
Operative UOM
- Physical column name: C_Aum
- Property Name: operativeUOM
- Reference: Table
Foreign key column to C_UOM table, (column: C_UOM_ID)
It has a validation "UOM Validation", with the following code
td0.c_uom_id IN(select p.c_uom_id from m_product p where p.m_product_id = @M_Product_ID@) or td0.c_uom_id IN(select a.c_uom_id from m_product_aum a where a.m_product_id = @M_Product_ID@ and ((@IsSOTrx@ = 'Y' and a.sales <> 'NA') OR (@IsSOTrx@ <> 'Y' and a.purchase <> 'NA')) and a.isactive='Y')
Callout: OperativeQuantity_To_BaseQuantity
This column has a callout associated.
It is implemented by [9] Java Class.
Order Date
- Physical column name: DateOrdered
- Property Name: orderDate
- Reference: Date
Order Quantity
- Physical column name: QuantityOrder
- Property Name: orderQuantity
- Reference: Quantity
Callout: SL_Order_Conversion
This column has a callout associated.
It is implemented by [10] Java Class.
Order UOM
- Physical column name: M_Product_Uom_Id
- Property Name: orderUOM
- Reference: OBUISEL_Selector Reference
Foreign key column to M_Product_UOM table, (column: M_Product_Uom_Id)
Callout: SL_Order_Conversion
This column has a callout associated.
It is implemented by [11] Java Class.
Ordered Quantity
- Physical column name: QtyOrdered
- Property Name: orderedQuantity
- Reference: Quantity
- Default value: 0
Callout: SL_Order_Amt
This column has a callout associated.
It is implemented by [12] Java Class.
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
It has a validation "AD_Org show child organizations", with the following code
AD_ISORGINCLUDED(ad_org.ad_org_id, CASE WHEN (@Parent_AD_Org@ IS NULL OR @Parent_AD_Org@ = ) THEN @AD_ORG_ID@ ELSE @Parent_AD_Org@ END, ad_org.ad_client_id)<>-1 AND IsReady='Y'
Overdue Return Days
- Physical column name: Overdue_Return_Days
- Property Name: overdueReturnDays
- Reference: Integer
Partner Address
- Physical column name: C_BPartner_Location_ID
- Property Name: partnerAddress
- Reference: TableDir
Foreign key column to C_BPartner_Location table, (column: C_BPartner_Location_ID)
It has a validation "C_BPartner Location - Ship To", with the following code
C_BPartner_Location.C_BPartner_ID=@C_BPartner_ID@ AND C_BPartner_Location.IsShipTo='Y' AND C_BPartner_Location.IsActive='Y'
Callout: SL_Order_Tax
This column has a callout associated.
It is implemented by [13] Java Class.
Price Adjustment
- Physical column name: M_Offer_ID
- Property Name: priceAdjustment
- Reference: OBUISEL_Selector Reference
Foreign key column to M_Offer table, (column: M_Offer_ID)
Price Limit
- Physical column name: PriceLimit
- Property Name: priceLimit
- Reference: Price
- Default value: 0
Print Description
- Physical column name: Print_Description
- Property Name: printDescription
- Reference: YesNo
- Default value: N
Product
- Physical column name: M_Product_ID
- Property Name: product
- Reference: Search
Foreign key column to M_Product table, (column: M_Product_ID)
Callout: SL_Order_Product
This column has a callout associated.
It is implemented by [14] Java Class.
Project
- Physical column name: C_Project_ID
- Property Name: project
- Reference: Search
Foreign key column to C_Project table, (column: C_Project_ID)
Quotation Line
- Physical column name: Quotationline_ID
- Property Name: quotationLine
- Reference: Search
Foreign key column to C_OrderLine table, (column: C_OrderLine_ID)
Replacedorderline
- Physical column name: Replacedorderline_id
- Property Name: replacedorderline
- Reference: Table
Foreign key column to C_OrderLine table, (column: C_OrderLine_ID)
Reservation Status
- Physical column name: SO_Res_Status
- Property Name: reservationStatus
- Reference: List
List values: SO_Res_Status
The allowed values for this list are:
- PR (Partially Reserved)
- NR (Not Reserved)
- CR (Completely Reserved)
Reserved Quantity
- Physical column name: QtyReserved
- Property Name: reservedQuantity
- Reference: Quantity
- Default value: 0
Resource Assignment
- Physical column name: S_ResourceAssignment_ID
- Property Name: resourceAssignment
- Reference: Assignment
Foreign key column to S_ResourceAssignment table, (column: S_ResourceAssignment_ID)
Returnline
- Physical column name: Returnline
- Property Name: returnline
- Reference: String
SO/PO Reference
- Physical column name: Ref_OrderLine_ID
- Property Name: sOPOReference
- Reference: Search
Foreign key column to C_OrderLine table, (column: C_OrderLine_ID)
Sales Order
- Physical column name: C_Order_ID
- Property Name: salesOrder
- Reference: Search
- This column is part of the table's identifier
- This column is a child for a business object (is Parent)
Foreign key column to C_Order table, (column: C_Order_ID)
Sales Order Line
- Physical column name: C_OrderLine_ID
- Property Name: id
- Reference: ID
Sales Representative
- Physical column name: Salesrep_ID
- Property Name: salesRepresentative
- Reference: Table
Foreign key column to AD_User table, (column: AD_User_ID)
It has a validation "AD_User - Org Tree", with the following code
AD_ISORGINCLUDED(@AD_Org_ID@, td0.AD_Org_ID, @#AD_Client_ID@) <> '-1'
Scheduled Delivery Date
- Physical column name: DatePromised
- Property Name: scheduledDeliveryDate
- Reference: Date
Select Order Line
- Physical column name: Relate_Orderline
- Property Name: selectOrderLine
- Reference: Button
- Default value: N
Shipping Company
- Physical column name: M_Shipper_ID
- Property Name: shippingCompany
- Reference: TableDir
Foreign key column to M_Shipper table, (column: M_Shipper_ID)
Standard Price
- Physical column name: PriceStd
- Property Name: standardPrice
- Reference: Price
- Default value: 0
Tax
- Physical column name: C_Tax_ID
- Property Name: tax
- Reference: Table
Foreign key column to C_Tax table, (column: C_Tax_ID)
It has a validation "C_Tax_IsSOTrx_Date", with the following code
C_TAX.VALIDFROM<=COALESCE(@DateInvoiced@,@DateOrdered@) AND (C_TAX.SOPOTYPE =(CASE WHEN @IsSOTrx@ = 'Y' THEN 'S' ELSE 'P' END) OR C_TAX.SOPOTYPE = 'B') AND C_TAX.AD_CLIENT_ID=@AD_CLIENT_ID@ AND C_TAX.C_TAX_ID=(CASE WHEN @IsSOTrx@ = 'Y' AND EXISTS(SELECT 1 FROM AD_ORGINFO WHERE ISTAXUNDEDUCTABLE='Y' AND AD_ORG_ID=@AD_ORG_ID@) THEN (SELECT C_TAX_ID FROM AD_ORGINFO WHERE ISTAXUNDEDUCTABLE='Y' AND AD_ORG_ID=@AD_ORG_ID@) ELSE C_TAX.C_TAX_ID END)
Callout: SL_Order_Amt
This column has a callout associated.
It is implemented by [15] Java Class.
Taxable Amount
- Physical column name: Taxbaseamt
- Property Name: taxableAmount
- Reference: Amount
UOM
- Physical column name: C_UOM_ID
- Property Name: uOM
- Reference: TableDir
Foreign key column to C_UOM table, (column: C_UOM_ID)
Unit Price
- Physical column name: PriceActual
- Property Name: unitPrice
- Reference: Price
- Default value: 0
Callout: SL_Order_Amt
This column has a callout associated.
It is implemented by [16] Java Class.
Updated
- Physical column name: Updated
- Property Name: updated
- Reference: DateTime
- Default value: SYSDATE
Updated By
- Physical column name: UpdatedBy
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Warehouse
- Physical column name: M_Warehouse_ID
- Property Name: warehouse
- Reference: Table
Foreign key column to M_Warehouse table, (column: M_Warehouse_ID)
Warehouse Rule
- Physical column name: M_Warehouse_Rule_ID
- Property Name: warehouseRule
- Reference: TableDir
Foreign key column to M_Warehouse_Rule table, (column: M_Warehouse_Rule_ID)
Other Info
Indices
These are the indices for this table (for each index there is a list of all the columns included within it):
- C_ORDERLINE_BOMPARENT Not Unique. Columns:
- BOM_PARENT_ID
- C_ORDERLINE_C_RETURN_REASON Not Unique. Columns:
- C_RETURN_REASON_ID
- C_ORDERLINE_INOUTLINE Not Unique. Columns:
- M_INOUTLINE_ID
- C_ORDERLINE_ORDER Not Unique. Columns:
- C_ORDER_ID
- functionBasedColumn
- C_ORDERLINE_ORDER2 Not Unique. Columns:
- C_ORDER_ID
- functionBasedColumn
- C_ORDERLINE_PRODUCT Not Unique. Columns:
- M_PRODUCT_ID
- C_ORDERLINE_QUOTATIONLINE Not Unique. Columns:
- QUOTATIONLINE_ID
- C_ORDERLINE_REFORDERLINE Not Unique. Columns:
- REF_ORDERLINE_ID
- C_ORDERLINE_RET_PENDING Not Unique. Columns:
- RETURNLINE
- functionBasedColumn
Check Constraints
These are the check constraints for this table:
- C_ORDERLINE_CHECK1: QUANTITYORDER IS NULL AND M_PRODUCT_UOM_ID IS NULL OR QUANTITYORDER IS NOT NULL AND M_PRODUCT_UOM_ID IS NOT NULL
- C_ORDERLINE_CHECK2: LINENETAMT = 0 OR C_TAX_ID IS NOT NULL
- C_ORDERLINE_DIRECTSHIP_CHECK: DIRECTSHIP IN ('Y', 'N')
- C_ORDERLINE_EXPLODE_CHECK: EXPLODE IN ('Y', 'N')
- C_ORDERLINE_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
- C_ORDERLINE_PRINTDESC_CHECK: PRINT_DESCRIPTION IN ('Y', 'N')
![]() | Back to org.openbravo.model.common.order |