|  | 
  
   | 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_tax_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() |  |  |  
 | name | varchar | 60 |  |  |  |  |  |  
 | updatedby | numeric | 10 |  |  |  |  |  |  
 | description | varchar | 255 | √ |  | null |  |  |  
 | taxindicator | varchar | 10 | √ |  | null |  |  |  
 | isdocumentlevel | bpchar | 1 |  |  | 'Y'::bpchar |  |  |  
 | validfrom | timestamp | 29,6 |  |  |  |  |  |  
 | issummary | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | requirestaxcertificate | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | rate | numeric | 0 |  |  |  |  |  |  
 | parent_tax_id | numeric | 10 | √ |  | null |  | 
   
    | c_tax.c_tax_id | ctax_parent R |  |  
 | c_country_id | numeric | 10 | √ |  | null |  |  |  
 | c_region_id | numeric | 10 | √ |  | null |  |  |  
 | to_country_id | numeric | 10 | √ |  | null |  |  |  
 | to_region_id | numeric | 10 | √ |  | null |  |  |  
 | c_taxcategory_id | numeric | 10 |  |  |  |  |  |  
 | isdefault | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | istaxexempt | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | sopotype | bpchar | 1 |  |  | 'B'::bpchar |  |  |  
 | issalestax | bpchar | 1 |  |  | 'N'::bpchar |  |  |  
 | ad_rule_id | numeric | 10 | √ |  | null |  |  |  
 | c_tax_uu | varchar | 36 | √ |  | NULL::character varying |  |  |  
 | c_taxprovider_id | numeric | 10 | √ |  | NULL::numeric |  |  |  
 | c_countrygroupfrom_id | numeric | 10 | √ |  | NULL::numeric |  |  |  
 | c_countrygroupto_id | numeric | 10 | √ |  | NULL::numeric |  |  |  
 | taxpostingindicator | bpchar | 1 | √ |  | '0'::bpchar |  |  |  Table contained 6 rows at 2024-01-03 13:44 +0100 | 
Indexes:
 
  | Column(s) | Type | Sort | Constraint Name | 
 
  | c_tax_id | Primary key | Asc | c_tax_pkey | 
 
  | ad_client_id + name | Must be unique | Asc/Asc | c_tax_name | 
 
  | c_tax_uu | Must be unique | Asc | c_tax_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.