|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.model.PO
org.compiere.model.X_M_Cost
public class X_M_Cost
Generated Model for M_Cost
| Field Summary | |
|---|---|
static String |
COSTINGMETHOD__
_ = x |
static int |
COSTINGMETHOD_AD_Reference_ID
CostingMethod AD_Reference_ID=122 |
static String |
COSTINGMETHOD_AverageInvoice
Average Invoice = I |
static String |
COSTINGMETHOD_AveragePO
Average PO = A |
static String |
COSTINGMETHOD_Fifo
Fifo = F |
static String |
COSTINGMETHOD_LastInvoice
Last Invoice = i |
static String |
COSTINGMETHOD_LastPOPrice
Last PO Price = p |
static String |
COSTINGMETHOD_Lifo
Lifo = L |
static String |
COSTINGMETHOD_StandardCosting
Standard Costing = S |
static String |
COSTINGMETHOD_UserDefined
User Defined = U |
| 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, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
X_M_Cost(Properties ctx,
int M_Cost_ID,
String trxName)
Standard Constructor |
|
X_M_Cost(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected int |
get_AccessLevel()
AccessLevel |
int |
getC_AcctSchema_ID()
Get Accounting Schema. |
I_C_AcctSchema |
getC_AcctSchema()
|
String |
getCostingMethod()
Get Costing Method. |
BigDecimal |
getCumulatedAmt()
Get Accumulated Amt. |
BigDecimal |
getCumulatedQty()
Get Accumulated Qty. |
BigDecimal |
getCurrentCostPrice()
Get Current Cost Price. |
BigDecimal |
getCurrentCostPriceLL()
Get CurrentCostPriceLL. |
BigDecimal |
getCurrentQty()
Get Current Quantity. |
String |
getDescription()
Get Description. |
BigDecimal |
getFutureCostPrice()
Get Future Cost Price. |
int |
getM_AttributeSetInstance_ID()
Get Attribute Set Instance. |
int |
getM_CostElement_ID()
Get Cost Element. |
I_M_CostElement |
getM_CostElement()
|
int |
getM_CostType_ID()
Get Cost Type. |
I_M_CostType |
getM_CostType()
|
int |
getM_Product_ID()
Get Product. |
I_M_Product |
getM_Product()
|
int |
getPercent()
Get Percent. |
protected POInfo |
initPO(Properties ctx)
Load Meta Data |
boolean |
isProcessed()
Get Processed. |
void |
setC_AcctSchema_ID(int C_AcctSchema_ID)
Set Accounting Schema. |
void |
setCostingMethod(String CostingMethod)
Set Costing Method. |
void |
setCumulatedAmt(BigDecimal CumulatedAmt)
Set Accumulated Amt. |
void |
setCumulatedQty(BigDecimal CumulatedQty)
Set Accumulated Qty. |
void |
setCurrentCostPrice(BigDecimal CurrentCostPrice)
Set Current Cost Price. |
void |
setCurrentCostPriceLL(BigDecimal CurrentCostPriceLL)
Set CurrentCostPriceLL. |
void |
setCurrentQty(BigDecimal CurrentQty)
Set Current Quantity. |
void |
setDescription(String Description)
Set Description. |
void |
setFutureCostPrice(BigDecimal FutureCostPrice)
Set Future Cost Price. |
void |
setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
Set Attribute Set Instance. |
void |
setM_CostElement_ID(int M_CostElement_ID)
Set Cost Element. |
void |
setM_CostType_ID(int M_CostType_ID)
Set Cost Type. |
void |
setM_Product_ID(int M_Product_ID)
Set Product. |
void |
setPercent(int Percent)
Set Percent. |
void |
setProcessed(boolean Processed)
Set Processed. |
String |
toString()
String representation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.compiere.model.I_Persistent |
|---|
save |
| Field Detail |
|---|
public static final int COSTINGMETHOD_AD_Reference_ID
public static final String COSTINGMETHOD_StandardCosting
public static final String COSTINGMETHOD_AveragePO
public static final String COSTINGMETHOD_Lifo
public static final String COSTINGMETHOD_Fifo
public static final String COSTINGMETHOD_LastPOPrice
public static final String COSTINGMETHOD_AverageInvoice
public static final String COSTINGMETHOD_LastInvoice
public static final String COSTINGMETHOD_UserDefined
public static final String COSTINGMETHOD__
| Constructor Detail |
|---|
public X_M_Cost(Properties ctx,
int M_Cost_ID,
String trxName)
public X_M_Cost(Properties ctx,
ResultSet rs,
String trxName)
| Method Detail |
|---|
protected int get_AccessLevel()
get_AccessLevel in class POprotected POInfo initPO(Properties ctx)
initPO in class POctx - context
public String toString()
PO
toString in class PO
public I_C_AcctSchema getC_AcctSchema()
throws Exception
getC_AcctSchema in interface I_M_CostExceptionpublic void setC_AcctSchema_ID(int C_AcctSchema_ID)
setC_AcctSchema_ID in interface I_M_CostC_AcctSchema_ID - Rules for accountingpublic int getC_AcctSchema_ID()
getC_AcctSchema_ID in interface I_M_Costpublic void setCostingMethod(String CostingMethod)
setCostingMethod in interface I_M_CostCostingMethod - Indicates how Costs will be calculatedpublic String getCostingMethod()
getCostingMethod in interface I_M_Costpublic void setCumulatedAmt(BigDecimal CumulatedAmt)
setCumulatedAmt in interface I_M_CostCumulatedAmt - Total Amountpublic BigDecimal getCumulatedAmt()
getCumulatedAmt in interface I_M_Costpublic void setCumulatedQty(BigDecimal CumulatedQty)
setCumulatedQty in interface I_M_CostCumulatedQty - Total Quantitypublic BigDecimal getCumulatedQty()
getCumulatedQty in interface I_M_Costpublic void setCurrentCostPrice(BigDecimal CurrentCostPrice)
setCurrentCostPrice in interface I_M_CostCurrentCostPrice - The currently used cost pricepublic BigDecimal getCurrentCostPrice()
getCurrentCostPrice in interface I_M_Costpublic void setCurrentCostPriceLL(BigDecimal CurrentCostPriceLL)
setCurrentCostPriceLL in interface I_M_CostCurrentCostPriceLL - CurrentCostPriceLLpublic BigDecimal getCurrentCostPriceLL()
getCurrentCostPriceLL in interface I_M_Costpublic void setCurrentQty(BigDecimal CurrentQty)
setCurrentQty in interface I_M_CostCurrentQty - Current Quantitypublic BigDecimal getCurrentQty()
getCurrentQty in interface I_M_Costpublic void setDescription(String Description)
setDescription in interface I_M_CostDescription - Optional short description of the recordpublic String getDescription()
getDescription in interface I_M_Costpublic void setFutureCostPrice(BigDecimal FutureCostPrice)
setFutureCostPrice in interface I_M_CostFutureCostPrice - Future Cost Pricepublic BigDecimal getFutureCostPrice()
getFutureCostPrice in interface I_M_Costpublic void setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
setM_AttributeSetInstance_ID in interface I_M_CostM_AttributeSetInstance_ID - Product Attribute Set Instancepublic int getM_AttributeSetInstance_ID()
getM_AttributeSetInstance_ID in interface I_M_Cost
public I_M_CostElement getM_CostElement()
throws Exception
getM_CostElement in interface I_M_CostExceptionpublic void setM_CostElement_ID(int M_CostElement_ID)
setM_CostElement_ID in interface I_M_CostM_CostElement_ID - Product Cost Elementpublic int getM_CostElement_ID()
getM_CostElement_ID in interface I_M_Cost
public I_M_CostType getM_CostType()
throws Exception
getM_CostType in interface I_M_CostExceptionpublic void setM_CostType_ID(int M_CostType_ID)
setM_CostType_ID in interface I_M_CostM_CostType_ID - Type of Cost (e.g. Current, Plan, Future)public int getM_CostType_ID()
getM_CostType_ID in interface I_M_Cost
public I_M_Product getM_Product()
throws Exception
getM_Product in interface I_M_CostExceptionpublic void setM_Product_ID(int M_Product_ID)
setM_Product_ID in interface I_M_CostM_Product_ID - Product, Service, Itempublic int getM_Product_ID()
getM_Product_ID in interface I_M_Costpublic void setPercent(int Percent)
setPercent in interface I_M_CostPercent - Percentagepublic int getPercent()
getPercent in interface I_M_Costpublic void setProcessed(boolean Processed)
setProcessed in interface I_M_CostProcessed - The document has been processedpublic boolean isProcessed()
isProcessed in interface I_M_Cost
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||