Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| c_element_id | numeric | 10 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ad_client_id | numeric | 10 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ad_org_id | numeric | 10 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| isactive | bpchar | 1 | 'Y'::bpchar |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| created | timestamp | 29,6 | now() |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| createdby | numeric | 10 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| updated | timestamp | 29,6 | now() |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| updatedby | numeric | 10 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name | varchar | 60 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| description | varchar | 255 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| vformat | varchar | 40 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| elementtype | bpchar | 1 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| isbalancing | bpchar | 1 | 'N'::bpchar |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| isnaturalaccount | bpchar | 1 | 'Y'::bpchar |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ad_tree_id | numeric | 10 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| c_element_uu | varchar | 36 | √ | NULL::character varying |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_entity | varchar | 2 | √ | NULL::character varying |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_isreference | bpchar | 1 | √ | 'N'::bpchar |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_validto | timestamp | 29,6 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_validfrom | timestamp | 29,6 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| c_element_pkey | Primary key | Asc | c_element_id |
| c_element_name | Must be unique | Asc/Asc | ad_client_id + name |
| c_element_uu_idx | Must be unique | Asc | c_element_uu |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| c_element_isbalancing_check | ((isbalancing = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| c_element_isnaturalaccount_check | ((isnaturalaccount = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| c_element_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| c_element_cof_isreference_check | ((cof_isreference = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |