Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| m_matchpo_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 |
|
|
|||||||||
| c_orderline_id | numeric | 10 | null |
|
|
|||||||||
| m_product_id | numeric | 10 | √ | null |
|
|
||||||||
| m_inoutline_id | numeric | 10 | √ | null |
|
|
||||||||
| c_invoiceline_id | numeric | 10 | √ | null |
|
|
||||||||
| datetrx | timestamp | 29,6 | null |
|
|
|||||||||
| qty | numeric | 0 | 0 |
|
|
|||||||||
| processing | bpchar | 1 | null |
|
|
|||||||||
| processed | bpchar | 1 | 'N'::bpchar |
|
|
|||||||||
| posted | bpchar | 1 | 'N'::bpchar |
|
|
|||||||||
| documentno | varchar | 30 | √ | null |
|
|
||||||||
| dateacct | timestamp | 29,6 | √ | null |
|
|
||||||||
| m_attributesetinstance_id | numeric | 10 | √ | null |
|
|
||||||||
| pricematchdifference | numeric | 0 | √ | null |
|
|
||||||||
| isapproved | bpchar | 1 | √ | 'Y'::bpchar |
|
|
||||||||
| description | varchar | 255 | √ | null |
|
|
||||||||
| processedon | numeric | 0 | √ | null |
|
|
||||||||
| m_matchpo_uu | varchar | 36 | √ | NULL::character varying |
|
|
||||||||
| reversal_id | numeric | 10 | √ | NULL::numeric |
|
|
||||||||
| ref_matchpo_id | numeric | 10 | √ | NULL::numeric |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| m_matchpo_pkey | Primary key | Asc | m_matchpo_id |
| idxm_matchpo_proc_on | Performance | Asc/Asc/Asc/Asc | posted + processed + processedon + ad_client_id |
| m_matchpo_ship | Performance | Asc/Asc | c_orderline_id + m_inoutline_id |
| m_matchpo_uu_idx | Must be unique | Asc | m_matchpo_uu |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| m_matchpo_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| m_matchpo_processed_check | ((processed = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |