Table idempiere9.adempiere.m_cost
Product 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
ad_client.ad_client_id adclient_mcost R
Client/Tenant for this installation.
ad_org_id numeric 10
ad_org.ad_org_id adorg_m_cost R
Organizational entity within client
m_product_id numeric 10
m_product.m_product_id mproduct_mcost R
Product, Service, Item
m_costtype_id numeric 10
m_costtype.m_costtype_id mcosttype_mcost C
Type of Cost (e.g. Current, Plan, Future)
c_acctschema_id numeric 10
c_acctschema.c_acctschema_id cacctschema_mcost C
Rules for accounting
m_costelement_id numeric 10
m_costelement.m_costelement_id mcostelement_mcost C
Product Cost Element
m_attributesetinstance_id numeric 10
m_attributesetinstance.m_attributesetinstance_id masi_mcost C
Product Attribute Set Instance
isactive bpchar 1 'Y'::bpchar The record is active in the system
created timestamp 29,6 now() Date this record was created
createdby numeric 10 User who created this records
updated timestamp 29,6 now() Date this record was updated
updatedby numeric 10 User who updated this records
currentcostprice numeric 0 The currently used cost price
currentqty numeric 0 0 Current Quantity
cumulatedamt numeric 0  √  0 Total Amount
cumulatedqty numeric 0  √  0 Total Quantity
futurecostprice numeric 0  √  null Future Cost Price
description varchar 255  √  null Optional short description of the record
percent numeric 10  √  0 Percentage
currentcostpricell numeric 0  √  0 Current Price Lower Level Is the sum of the costs of the components of this product manufactured for this level.
futurecostpricell numeric 0  √  null Future Cost Price Lower Level
iscostfrozen bpchar 1  √  'N'::bpchar Indicated that the Standard Cost is frozen
m_cost_uu varchar 36  √  NULL::character varying M_Cost_UU

Table contained 267 rows at 2021-12-25 14:43 +0100

Indexes:
Column(s) Type Sort Constraint Name
ad_client_id + ad_org_id + m_product_id + m_costtype_id + c_acctschema_id + m_costelement_id + m_attributesetinstance_id Primary key Asc/Asc/Asc/Asc/Asc/Asc/Asc m_cost_pkey
m_cost_uu Must be unique Asc m_cost_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.