Table idempiere11.adempiere.m_costhistory
Movement history for M_Cost

Generated by
Quality Systems & Solutions
Legend:
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents Comments
ad_client_id numeric 10 Tenant for this installation.
ad_org_id numeric 10 Organizational entity within tenant
created timestamp 29,6 statement_timestamp() Date this record was created
createdby numeric 10 User who created this records
isactive bpchar 1 'Y'::bpchar The record is active in the system
m_attributesetinstance_id numeric 10
m_attributesetinstance.m_attributesetinstance_id mattributesetinstance_mcosthis R
Product Attribute Set Instance
m_costdetail_id numeric 10
m_costdetail.m_costdetail_id mcostdetail_mcosthistory R
Cost Detail Information
m_costelement_id numeric 10
m_costelement.m_costelement_id mcostelement_mcosthistory R
Product Cost Element
m_costhistory_id numeric 10 Movement history for M_Cost
m_costhistory_uu varchar 36 Cost History UUID
m_costtype_id numeric 10
m_costtype.m_costtype_id mcosttype_mcosthistory R
Type of Cost (e.g. Current, Plan, Future)
newcamt numeric 0  √  null Accumulated Amt after processing of M_CostDetail
newcostprice numeric 0 New current cost price after processing of M_CostDetail
newcqty numeric 0  √  null New Accumulated Qty after processing of M_CostDetail
newqty numeric 0 New current quantity after processing of M_CostDetail
oldcamt numeric 0  √  null Old accumulated amt before the processing of M_CostDetail
oldcostprice numeric 0 Old current cost price before the processing of M_CostDetail
oldcqty numeric 0  √  null Old accumulated qty before the processing of M_CostDetail
oldqty numeric 0 Old current quantity before the processing of M_CostDetail
updated timestamp 29,6 statement_timestamp() Date this record was updated
updatedby numeric 10 User who updated this records
m_product_id numeric 10  √  NULL::numeric
m_product.m_product_id mproduct_mcosthistory R
Product, Service, Item

Table contained 0 rows at 2024-01-03 13:44 +0100

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


SchemaSpy was unable to generate a diagram of table relationships.
SchemaSpy requires Graphviz version 2.2.1 or versions greater than 2.4 from www.graphviz.org.