Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| cof_itemsubstituto_id | numeric | 10 | null |
|
|
||||||
| cof_itemsubstituto_uu | varchar | 36 | √ | NULL::character varying |
|
|
|||||
| ad_client_id | numeric | 10 | null |
|
|
||||||
| ad_org_id | numeric | 10 | null |
|
|
||||||
| isactive | bpchar | 1 | 'Y'::bpchar |
|
|
||||||
| created | timestamp | 29,6 | null |
|
|
||||||
| createdby | numeric | 10 | null |
|
|
||||||
| updated | timestamp | 29,6 | null |
|
|
||||||
| updatedby | numeric | 10 | null |
|
|
||||||
| m_product_id | numeric | 10 | √ | NULL::numeric |
|
|
|||||
| c_orderline_id | numeric | 10 | √ | null |
|
|
|||||
| qty | numeric | 0 | √ | null |
|
|
|||||
| priceentered | numeric | 0 | √ | null |
|
|
|||||
| cof_faturado | bpchar | 1 | √ | 'N'::bpchar |
|
|
|||||
| priceactual | numeric | 0 | √ | null |
|
|
|||||
| c_order_id | numeric | 10 | √ | NULL::numeric |
|
|
|||||
| linenetamt | numeric | 0 | √ | null |
|
|
|||||
| lineno | numeric | 10 | √ | NULL::numeric |
|
|
|||||
| cof_qtdnf | numeric | 0 | √ | null |
|
|
|||||
| cof_gerarnf | bpchar | 1 | √ | 'N'::bpchar |
|
|
|||||
| cof_qtdis | numeric | 0 | √ | null |
|
|
|||||
| cof_tratamentopedido_id | numeric | 10 | √ | NULL::numeric |
|
|
|||||
| isvalid | bpchar | 1 | √ | NULL::bpchar |
|
|
|||||
| c_invoice_id | numeric | 10 | √ | null |
|
|
|||||
| m_inoutline_id | numeric | 10 | √ | NULL::numeric |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| cof_itemsubstituto_key | Primary key | Asc | cof_itemsubstituto_id |
| cof_itemsubstituto_uu_idx | Must be unique | Asc | cof_itemsubstituto_uu |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| cof_itemsubstituto_isvalid_check | ((isvalid = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| cof_itemsubstituto_cof_faturado_check | ((cof_faturado = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| cof_itemsubstituto_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| cof_itemsubstituto_cof_gerarnf_check | ((cof_gerarnf = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |