|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.framework.PO
org.compiere.model.X_C_OrderTax
org.compiere.model.MOrderTax
public class MOrderTax
Order Tax Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_C_OrderTax |
|---|
accessLevel, Model, Table_ID, Table_Name, updatedMS |
| Fields inherited from class org.compiere.framework.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
MOrderTax(Ctx ctx,
int ignored,
String trxName)
Persistency Constructor |
|
MOrderTax(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor. |
|
| Method Summary | |
|---|---|
boolean |
calculateTaxFromLines()
Calculate/Set Tax Amt from Order Lines |
static MOrderTax |
get(MOrderLine line,
int precision,
boolean oldTax,
String trxName)
Get Tax Line for Order Line |
protected MTax |
getTax()
Get Tax |
protected void |
setPrecision(int precision)
Set Precision |
String |
toString()
String Representation |
| Methods inherited from class org.compiere.model.X_C_OrderTax |
|---|
get_AccessLevel, getC_Order_ID, getC_Tax_ID, getKeyNamePair, getTaxAmt, getTaxBaseAmt, initPO, isProcessed, isTaxIncluded, setC_Order_ID, setC_Tax_ID, setIsTaxIncluded, setProcessed, setTaxAmt, setTaxBaseAmt |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MOrderTax(Ctx ctx,
int ignored,
String trxName)
ctx - contextignored - ignoredtrxName - transaction
public MOrderTax(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
public static MOrderTax get(MOrderLine line,
int precision,
boolean oldTax,
String trxName)
line - Order lineprecision - currenct precisionoldTax - get old taxtrxName - transaction
protected void setPrecision(int precision)
precision - The precision to set.protected MTax getTax()
public boolean calculateTaxFromLines()
public String toString()
toString in class X_C_OrderTax
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||