Package org.compiere.model
Interface I_M_Cost
-
-
Field Summary
Fields Modifier and Type Field Description static BigDecimalaccessLevelAccessLevel = 3 - Client - Orgstatic StringCOLUMNNAME_AD_Client_IDColumn name AD_Client_IDstatic StringCOLUMNNAME_AD_Org_IDColumn name AD_Org_IDstatic StringCOLUMNNAME_C_AcctSchema_IDColumn name C_AcctSchema_IDstatic StringCOLUMNNAME_CostingMethodColumn name CostingMethodstatic StringCOLUMNNAME_CreatedColumn name Createdstatic StringCOLUMNNAME_CreatedByColumn name CreatedBystatic StringCOLUMNNAME_CumulatedAmtColumn name CumulatedAmtstatic StringCOLUMNNAME_CumulatedQtyColumn name CumulatedQtystatic StringCOLUMNNAME_CurrentCostPriceColumn name CurrentCostPricestatic StringCOLUMNNAME_CurrentCostPriceLLColumn name CurrentCostPriceLLstatic StringCOLUMNNAME_CurrentQtyColumn name CurrentQtystatic StringCOLUMNNAME_DescriptionColumn name Descriptionstatic StringCOLUMNNAME_FutureCostPriceColumn name FutureCostPricestatic StringCOLUMNNAME_FutureCostPriceLLColumn name FutureCostPriceLLstatic StringCOLUMNNAME_IsActiveColumn name IsActivestatic StringCOLUMNNAME_IsCostFrozenColumn name IsCostFrozenstatic StringCOLUMNNAME_M_AttributeSetInstance_IDColumn name M_AttributeSetInstance_IDstatic StringCOLUMNNAME_M_Cost_UUColumn name M_Cost_UUstatic StringCOLUMNNAME_M_CostElement_IDColumn name M_CostElement_IDstatic StringCOLUMNNAME_M_CostType_IDColumn name M_CostType_IDstatic StringCOLUMNNAME_M_Product_IDColumn name M_Product_IDstatic StringCOLUMNNAME_PercentColumn name Percentstatic StringCOLUMNNAME_ProcessedColumn name Processedstatic StringCOLUMNNAME_UpdatedColumn name Updatedstatic StringCOLUMNNAME_UpdatedByColumn name UpdatedBystatic KeyNamePairModelstatic intTable_IDAD_Table_ID=771static StringTable_NameTableName=M_Cost
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetAD_Client_ID()Get Client.intgetAD_Org_ID()Get Organization.I_C_AcctSchemagetC_AcctSchema()intgetC_AcctSchema_ID()Get Accounting Schema.StringgetCostingMethod()Get Costing Method.TimestampgetCreated()Get Created.intgetCreatedBy()Get Created By.BigDecimalgetCumulatedAmt()Get Accumulated Amt.BigDecimalgetCumulatedQty()Get Accumulated Qty.BigDecimalgetCurrentCostPrice()Get Current Cost Price.BigDecimalgetCurrentCostPriceLL()Get Current Cost Price Lower Level.BigDecimalgetCurrentQty()Get Current Quantity.StringgetDescription()Get Description.BigDecimalgetFutureCostPrice()Get Future Cost PriceBigDecimalgetFutureCostPriceLL()Get Future Cost Price Lower LevelI_M_AttributeSetInstancegetM_AttributeSetInstance()intgetM_AttributeSetInstance_ID()Get Attribute Set Instance.StringgetM_Cost_UU()Get M_Cost_UUI_M_CostElementgetM_CostElement()intgetM_CostElement_ID()Get Cost Element.I_M_CostTypegetM_CostType()intgetM_CostType_ID()Get Cost Type.I_M_ProductgetM_Product()intgetM_Product_ID()Get Product.intgetPercent()Get Percent.TimestampgetUpdated()Get Updated.intgetUpdatedBy()Get Updated By.booleanisActive()Get Active.booleanisCostFrozen()Get Cost Frozen.booleanisProcessed()Get Processed.voidsetAD_Org_ID(int AD_Org_ID)Set Organization.voidsetC_AcctSchema_ID(int C_AcctSchema_ID)Set Accounting Schema.voidsetCostingMethod(String CostingMethod)Set Costing Method.voidsetCumulatedAmt(BigDecimal CumulatedAmt)Set Accumulated Amt.voidsetCumulatedQty(BigDecimal CumulatedQty)Set Accumulated Qty.voidsetCurrentCostPrice(BigDecimal CurrentCostPrice)Set Current Cost Price.voidsetCurrentCostPriceLL(BigDecimal CurrentCostPriceLL)Set Current Cost Price Lower Level.voidsetCurrentQty(BigDecimal CurrentQty)Set Current Quantity.voidsetDescription(String Description)Set Description.voidsetFutureCostPrice(BigDecimal FutureCostPrice)Set Future Cost PricevoidsetFutureCostPriceLL(BigDecimal FutureCostPriceLL)Set Future Cost Price Lower LevelvoidsetIsActive(boolean IsActive)Set Active.voidsetIsCostFrozen(boolean IsCostFrozen)Set Cost Frozen.voidsetM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)Set Attribute Set Instance.voidsetM_Cost_UU(String M_Cost_UU)Set M_Cost_UUvoidsetM_CostElement_ID(int M_CostElement_ID)Set Cost Element.voidsetM_CostType_ID(int M_CostType_ID)Set Cost Type.voidsetM_Product_ID(int M_Product_ID)Set Product.voidsetPercent(int Percent)Set Percent.voidsetProcessed(boolean Processed)Set Processed.
-
-
-
Field Detail
-
Table_Name
static final String Table_Name
TableName=M_Cost- See Also:
- Constant Field Values
-
Table_ID
static final int Table_ID
AD_Table_ID=771- See Also:
- Constant Field Values
-
Model
static final KeyNamePair Model
-
accessLevel
static final BigDecimal accessLevel
AccessLevel = 3 - Client - Org
-
COLUMNNAME_AD_Client_ID
static final String COLUMNNAME_AD_Client_ID
Column name AD_Client_ID- See Also:
- Constant Field Values
-
COLUMNNAME_AD_Org_ID
static final String COLUMNNAME_AD_Org_ID
Column name AD_Org_ID- See Also:
- Constant Field Values
-
COLUMNNAME_C_AcctSchema_ID
static final String COLUMNNAME_C_AcctSchema_ID
Column name C_AcctSchema_ID- See Also:
- Constant Field Values
-
COLUMNNAME_CostingMethod
static final String COLUMNNAME_CostingMethod
Column name CostingMethod- See Also:
- Constant Field Values
-
COLUMNNAME_Created
static final String COLUMNNAME_Created
Column name Created- See Also:
- Constant Field Values
-
COLUMNNAME_CreatedBy
static final String COLUMNNAME_CreatedBy
Column name CreatedBy- See Also:
- Constant Field Values
-
COLUMNNAME_CumulatedAmt
static final String COLUMNNAME_CumulatedAmt
Column name CumulatedAmt- See Also:
- Constant Field Values
-
COLUMNNAME_CumulatedQty
static final String COLUMNNAME_CumulatedQty
Column name CumulatedQty- See Also:
- Constant Field Values
-
COLUMNNAME_CurrentCostPrice
static final String COLUMNNAME_CurrentCostPrice
Column name CurrentCostPrice- See Also:
- Constant Field Values
-
COLUMNNAME_CurrentCostPriceLL
static final String COLUMNNAME_CurrentCostPriceLL
Column name CurrentCostPriceLL- See Also:
- Constant Field Values
-
COLUMNNAME_CurrentQty
static final String COLUMNNAME_CurrentQty
Column name CurrentQty- See Also:
- Constant Field Values
-
COLUMNNAME_Description
static final String COLUMNNAME_Description
Column name Description- See Also:
- Constant Field Values
-
COLUMNNAME_FutureCostPrice
static final String COLUMNNAME_FutureCostPrice
Column name FutureCostPrice- See Also:
- Constant Field Values
-
COLUMNNAME_FutureCostPriceLL
static final String COLUMNNAME_FutureCostPriceLL
Column name FutureCostPriceLL- See Also:
- Constant Field Values
-
COLUMNNAME_IsActive
static final String COLUMNNAME_IsActive
Column name IsActive- See Also:
- Constant Field Values
-
COLUMNNAME_IsCostFrozen
static final String COLUMNNAME_IsCostFrozen
Column name IsCostFrozen- See Also:
- Constant Field Values
-
COLUMNNAME_M_AttributeSetInstance_ID
static final String COLUMNNAME_M_AttributeSetInstance_ID
Column name M_AttributeSetInstance_ID- See Also:
- Constant Field Values
-
COLUMNNAME_M_CostElement_ID
static final String COLUMNNAME_M_CostElement_ID
Column name M_CostElement_ID- See Also:
- Constant Field Values
-
COLUMNNAME_M_CostType_ID
static final String COLUMNNAME_M_CostType_ID
Column name M_CostType_ID- See Also:
- Constant Field Values
-
COLUMNNAME_M_Cost_UU
static final String COLUMNNAME_M_Cost_UU
Column name M_Cost_UU- See Also:
- Constant Field Values
-
COLUMNNAME_M_Product_ID
static final String COLUMNNAME_M_Product_ID
Column name M_Product_ID- See Also:
- Constant Field Values
-
COLUMNNAME_Percent
static final String COLUMNNAME_Percent
Column name Percent- See Also:
- Constant Field Values
-
COLUMNNAME_Processed
static final String COLUMNNAME_Processed
Column name Processed- See Also:
- Constant Field Values
-
COLUMNNAME_Updated
static final String COLUMNNAME_Updated
Column name Updated- See Also:
- Constant Field Values
-
COLUMNNAME_UpdatedBy
static final String COLUMNNAME_UpdatedBy
Column name UpdatedBy- See Also:
- Constant Field Values
-
-
Method Detail
-
getAD_Client_ID
int getAD_Client_ID()
Get Client. Client/Tenant for this installation.
-
setAD_Org_ID
void setAD_Org_ID(int AD_Org_ID)
Set Organization. Organizational entity within client
-
getAD_Org_ID
int getAD_Org_ID()
Get Organization. Organizational entity within client
-
setC_AcctSchema_ID
void setC_AcctSchema_ID(int C_AcctSchema_ID)
Set Accounting Schema. Rules for accounting
-
getC_AcctSchema_ID
int getC_AcctSchema_ID()
Get Accounting Schema. Rules for accounting
-
getC_AcctSchema
I_C_AcctSchema getC_AcctSchema() throws RuntimeException
- Throws:
RuntimeException
-
setCostingMethod
void setCostingMethod(String CostingMethod)
Set Costing Method. Indicates how Costs will be calculated
-
getCostingMethod
String getCostingMethod()
Get Costing Method. Indicates how Costs will be calculated
-
getCreated
Timestamp getCreated()
Get Created. Date this record was created
-
getCreatedBy
int getCreatedBy()
Get Created By. User who created this records
-
setCumulatedAmt
void setCumulatedAmt(BigDecimal CumulatedAmt)
Set Accumulated Amt. Total Amount
-
getCumulatedAmt
BigDecimal getCumulatedAmt()
Get Accumulated Amt. Total Amount
-
setCumulatedQty
void setCumulatedQty(BigDecimal CumulatedQty)
Set Accumulated Qty. Total Quantity
-
getCumulatedQty
BigDecimal getCumulatedQty()
Get Accumulated Qty. Total Quantity
-
setCurrentCostPrice
void setCurrentCostPrice(BigDecimal CurrentCostPrice)
Set Current Cost Price. The currently used cost price
-
getCurrentCostPrice
BigDecimal getCurrentCostPrice()
Get Current Cost Price. The currently used cost price
-
setCurrentCostPriceLL
void setCurrentCostPriceLL(BigDecimal CurrentCostPriceLL)
Set Current Cost Price Lower Level. Current Price Lower Level Is the sum of the costs of the components of this product manufactured for this level.
-
getCurrentCostPriceLL
BigDecimal getCurrentCostPriceLL()
Get Current Cost Price Lower Level. Current Price Lower Level Is the sum of the costs of the components of this product manufactured for this level.
-
setCurrentQty
void setCurrentQty(BigDecimal CurrentQty)
Set Current Quantity. Current Quantity
-
getCurrentQty
BigDecimal getCurrentQty()
Get Current Quantity. Current Quantity
-
setDescription
void setDescription(String Description)
Set Description. Optional short description of the record
-
getDescription
String getDescription()
Get Description. Optional short description of the record
-
setFutureCostPrice
void setFutureCostPrice(BigDecimal FutureCostPrice)
Set Future Cost Price
-
getFutureCostPrice
BigDecimal getFutureCostPrice()
Get Future Cost Price
-
setFutureCostPriceLL
void setFutureCostPriceLL(BigDecimal FutureCostPriceLL)
Set Future Cost Price Lower Level
-
getFutureCostPriceLL
BigDecimal getFutureCostPriceLL()
Get Future Cost Price Lower Level
-
setIsActive
void setIsActive(boolean IsActive)
Set Active. The record is active in the system
-
isActive
boolean isActive()
Get Active. The record is active in the system
-
setIsCostFrozen
void setIsCostFrozen(boolean IsCostFrozen)
Set Cost Frozen. Indicated that the Standard Cost is frozen
-
isCostFrozen
boolean isCostFrozen()
Get Cost Frozen. Indicated that the Standard Cost is frozen
-
setM_AttributeSetInstance_ID
void setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
Set Attribute Set Instance. Product Attribute Set Instance
-
getM_AttributeSetInstance_ID
int getM_AttributeSetInstance_ID()
Get Attribute Set Instance. Product Attribute Set Instance
-
getM_AttributeSetInstance
I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException
- Throws:
RuntimeException
-
setM_CostElement_ID
void setM_CostElement_ID(int M_CostElement_ID)
Set Cost Element. Product Cost Element
-
getM_CostElement_ID
int getM_CostElement_ID()
Get Cost Element. Product Cost Element
-
getM_CostElement
I_M_CostElement getM_CostElement() throws RuntimeException
- Throws:
RuntimeException
-
setM_CostType_ID
void setM_CostType_ID(int M_CostType_ID)
Set Cost Type. Type of Cost (e.g. Current, Plan, Future)
-
getM_CostType_ID
int getM_CostType_ID()
Get Cost Type. Type of Cost (e.g. Current, Plan, Future)
-
getM_CostType
I_M_CostType getM_CostType() throws RuntimeException
- Throws:
RuntimeException
-
setM_Cost_UU
void setM_Cost_UU(String M_Cost_UU)
Set M_Cost_UU
-
getM_Cost_UU
String getM_Cost_UU()
Get M_Cost_UU
-
setM_Product_ID
void setM_Product_ID(int M_Product_ID)
Set Product. Product, Service, Item
-
getM_Product_ID
int getM_Product_ID()
Get Product. Product, Service, Item
-
getM_Product
I_M_Product getM_Product() throws RuntimeException
- Throws:
RuntimeException
-
setPercent
void setPercent(int Percent)
Set Percent. Percentage
-
getPercent
int getPercent()
Get Percent. Percentage
-
setProcessed
void setProcessed(boolean Processed)
Set Processed. The document has been processed
-
isProcessed
boolean isProcessed()
Get Processed. The document has been processed
-
getUpdated
Timestamp getUpdated()
Get Updated. Date this record was updated
-
getUpdatedBy
int getUpdatedBy()
Get Updated By. User who updated this records
-
-