Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
m_product_id | numeric | 10 | null |
|
|
||||||
c_bpartner_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 |
|
|
||||||
iscurrentvendor | bpchar | 1 | 'Y'::bpchar |
|
|
||||||
c_uom_id | numeric | 10 | √ | null |
|
|
|||||
c_currency_id | numeric | 10 | √ | null |
|
|
|||||
pricelist | numeric | 0 | √ | 0 |
|
|
|||||
pricepo | numeric | 0 | √ | 0 |
|
|
|||||
priceeffective | timestamp | 29,6 | √ | null |
|
|
|||||
pricelastpo | numeric | 0 | √ | 0 |
|
|
|||||
pricelastinv | numeric | 0 | √ | 0 |
|
|
|||||
vendorproductno | varchar | 40 | null |
|
|
||||||
upc | varchar | 20 | √ | null |
|
|
|||||
vendorcategory | varchar | 30 | √ | null |
|
|
|||||
discontinued | bpchar | 1 | √ | 'N'::bpchar |
|
|
|||||
discontinuedby | timestamp | 29,6 | √ | null |
|
|
|||||
order_min | numeric | 0 | √ | 0 |
|
|
|||||
order_pack | numeric | 0 | √ | 0 |
|
|
|||||
costperorder | numeric | 0 | √ | 0 |
|
|
|||||
deliverytime_promised | numeric | 10 | √ | null |
|
|
|||||
deliverytime_actual | numeric | 10 | √ | null |
|
|
|||||
qualityrating | numeric | 0 | √ | null |
|
|
|||||
royaltyamt | numeric | 0 | √ | 0 |
|
|
|||||
manufacturer | varchar | 30 | √ | null |
|
|
|||||
discontinuedat | timestamp | 29,6 | √ | null |
|
|
|||||
m_product_po_uu | varchar | 36 | √ | NULL::character varying |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
m_product_po_pkey | Primary key | Asc/Asc | m_product_id + c_bpartner_id |
m_product_po_uu_idx | Must be unique | Asc | m_product_po_uu |
m_product_po_vendorprodno | Must be unique | Asc/Asc | c_bpartner_id + vendorproductno |
Check Constraints
Constraint Name | Constraint |
---|---|
m_product_po_iscurrentvendor_check | ((iscurrentvendor = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
m_product_po_discontinued_check | ((discontinued = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
m_product_po_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |