Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| cof_products_id | numeric | 10 | null |
|
|
|||||||||
| cof_products_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 |
|
|
|||||||||
| qty | numeric | 0 | null |
|
|
|||||||||
| m_productprice_id | numeric | 10 | √ | NULL::numeric |
|
|
||||||||
| totalprice | numeric | 0 | √ | null |
|
|
||||||||
| discount | numeric | 0 | √ | null |
|
|
||||||||
| balance | numeric | 0 | √ | null |
|
|
||||||||
| cof_contract_id | numeric | 10 | √ | null |
|
|
||||||||
| priceactual | numeric | 0 | √ | null |
|
|
||||||||
| m_pricelist_version_id | numeric | 10 | null |
|
|
|||||||||
| cof_guarantee | varchar | 40 | √ | NULL::character varying |
|
|
||||||||
| cof_saldofaturar | numeric | 0 | √ | '0'::numeric |
|
|
||||||||
| a_asset_id | numeric | 10 | √ | NULL::numeric |
|
|
||||||||
| pricelist | numeric | 0 | √ | '0'::numeric |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| cof_products_key | Primary key | Asc | cof_products_id |
| cof_products_uu_idx | Must be unique | Asc | cof_products_uu |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| cof_products_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |