Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ad_client_id | numeric | 10 | null |
|
|
||||||
| ad_org_id | numeric | 10 | null |
|
|
||||||
| c_doctype_id | numeric | 10 | √ | null |
|
|
|||||
| c_doctypetarget_id | numeric | 10 | null |
|
|
||||||
| cof_calcnivelminmax_id | numeric | 10 | null |
|
|
||||||
| cof_calcnivelminmax_uu | varchar | 36 | √ | NULL::character varying |
|
|
|||||
| cof_iscalculado | bpchar | 1 | 'N'::bpchar |
|
|
||||||
| created | timestamp | 29,6 | null |
|
|
||||||
| createdby | numeric | 10 | null |
|
|
||||||
| dateacct | timestamp | 29,6 | √ | null |
|
|
|||||
| datetrx | timestamp | 29,6 | √ | null |
|
|
|||||
| docaction | bpchar | 2 | 'CO'::bpchar |
|
|
||||||
| docstatus | varchar | 2 | 'DR'::character varying |
|
|
||||||
| documentno | varchar | 30 | √ | NULL::character varying |
|
|
|||||
| isactive | bpchar | 1 | 'Y'::bpchar |
|
|
||||||
| processed | bpchar | 1 | 'N'::bpchar |
|
|
||||||
| processing | bpchar | 1 | 'N'::bpchar |
|
|
||||||
| updated | timestamp | 29,6 | null |
|
|
||||||
| updatedby | numeric | 10 | null |
|
|
||||||
| cof_fatormedianvmax | numeric | 0 | √ | '1'::numeric |
|
|
|||||
| cof_fatordesviopadraonvmax | numeric | 0 | √ | '1'::numeric |
|
|
|||||
| cof_coeficientenvmin | numeric | 0 | √ | 0.65 |
|
|
|||||
| cof_coeficientevolumeloc | numeric | 0 | √ | '1'::numeric |
|
|
|||||
| cof_mproduct | varchar | 2000 | √ | NULL::character varying |
|
|
|||||
| cof_isnegarproduto | bpchar | 1 | 'N'::bpchar |
|
|
||||||
| cof_producttype | varchar | 2000 | √ | NULL::character varying |
|
|
|||||
| cof_isnegartipoproduto | bpchar | 1 | 'N'::bpchar |
|
|
||||||
| cof_productclass | varchar | 2000 | √ | NULL::character varying |
|
|
|||||
| cof_isnegarclasseproduto | bpchar | 1 | 'N'::bpchar |
|
|
||||||
| cof_productgroup | varchar | 2000 | √ | NULL::character varying |
|
|
|||||
| cof_isnegargrupoproduto | bpchar | 1 | 'N'::bpchar |
|
|
||||||
| deliveryviarule | varchar | 50 | √ | NULL::character varying |
|
|
|||||
| cof_isnegarviaentrega | bpchar | 1 | 'N'::bpchar |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| cof_calcnivelminmax_key | Primary key | Asc | cof_calcnivelminmax_id |
| cof_calcnivelminmax_uu_idx | Must be unique | Asc | cof_calcnivelminmax_uu |
| documentno | Must be unique | Asc | documentno |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| cof_calcnivelminmax_cof_isnegarclasseproduto_check | ((cof_isnegarclasseproduto = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| cof_calcnivelminmax_cof_isnegartipoproduto_check | ((cof_isnegartipoproduto = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| cof_calcnivelminmax_processed_check | ((processed = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| cof_calcnivelminmax_processing_check | ((processing = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| cof_calcnivelminmax_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| cof_calcnivelminmax_cof_isnegarproduto_check | ((cof_isnegarproduto = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| cof_calcnivelminmax_cof_isnegarviaentrega_check | ((cof_isnegarviaentrega = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| cof_calcnivelminmax_cof_iscalculado_check | ((cof_iscalculado = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| cof_calcnivelminmax_cof_isnegargrupoproduto_check | ((cof_isnegargrupoproduto = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |