| 
  | Column | Type | Size | Nulls | Auto | Default | Children | Parents |  
 | c_order_id | numeric | 10 |  |  |  |  |  |  
 | ad_client_id | numeric | 10 |  |  |  |  |  |  
 | ad_org_id | numeric | 10 |  |  |  |  |  |  
 | isactive | bpchar | 1 |  |  | 'Y'::bpchar |  |  |  
 | created | timestamp | 29,6 |  |  | now() |  |  |  
 | createdby | numeric | 10 |  |  |  |  |  |  
 | updated | timestamp | 29,6 |  |  | now() |  |  |  
 | updatedby | numeric | 10 |  |  |  |  |  |  
 | issotrx | bpchar | 1 |  |  | 'Y'::bpchar |  |  |  
 | documentno | varchar | 30 |  |  |  |  |  |  
 | docstatus | bpchar | 2 |  |  |  |  |  |  
 | docaction | bpchar | 2 |  |  |  |  |  |  
 | processing | bpchar | 1 | √ |  | null |  |  |  
 | processed | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | c_doctype_id | numeric | 10 |  |  |  |  |  |  
 | c_doctypetarget_id | numeric | 10 |  |  |  |  | 
   
    | c_doctype.c_doctype_id | cdoctypetarget_corder R |  |  
 | description | varchar | 255 | √ |  | null |  |  |  
 | isapproved | bpchar | 1 |  |  | 'Y'::bpchar |  |  |  
 | iscreditapproved | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | isdelivered | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | isinvoiced | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | isprinted | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | istransferred | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | isselected | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | salesrep_id | numeric | 10 | √ |  | null |  |  |  
 | dateordered | timestamp | 29,6 |  |  |  |  |  |  
 | datepromised | timestamp | 29,6 | √ |  | null |  |  |  
 | dateprinted | timestamp | 29,6 | √ |  | null |  |  |  
 | dateacct | timestamp | 29,6 |  |  |  |  |  |  
 | c_bpartner_id | numeric | 10 |  |  |  |  |  |  
 | c_bpartner_location_id | numeric | 10 |  |  |  |  |  |  
 | poreference | varchar | 20 | √ |  | null |  |  |  
 | isdiscountprinted | bpchar | 1 |  |  | 'Y'::bpchar |  |  |  
 | c_currency_id | numeric | 10 |  |  |  |  |  |  
 | paymentrule | bpchar | 1 |  |  |  |  |  |  
 | c_paymentterm_id | numeric | 10 |  |  |  |  |  |  
 | invoicerule | bpchar | 1 |  |  |  |  |  |  
 | deliveryrule | bpchar | 1 |  |  |  |  |  |  
 | freightcostrule | bpchar | 1 |  |  |  |  |  |  
 | freightamt | numeric | 0 | √ |  | 0 |  |  |  
 | deliveryviarule | bpchar | 1 |  |  |  |  |  |  
 | m_shipper_id | numeric | 10 | √ |  | null |  |  |  
 | c_charge_id | numeric | 10 | √ |  | null |  |  |  
 | chargeamt | numeric | 0 | √ |  | 0 |  |  |  
 | priorityrule | bpchar | 1 |  |  |  |  |  |  
 | totallines | numeric | 0 |  |  | 0 |  |  |  
 | grandtotal | numeric | 0 |  |  | 0 |  |  |  
 | m_warehouse_id | numeric | 10 |  |  |  |  |  |  
 | m_pricelist_id | numeric | 10 |  |  |  |  |  |  
 | istaxincluded | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | c_campaign_id | numeric | 10 | √ |  | null |  |  |  
 | c_project_id | numeric | 10 | √ |  | null |  |  |  
 | c_activity_id | numeric | 10 | √ |  | null |  |  |  
 | posted | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | c_payment_id | numeric | 10 | √ |  | null |  |  |  
 | c_cashline_id | numeric | 10 | √ |  | null |  |  |  
 | sendemail | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | ad_user_id | numeric | 10 | √ |  | null |  |  |  
 | copyfrom | bpchar | 1 | √ |  | null |  |  |  
 | isselfservice | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | ad_orgtrx_id | numeric | 10 | √ |  | null |  |  |  
 | user1_id | numeric | 10 | √ |  | null |  |  |  
 | user2_id | numeric | 10 | √ |  | null |  |  |  
 | c_conversiontype_id | numeric | 10 | √ |  | null |  |  |  
 | bill_bpartner_id | numeric | 10 | √ |  | null |  |  |  
 | bill_location_id | numeric | 10 | √ |  | null |  |  |  
 | bill_user_id | numeric | 10 | √ |  | null |  |  |  
 | pay_bpartner_id | numeric | 10 | √ |  | null |  |  |  
 | pay_location_id | numeric | 10 | √ |  | null |  |  |  
 | ref_order_id | numeric | 10 | √ |  | null |  |  |  
 | isdropship | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | volume | numeric | 0 | √ |  | null |  |  |  
 | weight | numeric | 0 | √ |  | null |  |  |  
 | ordertype | varchar | 510 | √ |  | null |  |  |  
 | c_pos_id | numeric | 10 | √ |  | null |  |  |  
 | amounttendered | numeric | 22,2 | √ |  | null |  |  |  
 | amountrefunded | numeric | 22,2 | √ |  | null |  |  |  
 | link_order_id | numeric | 10 | √ |  | null |  | 
   
    | c_order.c_order_id | linkorder_corder R |  |  
 | m_freightcategory_id | numeric | 10 | √ |  | NULL::numeric |  |  |  
 | dropship_bpartner_id | numeric | 10 | √ |  | null |  |  |  
 | dropship_location_id | numeric | 10 | √ |  | null |  |  |  
 | dropship_user_id | numeric | 10 | √ |  | null |  |  |  
 | promotioncode | varchar | 30 | √ |  | null |  |  |  
 | c_ordersource_id | numeric | 10 | √ |  | null |  |  |  
 | processedon | numeric | 0 | √ |  | null |  |  |  
 | ispayschedulevalid | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | c_cashplanline_id | numeric | 10 | √ |  | NULL::numeric |  |  |  
 | c_order_uu | varchar | 36 | √ |  | NULL::character varying |  |  |  
 | shippingrateinquiry | bpchar | 1 | √ |  | NULL::bpchar |  |  |  
 | ispriviledgedrate | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | c_opportunity_id | numeric | 10 | √ |  | NULL::numeric |  |  |  
 | quotationorder_id | numeric | 10 | √ |  | NULL::numeric |  | 
   
    | c_order.c_order_id | quotationorder_corder R |  |  Table contained 8 rows at 2021-12-25 14:46 +0100 |