|
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.MProductPricing
public class MProductPricing
Product Price Calculations
| Field Summary | |
|---|---|
protected CLogger |
log
Logger |
| Constructor Summary | |
|---|---|
MProductPricing(int M_Product_ID,
int C_BPartner_ID,
BigDecimal Qty,
boolean isSOTrx)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
calculatePrice()
Calculate Price |
int |
getC_Currency_ID()
Get Price List Currency |
int |
getC_UOM_ID()
Get C_UOM_ID |
BigDecimal |
getDiscount()
Calculate Discount Percentage based on Standard/List Price |
int |
getM_PriceList_ID()
Get PriceList ID |
int |
getM_PriceList_Version_ID()
Get PriceList Version |
int |
getM_Product_ID()
Get Product ID |
int |
getPrecision()
Get Precision |
Timestamp |
getPriceDate()
Get Price Date |
BigDecimal |
getPriceLimit()
Get Price Limit |
BigDecimal |
getPriceList()
Get Price List |
BigDecimal |
getPriceStd()
Get Price Std |
boolean |
isCalculated()
Is the Price Calculated (i.e. found)? |
boolean |
isDiscountSchema()
Is a DiscountSchema active? |
boolean |
isEnforcePriceLimit()
Is Price List enforded? |
boolean |
isTaxIncluded()
Is Tax Included |
void |
setM_PriceList_ID(int M_PriceList_ID)
Set PriceList |
void |
setM_PriceList_Version_ID(int M_PriceList_Version_ID)
Set PriceList Version |
void |
setPriceDate(Timestamp priceDate)
Set Price Date |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected CLogger log
| Constructor Detail |
|---|
public MProductPricing(int M_Product_ID,
int C_BPartner_ID,
BigDecimal Qty,
boolean isSOTrx)
M_Product_ID - productC_BPartner_ID - partnerQty - quantityisSOTrx - SO or PO| Method Detail |
|---|
public boolean calculatePrice()
public boolean isTaxIncluded()
public BigDecimal getDiscount()
public int getM_Product_ID()
public int getM_PriceList_ID()
public void setM_PriceList_ID(int M_PriceList_ID)
M_PriceList_ID - plpublic int getM_PriceList_Version_ID()
public void setM_PriceList_Version_ID(int M_PriceList_Version_ID)
M_PriceList_Version_ID - plvpublic Timestamp getPriceDate()
public void setPriceDate(Timestamp priceDate)
priceDate - datepublic int getPrecision()
public int getC_UOM_ID()
public BigDecimal getPriceList()
public BigDecimal getPriceStd()
public BigDecimal getPriceLimit()
public int getC_Currency_ID()
public boolean isEnforcePriceLimit()
public boolean isDiscountSchema()
public boolean isCalculated()
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||