| 
  | Column | Type | Size | Nulls | Auto | Default | Children | Parents |  
 | c_invoice_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 |  |  |  
 | posted | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | c_doctype_id | numeric | 10 |  |  |  |  |  |  
 | c_doctypetarget_id | numeric | 10 |  |  |  |  |  |  
 | c_order_id | numeric | 10 | √ |  | null |  | 
   
    | c_order.c_order_id | corder_cinvoice R |  |  
 | description | varchar | 255 | √ |  | null |  |  |  
 | isapproved | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | istransferred | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | isprinted | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | salesrep_id | numeric | 10 | √ |  | null |  |  |  
 | dateinvoiced | timestamp | 29,6 |  |  |  |  |  |  
 | 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 |  |  |  
 | dateordered | timestamp | 29,6 | √ |  | null |  |  |  
 | c_currency_id | numeric | 10 |  |  |  |  |  |  
 | paymentrule | bpchar | 1 |  |  |  |  |  |  
 | c_paymentterm_id | numeric | 10 |  |  |  |  |  |  
 | c_charge_id | numeric | 10 | √ |  | null |  |  |  
 | chargeamt | numeric | 0 | √ |  | 0 |  |  |  
 | totallines | numeric | 0 |  |  | 0 |  |  |  
 | grandtotal | numeric | 0 |  |  | 0 |  |  |  
 | 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 |  |  |  
 | ispaid | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | c_payment_id | numeric | 10 | √ |  | null |  |  |  
 | c_cashline_id | numeric | 10 | √ |  | null |  |  |  
 | createfrom | bpchar | 1 | √ |  | null |  |  |  
 | generateto | bpchar | 1 | √ |  | 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 |  |  |  
 | ispayschedulevalid | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | ref_invoice_id | numeric | 10 | √ |  | null |  |  |  
 | isindispute | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | invoicecollectiontype | bpchar | 1 | √ |  | null |  |  |  
 | m_rma_id | numeric | 10 | √ |  | null |  |  |  
 | dunninggrace | timestamp | 29,6 | √ |  | null |  |  |  
 | c_dunninglevel_id | numeric | 10 | √ |  | null |  |  |  
 | reversal_id | numeric | 10 | √ |  | null |  |  |  
 | processedon | numeric | 0 | √ |  | null |  |  |  
 | c_cashplanline_id | numeric | 10 | √ |  | NULL::numeric |  |  |  
 | c_invoice_uu | varchar | 36 | √ |  | NULL::character varying |  |  |  
 | isfixedassetinvoice | bpchar | 1 | √ |  | null |  |  |  
 | relatedinvoice_id | numeric | 10 | √ |  | NULL::numeric |  | 
   
    | c_invoice.c_invoice_id | relatedinvoice_cinvoice R |  |  
 | isoverridecurrencyrate | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | currencyrate | numeric | 0 | √ |  | null |  |  |  
 | createlinesfrom | bpchar | 1 | √ |  | NULL::bpchar |  |  |  Table contained 8 rows at 2024-01-03 13:47 +0100 |