Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| c_opportunity_id | numeric | 10 | null |
|
|
||||||||||||||||||
| ad_client_id | numeric | 10 | null |
|
|
||||||||||||||||||
| ad_org_id | numeric | 10 | null |
|
|
||||||||||||||||||
| created | timestamp | 29,6 | statement_timestamp() |
|
|
||||||||||||||||||
| createdby | numeric | 10 | null |
|
|
||||||||||||||||||
| description | varchar | 255 | √ | NULL::character varying |
|
|
|||||||||||||||||
| isactive | bpchar | 1 | 'Y'::bpchar |
|
|
||||||||||||||||||
| updated | timestamp | 29,6 | statement_timestamp() |
|
|
||||||||||||||||||
| updatedby | numeric | 10 | null |
|
|
||||||||||||||||||
| documentno | varchar | 60 | null |
|
|
||||||||||||||||||
| c_bpartner_id | numeric | 10 | null |
|
|
||||||||||||||||||
| ad_user_id | numeric | 10 | √ | NULL::numeric |
|
|
|||||||||||||||||
| c_campaign_id | numeric | 10 | √ | NULL::numeric |
|
|
|||||||||||||||||
| closedate | timestamp | 29,6 | √ | null |
|
|
|||||||||||||||||
| expectedclosedate | timestamp | 29,6 | null |
|
|
||||||||||||||||||
| salesrep_id | numeric | 10 | √ | NULL::numeric |
|
|
|||||||||||||||||
| opportunityamt | numeric | 0 | null |
|
|
||||||||||||||||||
| comments | text | 2147483647 | √ | null |
|
|
|||||||||||||||||
| c_currency_id | numeric | 10 | null |
|
|
||||||||||||||||||
| cost | numeric | 0 | √ | null |
|
|
|||||||||||||||||
| c_salesstage_id | numeric | 10 | null |
|
|
||||||||||||||||||
| probability | numeric | 0 | null |
|
|
||||||||||||||||||
| c_order_id | numeric | 10 | √ | NULL::numeric |
|
|
|||||||||||||||||
| c_opportunity_uu | varchar | 36 | √ | NULL::character varying |
|
|
|||||||||||||||||
| isclosed | bpchar | 1 | √ | 'N'::bpchar |
|
|
|||||||||||||||||
| cof_descricaoencerramento | varchar | 255 | √ | NULL::character varying |
|
|
|||||||||||||||||
| processed | bpchar | 1 | √ | NULL::bpchar |
|
|
|||||||||||||||||
| cof_processing | bpchar | 1 | √ | NULL::bpchar |
|
|
|||||||||||||||||
| cof_contract_id | numeric | 10 | √ | NULL::numeric |
|
|
|||||||||||||||||
| cof_codigoencerramento | varchar | 3 | √ | NULL::character varying |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| c_opportunity_key | Primary key | Asc | c_opportunity_id |
| c_opportunity_uu_idx | Must be unique | Asc | c_opportunity_uu |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| c_opportunity_isclosed_check | ((isclosed = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| c_opportunity_processed_check | ((processed = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| c_opportunity_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |