|  | 
  
   | Legend: |  | 
    
    | Primary key columns |  | Columns with indexes |  | Implied relationships |  | Excluded column relationships |  | < n > number of related tables |  |  | 
| 
  | Column | Type | Size | Nulls | Auto | Default | Children | Parents |  
 | c_opportunity_id | numeric | 10 |  |  |  |  |  |  
 | ad_client_id | numeric | 10 |  |  |  |  |  |  
 | ad_org_id | numeric | 10 |  |  |  |  |  |  
 | created | timestamp | 29,6 |  |  | statement_timestamp() |  |  |  
 | createdby | numeric | 10 |  |  |  |  |  |  
 | description | varchar | 255 | √ |  | NULL::character varying |  |  |  
 | isactive | bpchar | 1 |  |  | 'Y'::bpchar |  |  |  
 | updated | timestamp | 29,6 |  |  | statement_timestamp() |  |  |  
 | updatedby | numeric | 10 |  |  |  |  |  |  
 | documentno | varchar | 60 |  |  |  |  |  |  
 | c_bpartner_id | numeric | 10 |  |  |  |  |  |  
 | ad_user_id | numeric | 10 | √ |  | NULL::numeric |  | 
   
    | ad_user.ad_user_id | aduser_copportunity R |  |  
 | c_campaign_id | numeric | 10 | √ |  | NULL::numeric |  |  |  
 | closedate | timestamp | 29,6 | √ |  | null |  |  |  
 | expectedclosedate | timestamp | 29,6 |  |  |  |  |  |  
 | salesrep_id | numeric | 10 | √ |  | NULL::numeric |  | 
   
    | ad_user.ad_user_id | salesrep_copportunity R |  |  
 | opportunityamt | numeric | 0 |  |  |  |  |  |  
 | comments | text | 2147483647 | √ |  | null |  |  |  
 | c_currency_id | numeric | 10 |  |  |  |  |  |  
 | cost | numeric | 0 | √ |  | null |  |  |  
 | c_salesstage_id | numeric | 10 |  |  |  |  |  |  
 | probability | numeric | 0 |  |  |  |  |  |  
 | c_order_id | numeric | 10 | √ |  | NULL::numeric |  | 
   
    | c_order.c_order_id | corder_copportunity R |  |  
 | c_opportunity_uu | varchar | 36 | √ |  | NULL::character varying |  |  |  Table contained 0 rows at 2024-01-03 13:44 +0100 | 
Indexes:
 
  | Column(s) | Type | Sort | Constraint Name | 
 
  | c_opportunity_id | Primary key | Asc | c_opportunity_key | 
 
  | c_opportunity_uu | Must be unique | Asc | c_opportunity_uu_idx | 
 
SchemaSpy was unable to generate a diagram of table relationships.
SchemaSpy requires Graphviz version 2.2.1 or versions greater than 2.4 from www.graphviz.org.