Package org.compiere.model
Class X_M_CostHistory
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_M_CostHistory
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_M_CostHistory
,I_Persistent
,Evaluatee
Generated Model for M_CostHistory
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, log, p_ctx, p_info, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
Fields inherited from interface org.compiere.model.I_M_CostHistory
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_IsActive, COLUMNNAME_M_AttributeSetInstance_ID, COLUMNNAME_M_CostDetail_ID, COLUMNNAME_M_CostElement_ID, COLUMNNAME_M_CostHistory_ID, COLUMNNAME_M_CostHistory_UU, COLUMNNAME_M_CostType_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_NewCAmt, COLUMNNAME_NewCostPrice, COLUMNNAME_NewCQty, COLUMNNAME_NewQty, COLUMNNAME_OldCAmt, COLUMNNAME_OldCostPrice, COLUMNNAME_OldCQty, COLUMNNAME_OldQty, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_M_CostHistory
(Properties ctx, int M_CostHistory_ID, String trxName) Standard ConstructorX_M_CostHistory
(Properties ctx, int M_CostHistory_ID, String trxName, String... virtualColumns) Standard ConstructorX_M_CostHistory
(Properties ctx, String M_CostHistory_UU, String trxName) Standard ConstructorX_M_CostHistory
(Properties ctx, String M_CostHistory_UU, String trxName, String... virtualColumns) Standard ConstructorX_M_CostHistory
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Attribute Set Instance.int
Get Cost Detail.int
Get Cost Element.int
Get Cost History.Get Cost History UUID.int
Get Cost Type.int
Get Product.Get New Accumulated Amt.Get New Cost Price.Get New Accumulated Qty.Get New Current Quantity.Get Old Accumulated Amt.Get Old Current Cost Price.Get Old Accumulated Qty.Get Old Current Quantity.protected POInfo
initPO
(Properties ctx) Load Meta Datavoid
setM_AttributeSetInstance_ID
(int M_AttributeSetInstance_ID) Set Attribute Set Instance.void
setM_CostDetail_ID
(int M_CostDetail_ID) Set Cost Detail.void
setM_CostElement_ID
(int M_CostElement_ID) Set Cost Element.void
setM_CostHistory_ID
(int M_CostHistory_ID) Set Cost History.void
setM_CostHistory_UU
(String M_CostHistory_UU) Set Cost History UUID.void
setM_CostType_ID
(int M_CostType_ID) Set Cost Type.void
setM_Product_ID
(int M_Product_ID) Set Product.void
setNewCAmt
(BigDecimal NewCAmt) Set New Accumulated Amt.void
setNewCostPrice
(BigDecimal NewCostPrice) Set New Cost Price.void
setNewCQty
(BigDecimal NewCQty) Set New Accumulated Qty.void
setNewQty
(BigDecimal NewQty) Set New Current Quantity.void
setOldCAmt
(BigDecimal OldCAmt) Set Old Accumulated Amt.void
setOldCostPrice
(BigDecimal OldCostPrice) Set Old Current Cost Price.void
setOldCQty
(BigDecimal OldCQty) Set Old Accumulated Qty.void
setOldQty
(BigDecimal OldQty) Set Old Current Quantity.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, toInsertSQL, unlock, update_Tree, validForeignKeys
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Methods inherited from interface org.compiere.model.I_M_CostHistory
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
Methods inherited from interface org.compiere.model.I_Persistent
save
-
Constructor Details
-
X_M_CostHistory
Standard Constructor -
X_M_CostHistory
public X_M_CostHistory(Properties ctx, int M_CostHistory_ID, String trxName, String... virtualColumns) Standard Constructor -
X_M_CostHistory
Standard Constructor -
X_M_CostHistory
public X_M_CostHistory(Properties ctx, String M_CostHistory_UU, String trxName, String... virtualColumns) Standard Constructor -
X_M_CostHistory
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
getM_AttributeSetInstance
- Specified by:
getM_AttributeSetInstance
in interfaceI_M_CostHistory
- Throws:
RuntimeException
-
setM_AttributeSetInstance_ID
public void setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID) Set Attribute Set Instance.- Specified by:
setM_AttributeSetInstance_ID
in interfaceI_M_CostHistory
- Parameters:
M_AttributeSetInstance_ID
- Product Attribute Set Instance
-
getM_AttributeSetInstance_ID
public int getM_AttributeSetInstance_ID()Get Attribute Set Instance.- Specified by:
getM_AttributeSetInstance_ID
in interfaceI_M_CostHistory
- Returns:
- Product Attribute Set Instance
-
getM_CostDetail
- Specified by:
getM_CostDetail
in interfaceI_M_CostHistory
- Throws:
RuntimeException
-
setM_CostDetail_ID
public void setM_CostDetail_ID(int M_CostDetail_ID) Set Cost Detail.- Specified by:
setM_CostDetail_ID
in interfaceI_M_CostHistory
- Parameters:
M_CostDetail_ID
- Cost Detail Information
-
getM_CostDetail_ID
public int getM_CostDetail_ID()Get Cost Detail.- Specified by:
getM_CostDetail_ID
in interfaceI_M_CostHistory
- Returns:
- Cost Detail Information
-
getM_CostElement
- Specified by:
getM_CostElement
in interfaceI_M_CostHistory
- Throws:
RuntimeException
-
setM_CostElement_ID
public void setM_CostElement_ID(int M_CostElement_ID) Set Cost Element.- Specified by:
setM_CostElement_ID
in interfaceI_M_CostHistory
- Parameters:
M_CostElement_ID
- Product Cost Element
-
getM_CostElement_ID
public int getM_CostElement_ID()Get Cost Element.- Specified by:
getM_CostElement_ID
in interfaceI_M_CostHistory
- Returns:
- Product Cost Element
-
setM_CostHistory_ID
public void setM_CostHistory_ID(int M_CostHistory_ID) Set Cost History.- Specified by:
setM_CostHistory_ID
in interfaceI_M_CostHistory
- Parameters:
M_CostHistory_ID
- Movement history for M_Cost
-
getM_CostHistory_ID
public int getM_CostHistory_ID()Get Cost History.- Specified by:
getM_CostHistory_ID
in interfaceI_M_CostHistory
- Returns:
- Movement history for M_Cost
-
setM_CostHistory_UU
Set Cost History UUID.- Specified by:
setM_CostHistory_UU
in interfaceI_M_CostHistory
- Parameters:
M_CostHistory_UU
- Cost History UUID
-
getM_CostHistory_UU
Get Cost History UUID.- Specified by:
getM_CostHistory_UU
in interfaceI_M_CostHistory
- Returns:
- Cost History UUID
-
getM_CostType
- Specified by:
getM_CostType
in interfaceI_M_CostHistory
- Throws:
RuntimeException
-
setM_CostType_ID
public void setM_CostType_ID(int M_CostType_ID) Set Cost Type.- Specified by:
setM_CostType_ID
in interfaceI_M_CostHistory
- Parameters:
M_CostType_ID
- Type of Cost (e.g. Current, Plan, Future)
-
getM_CostType_ID
public int getM_CostType_ID()Get Cost Type.- Specified by:
getM_CostType_ID
in interfaceI_M_CostHistory
- Returns:
- Type of Cost (e.g. Current, Plan, Future)
-
getM_Product
- Specified by:
getM_Product
in interfaceI_M_CostHistory
- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID) Set Product.- Specified by:
setM_Product_ID
in interfaceI_M_CostHistory
- Parameters:
M_Product_ID
- Product, Service, Item
-
getM_Product_ID
public int getM_Product_ID()Get Product.- Specified by:
getM_Product_ID
in interfaceI_M_CostHistory
- Returns:
- Product, Service, Item
-
setNewCAmt
Set New Accumulated Amt.- Specified by:
setNewCAmt
in interfaceI_M_CostHistory
- Parameters:
NewCAmt
- Accumulated Amt after processing of M_CostDetail
-
getNewCAmt
Get New Accumulated Amt.- Specified by:
getNewCAmt
in interfaceI_M_CostHistory
- Returns:
- Accumulated Amt after processing of M_CostDetail
-
setNewCostPrice
Set New Cost Price.- Specified by:
setNewCostPrice
in interfaceI_M_CostHistory
- Parameters:
NewCostPrice
- New current cost price after processing of M_CostDetail
-
getNewCostPrice
Get New Cost Price.- Specified by:
getNewCostPrice
in interfaceI_M_CostHistory
- Returns:
- New current cost price after processing of M_CostDetail
-
setNewCQty
Set New Accumulated Qty.- Specified by:
setNewCQty
in interfaceI_M_CostHistory
- Parameters:
NewCQty
- New Accumulated Qty after processing of M_CostDetail
-
getNewCQty
Get New Accumulated Qty.- Specified by:
getNewCQty
in interfaceI_M_CostHistory
- Returns:
- New Accumulated Qty after processing of M_CostDetail
-
setNewQty
Set New Current Quantity.- Specified by:
setNewQty
in interfaceI_M_CostHistory
- Parameters:
NewQty
- New current quantity after processing of M_CostDetail
-
getNewQty
Get New Current Quantity.- Specified by:
getNewQty
in interfaceI_M_CostHistory
- Returns:
- New current quantity after processing of M_CostDetail
-
setOldCAmt
Set Old Accumulated Amt.- Specified by:
setOldCAmt
in interfaceI_M_CostHistory
- Parameters:
OldCAmt
- Old accumulated amt before the processing of M_CostDetail
-
getOldCAmt
Get Old Accumulated Amt.- Specified by:
getOldCAmt
in interfaceI_M_CostHistory
- Returns:
- Old accumulated amt before the processing of M_CostDetail
-
setOldCostPrice
Set Old Current Cost Price.- Specified by:
setOldCostPrice
in interfaceI_M_CostHistory
- Parameters:
OldCostPrice
- Old current cost price before the processing of M_CostDetail
-
getOldCostPrice
Get Old Current Cost Price.- Specified by:
getOldCostPrice
in interfaceI_M_CostHistory
- Returns:
- Old current cost price before the processing of M_CostDetail
-
setOldCQty
Set Old Accumulated Qty.- Specified by:
setOldCQty
in interfaceI_M_CostHistory
- Parameters:
OldCQty
- Old accumulated qty before the processing of M_CostDetail
-
getOldCQty
Get Old Accumulated Qty.- Specified by:
getOldCQty
in interfaceI_M_CostHistory
- Returns:
- Old accumulated qty before the processing of M_CostDetail
-
setOldQty
Set Old Current Quantity.- Specified by:
setOldQty
in interfaceI_M_CostHistory
- Parameters:
OldQty
- Old current quantity before the processing of M_CostDetail
-
getOldQty
Get Old Current Quantity.- Specified by:
getOldQty
in interfaceI_M_CostHistory
- Returns:
- Old current quantity before the processing of M_CostDetail
-