m_costdetail

0 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
m_costdetail_id numeric 10 null
cof_rv_detalhesmovimentocusto.m_costdetail_id Implied Constraint R
m_costhistory.m_costdetail_id mcostdetail_mcosthistory R
m_costmovement_v.m_costdetail_id Implied Constraint R
rv_costdetail.m_costdetail_id Implied Constraint R
ad_client_id numeric 10 null
ad_client.ad_client_id adclient_mcostdetail R
ad_org_id numeric 10 null
ad_org.ad_org_id adorg_mcostdetail R
c_acctschema_id numeric 10 null
c_acctschema.c_acctschema_id cacctschema_mcostdetail R
m_product_id numeric 10 null
m_product.m_product_id mproduct_mcostdetail R
m_attributesetinstance_id numeric 10 null
m_attributesetinstance.m_attributesetinstance_id masi_mcostdetail R
isactive bpchar 1 'Y'::bpchar
created timestamp 29,6 now()
createdby numeric 10 null
updated timestamp 29,6 now()
updatedby numeric 10 null
m_costelement_id numeric 10 null
m_costelement.m_costelement_id mcostelement_mcostdetail R
c_orderline_id numeric 10 null
c_orderline.c_orderline_id corderline_mcostdetail R
m_inoutline_id numeric 10 null
m_inoutline.m_inoutline_id minoutline_mcostdetail R
c_invoiceline_id numeric 10 null
c_invoiceline.c_invoiceline_id minvoiceline_mcostdetail R
m_movementline_id numeric 10 null
m_movementline.m_movementline_id mmovementline_mcostdetail R
m_inventoryline_id numeric 10 null
m_inventoryline.m_inventoryline_id minventoryline_mcostdetail R
m_productionline_id numeric 10 null
m_productionline.m_productionline_id mproductionline_mcostdetail R
c_projectissue_id numeric 10 null
c_projectissue.c_projectissue_id cprojectissue_mcostdetail R
issotrx bpchar 1 'Y'::bpchar
amt numeric 0 0
qty numeric 0 0
deltaamt numeric 0 0
deltaqty numeric 0 0
description varchar 255 null
processed bpchar 1 'N'::bpchar
pp_cost_collector_id numeric 10 null
pp_cost_collector.pp_cost_collector_id ppcostcollector_mcostdetail R
currentcostprice numeric 0 null
currentqty numeric 0 null
cumulatedamt numeric 0 null
cumulatedqty numeric 0 null
m_costdetail_uu varchar 36 NULL::character varying
m_matchinv_id numeric 10 NULL::numeric
m_matchinv.m_matchinv_id mcostdetail_matchinv R

Indexes

Constraint Name Type Sort Column(s)
m_costdetail_pkey Primary key Asc m_costdetail_id
m_costdetail_asi Performance Asc m_attributesetinstance_id
m_costdetail_product Performance Asc/Asc m_product_id + processed
m_costdetail_uu_idx Must be unique Asc m_costdetail_uu

Check Constraints

Constraint Name Constraint
m_costdetail_isactive_check ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])))
m_costdetail_issotrx_check ((issotrx = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])))
m_costdetail_processed_check ((processed = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])))

Relationships