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
public class X_M_CostHistory extends PO implements I_M_CostHistory, I_Persistent
Generated Model for M_CostHistory- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
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, 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_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
Constructors Constructor Description X_M_CostHistory(Properties ctx, int M_CostHistory_ID, String trxName)Standard ConstructorX_M_CostHistory(Properties ctx, ResultSet rs, String trxName)Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intget_AccessLevel()AccessLevelI_M_AttributeSetInstancegetM_AttributeSetInstance()intgetM_AttributeSetInstance_ID()Get Attribute Set Instance.I_M_CostDetailgetM_CostDetail()intgetM_CostDetail_ID()Get Cost Detail.I_M_CostElementgetM_CostElement()intgetM_CostElement_ID()Get Cost Element.intgetM_CostHistory_ID()Get Cost History.StringgetM_CostHistory_UU()Get Cost History UUID.I_M_CostTypegetM_CostType()intgetM_CostType_ID()Get Cost Type.BigDecimalgetNewCAmt()Get New Accumulated Amt.BigDecimalgetNewCostPrice()Get New Cost Price.BigDecimalgetNewCQty()Get New Accumulated Qty.BigDecimalgetNewQty()Get New Current Quantity.BigDecimalgetOldCAmt()Get Old Accumulated Amt.BigDecimalgetOldCostPrice()Get Old Current Cost Price.BigDecimalgetOldCQty()Get Old Accumulated Qty.BigDecimalgetOldQty()Get Old Current Quantity.protected POInfoinitPO(Properties ctx)Load Meta DatavoidsetM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)Set Attribute Set Instance.voidsetM_CostDetail_ID(int M_CostDetail_ID)Set Cost Detail.voidsetM_CostElement_ID(int M_CostElement_ID)Set Cost Element.voidsetM_CostHistory_ID(int M_CostHistory_ID)Set Cost History.voidsetM_CostHistory_UU(String M_CostHistory_UU)Set Cost History UUID.voidsetM_CostType_ID(int M_CostType_ID)Set Cost Type.voidsetNewCAmt(BigDecimal NewCAmt)Set New Accumulated Amt.voidsetNewCostPrice(BigDecimal NewCostPrice)Set New Cost Price.voidsetNewCQty(BigDecimal NewCQty)Set New Accumulated Qty.voidsetNewQty(BigDecimal NewQty)Set New Current Quantity.voidsetOldCAmt(BigDecimal OldCAmt)Set Old Accumulated Amt.voidsetOldCostPrice(BigDecimal OldCostPrice)Set Old Current Cost Price.voidsetOldCQty(BigDecimal OldCQty)Set Old Accumulated Qty.voidsetOldQty(BigDecimal OldQty)Set Old Current Quantity.StringtoString()String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, 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_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, 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, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, 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, 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 Detail
-
X_M_CostHistory
public X_M_CostHistory(Properties ctx, int M_CostHistory_ID, String trxName)
Standard Constructor
-
X_M_CostHistory
public X_M_CostHistory(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevelin classPO- Returns:
- 3 - Client - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
getM_AttributeSetInstance
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException
- Specified by:
getM_AttributeSetInstancein 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_IDin 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_IDin interfaceI_M_CostHistory- Returns:
- Product Attribute Set Instance
-
getM_CostDetail
public I_M_CostDetail getM_CostDetail() throws RuntimeException
- Specified by:
getM_CostDetailin interfaceI_M_CostHistory- Throws:
RuntimeException
-
setM_CostDetail_ID
public void setM_CostDetail_ID(int M_CostDetail_ID)
Set Cost Detail.- Specified by:
setM_CostDetail_IDin 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_IDin interfaceI_M_CostHistory- Returns:
- Cost Detail Information
-
getM_CostElement
public I_M_CostElement getM_CostElement() throws RuntimeException
- Specified by:
getM_CostElementin interfaceI_M_CostHistory- Throws:
RuntimeException
-
setM_CostElement_ID
public void setM_CostElement_ID(int M_CostElement_ID)
Set Cost Element.- Specified by:
setM_CostElement_IDin 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_IDin 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_IDin 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_IDin interfaceI_M_CostHistory- Returns:
- Movement history for M_Cost
-
setM_CostHistory_UU
public void setM_CostHistory_UU(String M_CostHistory_UU)
Set Cost History UUID.- Specified by:
setM_CostHistory_UUin interfaceI_M_CostHistory- Parameters:
M_CostHistory_UU- Cost History UUID
-
getM_CostHistory_UU
public String getM_CostHistory_UU()
Get Cost History UUID.- Specified by:
getM_CostHistory_UUin interfaceI_M_CostHistory- Returns:
- Cost History UUID
-
getM_CostType
public I_M_CostType getM_CostType() throws RuntimeException
- Specified by:
getM_CostTypein interfaceI_M_CostHistory- Throws:
RuntimeException
-
setM_CostType_ID
public void setM_CostType_ID(int M_CostType_ID)
Set Cost Type.- Specified by:
setM_CostType_IDin 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_IDin interfaceI_M_CostHistory- Returns:
- Type of Cost (e.g. Current, Plan, Future)
-
setNewCAmt
public void setNewCAmt(BigDecimal NewCAmt)
Set New Accumulated Amt.- Specified by:
setNewCAmtin interfaceI_M_CostHistory- Parameters:
NewCAmt- Accumulated Amt after processing of M_CostDetail
-
getNewCAmt
public BigDecimal getNewCAmt()
Get New Accumulated Amt.- Specified by:
getNewCAmtin interfaceI_M_CostHistory- Returns:
- Accumulated Amt after processing of M_CostDetail
-
setNewCostPrice
public void setNewCostPrice(BigDecimal NewCostPrice)
Set New Cost Price.- Specified by:
setNewCostPricein interfaceI_M_CostHistory- Parameters:
NewCostPrice- New current cost price after processing of M_CostDetail
-
getNewCostPrice
public BigDecimal getNewCostPrice()
Get New Cost Price.- Specified by:
getNewCostPricein interfaceI_M_CostHistory- Returns:
- New current cost price after processing of M_CostDetail
-
setNewCQty
public void setNewCQty(BigDecimal NewCQty)
Set New Accumulated Qty.- Specified by:
setNewCQtyin interfaceI_M_CostHistory- Parameters:
NewCQty- New Accumulated Qty after processing of M_CostDetail
-
getNewCQty
public BigDecimal getNewCQty()
Get New Accumulated Qty.- Specified by:
getNewCQtyin interfaceI_M_CostHistory- Returns:
- New Accumulated Qty after processing of M_CostDetail
-
setNewQty
public void setNewQty(BigDecimal NewQty)
Set New Current Quantity.- Specified by:
setNewQtyin interfaceI_M_CostHistory- Parameters:
NewQty- New current quantity after processing of M_CostDetail
-
getNewQty
public BigDecimal getNewQty()
Get New Current Quantity.- Specified by:
getNewQtyin interfaceI_M_CostHistory- Returns:
- New current quantity after processing of M_CostDetail
-
setOldCAmt
public void setOldCAmt(BigDecimal OldCAmt)
Set Old Accumulated Amt.- Specified by:
setOldCAmtin interfaceI_M_CostHistory- Parameters:
OldCAmt- Old accumulated amt before the processing of M_CostDetail
-
getOldCAmt
public BigDecimal getOldCAmt()
Get Old Accumulated Amt.- Specified by:
getOldCAmtin interfaceI_M_CostHistory- Returns:
- Old accumulated amt before the processing of M_CostDetail
-
setOldCostPrice
public void setOldCostPrice(BigDecimal OldCostPrice)
Set Old Current Cost Price.- Specified by:
setOldCostPricein interfaceI_M_CostHistory- Parameters:
OldCostPrice- Old current cost price before the processing of M_CostDetail
-
getOldCostPrice
public BigDecimal getOldCostPrice()
Get Old Current Cost Price.- Specified by:
getOldCostPricein interfaceI_M_CostHistory- Returns:
- Old current cost price before the processing of M_CostDetail
-
setOldCQty
public void setOldCQty(BigDecimal OldCQty)
Set Old Accumulated Qty.- Specified by:
setOldCQtyin interfaceI_M_CostHistory- Parameters:
OldCQty- Old accumulated qty before the processing of M_CostDetail
-
getOldCQty
public BigDecimal getOldCQty()
Get Old Accumulated Qty.- Specified by:
getOldCQtyin interfaceI_M_CostHistory- Returns:
- Old accumulated qty before the processing of M_CostDetail
-
setOldQty
public void setOldQty(BigDecimal OldQty)
Set Old Current Quantity.- Specified by:
setOldQtyin interfaceI_M_CostHistory- Parameters:
OldQty- Old current quantity before the processing of M_CostDetail
-
getOldQty
public BigDecimal getOldQty()
Get Old Current Quantity.- Specified by:
getOldQtyin interfaceI_M_CostHistory- Returns:
- Old current quantity before the processing of M_CostDetail
-
-