Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ad_client_id | numeric | 10 | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ad_org_id | numeric | 10 | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_c_custody_id | numeric | 10 | null | 
                                        
  | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| created | timestamp | 29,6 | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| createdby | numeric | 10 | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| isactive | bpchar | 1 | 'Y'::bpchar | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| updated | timestamp | 29,6 | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| updatedby | numeric | 10 | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| value | varchar | 40 | √ | NULL::character varying | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||
| name | varchar | 60 | √ | NULL::character varying | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||
| description | varchar | 255 | √ | NULL::character varying | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_isgeneratebilling | bpchar | 1 | √ | 'N'::bpchar | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_isgeneratecnab | bpchar | 1 | √ | 'N'::bpchar | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_isgeneratecheck | bpchar | 1 | √ | 'N'::bpchar | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_c_custody_uu | varchar | 36 | √ | NULL::character varying | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||
| isdefault | bpchar | 1 | √ | 'N'::bpchar | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_isprotestcustody | bpchar | 1 | √ | 'N'::bpchar | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||
| c_paymentterm_id | numeric | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||
| paymentrule | bpchar | 1 | √ | 'P'::bpchar | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_isallowdunning | bpchar | 1 | √ | NULL::bpchar | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_gerarboletopedido | bpchar | 1 | √ | 'N'::bpchar | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||
| pag_tpag | varchar | 2 | √ | NULL::character varying | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||
| pag_card_tpintegra | bpchar | 1 | √ | NULL::bpchar | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_c_cardnetwork_id | numeric | 10 | √ | NULL::numeric | 
                                         | 
                                    
                                        
  | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||
| sopotype | bpchar | 1 | 'S'::bpchar | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_diasadeslocar | numeric | 10 | '0'::numeric | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| pag_xpag | varchar | 60 | √ | null | 
                                         | 
                                    
                                         | 
                                    
Indexes
| Constraint Name | Type | Sort | Column(s) | 
|---|---|---|---|
| cof_c_custody_key | Primary key | Asc | cof_c_custody_id | 
| cof_c_custody_uu_idx | Must be unique | Asc | cof_c_custody_uu | 
Check Constraints
| Constraint Name | Constraint | 
|---|---|
| cof_c_custody_cof_isprotestcustody_check | ((cof_isprotestcustody = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) | 
| cof_c_custody_isdefault_check | ((isdefault = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) | 
| cof_c_custody_cof_isgeneratecheck_check | ((cof_isgeneratecheck = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) | 
| cof_c_custody_cof_isgeneratebilling_check | ((cof_isgeneratebilling = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) | 
| cof_c_custody_cof_isallowdunning_check | ((cof_isallowdunning = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) | 
| cof_c_custody_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) | 
| cof_c_custody_cof_gerarboletopedido_check | ((cof_gerarboletopedido = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) | 
| cof_c_custody_cof_isgeneratecnab_check | ((cof_isgeneratecnab = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |