Package org.openbravo.erpCommon.ad_forms
Class DocTax
- java.lang.Object
-
- org.openbravo.erpCommon.ad_forms.DocTax
-
public class DocTax extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACCTTYPE_TaxCredit
Tax Creditstatic int
ACCTTYPE_TaxCredit_Trans
Tax Credit Transitorystatic int
ACCTTYPE_TaxDue
Tax Due Acctstatic int
ACCTTYPE_TaxDue_Trans
Tax Due Transitory Acctstatic int
ACCTTYPE_TaxExpense
Tax Expensestatic int
ACCTTYPE_TaxLiability
Tax Liabilitystatic int
ACCTTYPE_TaxReceivables
Tax ReceivablesString
m_amount
AmountString
m_C_Tax_ID
Tax IDboolean
m_isCashVAT
boolean
m_isTaxDeductable
boolean
m_isTaxUndeductable
String
m_name
NameString
m_rate
Tax Rate
-
Constructor Summary
Constructors Constructor Description DocTax(String C_Tax_ID, String name, String rate, String taxBaseAmt, String amount)
DocTax(String C_Tax_ID, String name, String rate, String taxBaseAmt, String amount, boolean isUndeductable, boolean isTaxDeductable)
DocTax(String C_Tax_ID, String name, String rate, String taxBaseAmt, String amount, boolean isUndeductable, boolean isTaxDeductable, boolean isCashVAT)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Account
getAccount(int AcctType, AcctSchema as, ConnectionProvider conn)
Get AccountString
getAmount()
Get Amount
-
-
-
Field Detail
-
m_C_Tax_ID
public String m_C_Tax_ID
Tax ID
-
m_amount
public String m_amount
Amount
-
m_rate
public String m_rate
Tax Rate
-
m_name
public String m_name
Name
-
m_isTaxUndeductable
public boolean m_isTaxUndeductable
-
m_isTaxDeductable
public boolean m_isTaxDeductable
-
m_isCashVAT
public boolean m_isCashVAT
-
ACCTTYPE_TaxDue
public static final int ACCTTYPE_TaxDue
Tax Due Acct- See Also:
- Constant Field Values
-
ACCTTYPE_TaxLiability
public static final int ACCTTYPE_TaxLiability
Tax Liability- See Also:
- Constant Field Values
-
ACCTTYPE_TaxCredit
public static final int ACCTTYPE_TaxCredit
Tax Credit- See Also:
- Constant Field Values
-
ACCTTYPE_TaxReceivables
public static final int ACCTTYPE_TaxReceivables
Tax Receivables- See Also:
- Constant Field Values
-
ACCTTYPE_TaxExpense
public static final int ACCTTYPE_TaxExpense
Tax Expense- See Also:
- Constant Field Values
-
ACCTTYPE_TaxDue_Trans
public static final int ACCTTYPE_TaxDue_Trans
Tax Due Transitory Acct- See Also:
- Constant Field Values
-
ACCTTYPE_TaxCredit_Trans
public static final int ACCTTYPE_TaxCredit_Trans
Tax Credit Transitory- See Also:
- Constant Field Values
-
-
Method Detail
-
getAccount
public Account getAccount(int AcctType, AcctSchema as, ConnectionProvider conn)
Get Account- Parameters:
AcctType
- see ACCTTYPE_*as
- account schema- Returns:
- Account
-
getAmount
public String getAmount()
Get Amount- Returns:
- gross amount
-
-