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
- Direct Known Subclasses:
MCostHistory
Generated Model for M_CostHistory
- Version:
- Release 13 - $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_IDFields inherited from interface org.compiere.model.I_M_CostHistory
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_BackDateProcessedOn, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DateAcct, COLUMNNAME_IsActive, COLUMNNAME_IsBackDate, 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
ConstructorsConstructorDescriptionX_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 intAccessLevelGet Back-Date Processed On.Get Account Date.Deprecated.intGet Attribute Set Instance.Deprecated.intGet Cost Detail.Deprecated.intGet Cost Element.intGet Cost History.Get Cost History UUID.Deprecated.intGet Cost Type.Deprecated.intGet 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 POInfoinitPO(Properties ctx) Load Meta DatabooleanGet Back-Date.voidsetBackDateProcessedOn(Timestamp BackDateProcessedOn) Set Back-Date Processed On.voidsetDateAcct(Timestamp DateAcct) Set Account Date.voidsetIsBackDate(boolean IsBackDate) Set Back-Date.voidsetM_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.voidsetM_Product_ID(int M_Product_ID) Set Product.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.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_TableAttribute, get_TableAttributeAsBoolean, get_TableAttributeAsInt, get_TableAttributes, 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, validForeignKeysExMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.compiere.model.I_M_CostHistory
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActiveMethods 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_AccessLevelin classPO- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:POString representation -
setBackDateProcessedOn
Set Back-Date Processed On.- Specified by:
setBackDateProcessedOnin interfaceI_M_CostHistory- Parameters:
BackDateProcessedOn- The date+time (expressed in decimal format) when the document has been processed
-
getBackDateProcessedOn
Get Back-Date Processed On.- Specified by:
getBackDateProcessedOnin interfaceI_M_CostHistory- Returns:
- The date+time (expressed in decimal format) when the document has been processed
-
setDateAcct
Set Account Date.- Specified by:
setDateAcctin interfaceI_M_CostHistory- Parameters:
DateAcct- Accounting Date
-
getDateAcct
Get Account Date.- Specified by:
getDateAcctin interfaceI_M_CostHistory- Returns:
- Accounting Date
-
setIsBackDate
public void setIsBackDate(boolean IsBackDate) Set Back-Date.- Specified by:
setIsBackDatein interfaceI_M_CostHistory- Parameters:
IsBackDate- Back-Date
-
isBackDate
public boolean isBackDate()Get Back-Date.- Specified by:
isBackDatein interfaceI_M_CostHistory- Returns:
- Back-Date
-
getM_AttributeSetInstance
@Deprecated(since="13") public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeExceptionDeprecated.- 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
Deprecated.- 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
Deprecated.- 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
Set Cost History UUID.- Specified by:
setM_CostHistory_UUin interfaceI_M_CostHistory- Parameters:
M_CostHistory_UU- Cost History UUID
-
getM_CostHistory_UU
Get Cost History UUID.- Specified by:
getM_CostHistory_UUin interfaceI_M_CostHistory- Returns:
- Cost History UUID
-
getM_CostType
Deprecated.- 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)
-
getM_Product
Deprecated.- Specified by:
getM_Productin interfaceI_M_CostHistory- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID) Set Product.- Specified by:
setM_Product_IDin interfaceI_M_CostHistory- Parameters:
M_Product_ID- Product, Service, Item
-
getM_Product_ID
public int getM_Product_ID()Get Product.- Specified by:
getM_Product_IDin interfaceI_M_CostHistory- Returns:
- Product, Service, Item
-
setNewCAmt
Set New Accumulated Amt.- Specified by:
setNewCAmtin interfaceI_M_CostHistory- Parameters:
NewCAmt- Accumulated Amt after processing of M_CostDetail
-
getNewCAmt
Get New Accumulated Amt.- Specified by:
getNewCAmtin interfaceI_M_CostHistory- Returns:
- Accumulated Amt after processing of M_CostDetail
-
setNewCQty
Set New Accumulated Qty.- Specified by:
setNewCQtyin interfaceI_M_CostHistory- Parameters:
NewCQty- New Accumulated Qty after processing of M_CostDetail
-
getNewCQty
Get New Accumulated Qty.- Specified by:
getNewCQtyin interfaceI_M_CostHistory- Returns:
- New Accumulated Qty after processing of M_CostDetail
-
setNewCostPrice
Set New Cost Price.- Specified by:
setNewCostPricein interfaceI_M_CostHistory- Parameters:
NewCostPrice- New current cost price after processing of M_CostDetail
-
getNewCostPrice
Get New Cost Price.- Specified by:
getNewCostPricein interfaceI_M_CostHistory- Returns:
- New current cost price after processing of M_CostDetail
-
setNewQty
Set New Current Quantity.- Specified by:
setNewQtyin interfaceI_M_CostHistory- Parameters:
NewQty- New current quantity after processing of M_CostDetail
-
getNewQty
Get New Current Quantity.- Specified by:
getNewQtyin interfaceI_M_CostHistory- Returns:
- New current quantity after processing of M_CostDetail
-
setOldCAmt
Set Old Accumulated Amt.- Specified by:
setOldCAmtin interfaceI_M_CostHistory- Parameters:
OldCAmt- Old accumulated amt before the processing of M_CostDetail
-
getOldCAmt
Get Old Accumulated Amt.- Specified by:
getOldCAmtin interfaceI_M_CostHistory- Returns:
- Old accumulated amt before the processing of M_CostDetail
-
setOldCQty
Set Old Accumulated Qty.- Specified by:
setOldCQtyin interfaceI_M_CostHistory- Parameters:
OldCQty- Old accumulated qty before the processing of M_CostDetail
-
getOldCQty
Get Old Accumulated Qty.- Specified by:
getOldCQtyin interfaceI_M_CostHistory- Returns:
- Old accumulated qty before the processing of M_CostDetail
-
setOldCostPrice
Set Old Current Cost Price.- Specified by:
setOldCostPricein interfaceI_M_CostHistory- Parameters:
OldCostPrice- Old current cost price before the processing of M_CostDetail
-
getOldCostPrice
Get Old Current Cost Price.- Specified by:
getOldCostPricein interfaceI_M_CostHistory- Returns:
- Old current cost price before the processing of M_CostDetail
-
setOldQty
Set Old Current Quantity.- Specified by:
setOldQtyin interfaceI_M_CostHistory- Parameters:
OldQty- Old current quantity before the processing of M_CostDetail
-
getOldQty
Get Old Current Quantity.- Specified by:
getOldQtyin interfaceI_M_CostHistory- Returns:
- Old current quantity before the processing of M_CostDetail
-