Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
ad_client_id | numeric | 10 | null |
|
|
||||||
ad_org_id | numeric | 10 | null |
|
|
||||||
m_product_id | numeric | 10 | null |
|
|
||||||
m_costtype_id | numeric | 10 | null |
|
|
||||||
c_acctschema_id | numeric | 10 | null |
|
|
||||||
m_costelement_id | numeric | 10 | null |
|
|
||||||
m_attributesetinstance_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 |
|
|
||||||
currentcostprice | numeric | 0 | null |
|
|
||||||
currentqty | numeric | 0 | 0 |
|
|
||||||
cumulatedamt | numeric | 0 | √ | 0 |
|
|
|||||
cumulatedqty | numeric | 0 | √ | 0 |
|
|
|||||
futurecostprice | numeric | 0 | √ | null |
|
|
|||||
description | varchar | 255 | √ | null |
|
|
|||||
percent | numeric | 10 | √ | 0 |
|
|
|||||
currentcostpricell | numeric | 0 | √ | 0 |
|
|
|||||
futurecostpricell | numeric | 0 | √ | null |
|
|
|||||
iscostfrozen | bpchar | 1 | √ | 'N'::bpchar |
|
|
|||||
m_cost_uu | varchar | 36 | √ | NULL::character varying |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
m_cost_pkey | Primary key | Asc/Asc/Asc/Asc/Asc/Asc/Asc | ad_client_id + ad_org_id + m_product_id + m_costtype_id + c_acctschema_id + m_costelement_id + m_attributesetinstance_id |
m_cost_uu_idx | Must be unique | Asc | m_cost_uu |
Check Constraints
Constraint Name | Constraint |
---|---|
m_cost_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
m_cost_iscostfrozen_check | ((iscostfrozen = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |