m_cost

1 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
ad_client_id numeric 10 null
ad_client.ad_client_id adclient_mcost R
ad_org_id numeric 10 null
ad_org.ad_org_id adorg_m_cost R
m_product_id numeric 10 null
m_product.m_product_id mproduct_mcost R
m_costtype_id numeric 10 null
m_costtype.m_costtype_id mcosttype_mcost C
c_acctschema_id numeric 10 null
c_acctschema.c_acctschema_id cacctschema_mcost C
m_costelement_id numeric 10 null
m_costelement.m_costelement_id mcostelement_mcost C
m_attributesetinstance_id numeric 10 null
m_attributesetinstance.m_attributesetinstance_id masi_mcost C
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])))

Relationships