m_costhistory

0 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
ad_client_id numeric 10 null
ad_org_id numeric 10 null
created timestamp 29,6 statement_timestamp()
createdby numeric 10 null
isactive bpchar 1 'Y'::bpchar
m_attributesetinstance_id numeric 10 null
m_attributesetinstance.m_attributesetinstance_id mattributesetinstance_mcosthis R
m_costdetail_id numeric 10 null
m_costdetail.m_costdetail_id mcostdetail_mcosthistory R
m_costelement_id numeric 10 null
m_costelement.m_costelement_id mcostelement_mcosthistory R
m_costhistory_id numeric 10 null
m_costmovement_v.m_costhistory_id Implied Constraint R
m_costhistory_uu varchar 36 null
m_costtype_id numeric 10 null
m_costtype.m_costtype_id mcosttype_mcosthistory R
newcamt numeric 0 null
newcostprice numeric 0 null
newcqty numeric 0 null
newqty numeric 0 null
oldcamt numeric 0 null
oldcostprice numeric 0 null
oldcqty numeric 0 null
oldqty numeric 0 null
updated timestamp 29,6 statement_timestamp()
updatedby numeric 10 null
m_product_id numeric 10 NULL::numeric
m_product.m_product_id mproduct_mcosthistory R

Indexes

Constraint Name Type Sort Column(s)
m_costhistory_key Primary key Asc m_costhistory_id
m_costhistory_costmovement_idx Performance Asc/Asc/Asc/Asc/Asc ad_client_id + m_product_id + m_costtype_id + m_costelement_id + m_attributesetinstance_id
m_costhistory_uu_idx Must be unique Asc m_costhistory_uu

Check Constraints

Constraint Name Constraint
m_costhistory_isactive_check ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])))

Relationships