|
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_InvoiceTax
org.compiere.model.MInvoiceTax
public class MInvoiceTax
Invoice Tax Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_C_InvoiceTax |
|---|
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 | |
|---|---|
MInvoiceTax(Ctx ctx,
int ignored,
String trxName)
Persistency Constructor |
|
MInvoiceTax(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor. |
|
| Method Summary | |
|---|---|
boolean |
calculateTaxFromLines()
Calculate/Set Tax Base Amt from Invoice Lines |
static MInvoiceTax |
get(MInvoiceLine line,
int precision,
boolean oldTax,
String trxName)
Get Tax Line for Invoice 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_InvoiceTax |
|---|
get_AccessLevel, getC_Invoice_ID, getC_Tax_ID, getKeyNamePair, getTaxAmt, getTaxBaseAmt, initPO, isProcessed, isTaxIncluded, setC_Invoice_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 MInvoiceTax(Ctx ctx,
int ignored,
String trxName)
ctx - contextignored - ignoredtrxName - transaction
public MInvoiceTax(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
public static MInvoiceTax get(MInvoiceLine line,
int precision,
boolean oldTax,
String trxName)
line - invoice lineprecision - currency precisionoldTax - if true old tax is returnedtrxName - transaction name
protected void setPrecision(int precision)
precision - The precision to set.protected MTax getTax()
public boolean calculateTaxFromLines()
public String toString()
toString in class X_C_InvoiceTax
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||