Class X_C_Tax

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_Tax
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_C_Tax, I_Persistent, Evaluatee
Direct Known Subclasses:
MTax

public class X_C_Tax extends PO implements I_C_Tax, I_Persistent
Generated Model for C_Tax
Version:
Release 11 - $Id$
Author:
iDempiere (generated)
See Also:
  • Field Details

    • SOPOTYPE_AD_Reference_ID

      public static final int SOPOTYPE_AD_Reference_ID
      SOPOType AD_Reference_ID=287
      See Also:
    • SOPOTYPE_Both

      public static final String SOPOTYPE_Both
      Both = B
      See Also:
    • SOPOTYPE_PurchaseTax

      public static final String SOPOTYPE_PurchaseTax
      Purchase Tax = P
      See Also:
    • SOPOTYPE_SalesTax

      public static final String SOPOTYPE_SalesTax
      Sales Tax = S
      See Also:
    • TAXPOSTINGINDICATOR_AD_Reference_ID

      public static final int TAXPOSTINGINDICATOR_AD_Reference_ID
      TaxPostingIndicator AD_Reference_ID=200160
      See Also:
    • TAXPOSTINGINDICATOR_SeparateTaxPosting

      public static final String TAXPOSTINGINDICATOR_SeparateTaxPosting
      Separate Tax Posting = 0
      See Also:
    • TAXPOSTINGINDICATOR_DistributeTaxWithRelevantExpense

      public static final String TAXPOSTINGINDICATOR_DistributeTaxWithRelevantExpense
      Distribute Tax with Relevant Expense = 1
      See Also:
  • Constructor Details

  • Method Details

    • get_AccessLevel

      protected int get_AccessLevel()
      AccessLevel
      Specified by:
      get_AccessLevel in class PO
      Returns:
      2 - Client
    • initPO

      protected POInfo initPO(Properties ctx)
      Load Meta Data
      Specified by:
      initPO in class PO
      Parameters:
      ctx - context
      Returns:
      Meta data of PO
    • toString

      public String toString()
      Description copied from class: PO
      String representation
      Overrides:
      toString in class PO
      Returns:
      String representation
    • getAD_Rule

      public I_AD_Rule getAD_Rule() throws RuntimeException
      Specified by:
      getAD_Rule in interface I_C_Tax
      Throws:
      RuntimeException
    • setAD_Rule_ID

      public void setAD_Rule_ID(int AD_Rule_ID)
      Set Rule.
      Specified by:
      setAD_Rule_ID in interface I_C_Tax
      Parameters:
      AD_Rule_ID - Rule
    • getAD_Rule_ID

      public int getAD_Rule_ID()
      Get Rule.
      Specified by:
      getAD_Rule_ID in interface I_C_Tax
      Returns:
      Rule
    • getC_CountryGroupFrom

      public I_C_CountryGroup getC_CountryGroupFrom() throws RuntimeException
      Specified by:
      getC_CountryGroupFrom in interface I_C_Tax
      Throws:
      RuntimeException
    • setC_CountryGroupFrom_ID

      public void setC_CountryGroupFrom_ID(int C_CountryGroupFrom_ID)
      Set Country Group From.
      Specified by:
      setC_CountryGroupFrom_ID in interface I_C_Tax
      Parameters:
      C_CountryGroupFrom_ID - Country Group From
    • getC_CountryGroupFrom_ID

      public int getC_CountryGroupFrom_ID()
      Get Country Group From.
      Specified by:
      getC_CountryGroupFrom_ID in interface I_C_Tax
      Returns:
      Country Group From
    • getC_CountryGroupTo

      public I_C_CountryGroup getC_CountryGroupTo() throws RuntimeException
      Specified by:
      getC_CountryGroupTo in interface I_C_Tax
      Throws:
      RuntimeException
    • setC_CountryGroupTo_ID

      public void setC_CountryGroupTo_ID(int C_CountryGroupTo_ID)
      Set Country Group To.
      Specified by:
      setC_CountryGroupTo_ID in interface I_C_Tax
      Parameters:
      C_CountryGroupTo_ID - Country Group To
    • getC_CountryGroupTo_ID

      public int getC_CountryGroupTo_ID()
      Get Country Group To.
      Specified by:
      getC_CountryGroupTo_ID in interface I_C_Tax
      Returns:
      Country Group To
    • setC_Country_ID

      public void setC_Country_ID(int C_Country_ID)
      Set Country.
      Specified by:
      setC_Country_ID in interface I_C_Tax
      Parameters:
      C_Country_ID - Country
    • getC_Country_ID

      public int getC_Country_ID()
      Get Country.
      Specified by:
      getC_Country_ID in interface I_C_Tax
      Returns:
      Country
    • getC_Region

      public I_C_Region getC_Region() throws RuntimeException
      Specified by:
      getC_Region in interface I_C_Tax
      Throws:
      RuntimeException
    • setC_Region_ID

      public void setC_Region_ID(int C_Region_ID)
      Set Region.
      Specified by:
      setC_Region_ID in interface I_C_Tax
      Parameters:
      C_Region_ID - Identifies a geographical Region
    • getC_Region_ID

      public int getC_Region_ID()
      Get Region.
      Specified by:
      getC_Region_ID in interface I_C_Tax
      Returns:
      Identifies a geographical Region
    • getC_TaxCategory

      public I_C_TaxCategory getC_TaxCategory() throws RuntimeException
      Specified by:
      getC_TaxCategory in interface I_C_Tax
      Throws:
      RuntimeException
    • setC_TaxCategory_ID

      public void setC_TaxCategory_ID(int C_TaxCategory_ID)
      Set Tax Category.
      Specified by:
      setC_TaxCategory_ID in interface I_C_Tax
      Parameters:
      C_TaxCategory_ID - Tax Category
    • getC_TaxCategory_ID

      public int getC_TaxCategory_ID()
      Get Tax Category.
      Specified by:
      getC_TaxCategory_ID in interface I_C_Tax
      Returns:
      Tax Category
    • setC_Tax_ID

      public void setC_Tax_ID(int C_Tax_ID)
      Set Tax.
      Specified by:
      setC_Tax_ID in interface I_C_Tax
      Parameters:
      C_Tax_ID - Tax identifier
    • getC_Tax_ID

      public int getC_Tax_ID()
      Get Tax.
      Specified by:
      getC_Tax_ID in interface I_C_Tax
      Returns:
      Tax identifier
    • getC_TaxProvider

      public I_C_TaxProvider getC_TaxProvider() throws RuntimeException
      Specified by:
      getC_TaxProvider in interface I_C_Tax
      Throws:
      RuntimeException
    • setC_TaxProvider_ID

      public void setC_TaxProvider_ID(int C_TaxProvider_ID)
      Set Tax Provider.
      Specified by:
      setC_TaxProvider_ID in interface I_C_Tax
      Parameters:
      C_TaxProvider_ID - Tax Provider
    • getC_TaxProvider_ID

      public int getC_TaxProvider_ID()
      Get Tax Provider.
      Specified by:
      getC_TaxProvider_ID in interface I_C_Tax
      Returns:
      Tax Provider
    • setC_Tax_UU

      public void setC_Tax_UU(String C_Tax_UU)
      Set C_Tax_UU.
      Specified by:
      setC_Tax_UU in interface I_C_Tax
      Parameters:
      C_Tax_UU - C_Tax_UU
    • getC_Tax_UU

      public String getC_Tax_UU()
      Get C_Tax_UU.
      Specified by:
      getC_Tax_UU in interface I_C_Tax
      Returns:
      C_Tax_UU
    • setDescription

      public void setDescription(String Description)
      Set Description.
      Specified by:
      setDescription in interface I_C_Tax
      Parameters:
      Description - Optional short description of the record
    • getDescription

      public String getDescription()
      Get Description.
      Specified by:
      getDescription in interface I_C_Tax
      Returns:
      Optional short description of the record
    • setIsDefault

      public void setIsDefault(boolean IsDefault)
      Set Default.
      Specified by:
      setIsDefault in interface I_C_Tax
      Parameters:
      IsDefault - Default value
    • isDefault

      public boolean isDefault()
      Get Default.
      Specified by:
      isDefault in interface I_C_Tax
      Returns:
      Default value
    • setIsDocumentLevel

      public void setIsDocumentLevel(boolean IsDocumentLevel)
      Set Document Level.
      Specified by:
      setIsDocumentLevel in interface I_C_Tax
      Parameters:
      IsDocumentLevel - Tax is calculated on document level (rather than line by line)
    • isDocumentLevel

      public boolean isDocumentLevel()
      Get Document Level.
      Specified by:
      isDocumentLevel in interface I_C_Tax
      Returns:
      Tax is calculated on document level (rather than line by line)
    • setIsSalesTax

      public void setIsSalesTax(boolean IsSalesTax)
      Set Sales Tax.
      Specified by:
      setIsSalesTax in interface I_C_Tax
      Parameters:
      IsSalesTax - This is a sales tax (i.e. not a value added tax)
    • isSalesTax

      public boolean isSalesTax()
      Get Sales Tax.
      Specified by:
      isSalesTax in interface I_C_Tax
      Returns:
      This is a sales tax (i.e. not a value added tax)
    • setIsSummary

      public void setIsSummary(boolean IsSummary)
      Set Summary Level.
      Specified by:
      setIsSummary in interface I_C_Tax
      Parameters:
      IsSummary - This is a summary entity
    • isSummary

      public boolean isSummary()
      Get Summary Level.
      Specified by:
      isSummary in interface I_C_Tax
      Returns:
      This is a summary entity
    • setIsTaxExempt

      public void setIsTaxExempt(boolean IsTaxExempt)
      Set SO Tax exempt.
      Specified by:
      setIsTaxExempt in interface I_C_Tax
      Parameters:
      IsTaxExempt - Business partner is exempt from tax on sales
    • isTaxExempt

      public boolean isTaxExempt()
      Get SO Tax exempt.
      Specified by:
      isTaxExempt in interface I_C_Tax
      Returns:
      Business partner is exempt from tax on sales
    • setName

      public void setName(String Name)
      Set Name.
      Specified by:
      setName in interface I_C_Tax
      Parameters:
      Name - Alphanumeric identifier of the entity
    • getName

      public String getName()
      Get Name.
      Specified by:
      getName in interface I_C_Tax
      Returns:
      Alphanumeric identifier of the entity
    • getKeyNamePair

      public KeyNamePair getKeyNamePair()
      Get Record ID/ColumnName
      Returns:
      ID/ColumnName pair
    • getParent_Tax

      public I_C_Tax getParent_Tax() throws RuntimeException
      Specified by:
      getParent_Tax in interface I_C_Tax
      Throws:
      RuntimeException
    • setParent_Tax_ID

      public void setParent_Tax_ID(int Parent_Tax_ID)
      Set Parent Tax.
      Specified by:
      setParent_Tax_ID in interface I_C_Tax
      Parameters:
      Parent_Tax_ID - Parent Tax indicates a tax that is made up of multiple taxes
    • getParent_Tax_ID

      public int getParent_Tax_ID()
      Get Parent Tax.
      Specified by:
      getParent_Tax_ID in interface I_C_Tax
      Returns:
      Parent Tax indicates a tax that is made up of multiple taxes
    • setRate

      public void setRate(BigDecimal Rate)
      Set Rate.
      Specified by:
      setRate in interface I_C_Tax
      Parameters:
      Rate - Rate or Tax or Exchange
    • getRate

      public BigDecimal getRate()
      Get Rate.
      Specified by:
      getRate in interface I_C_Tax
      Returns:
      Rate or Tax or Exchange
    • setRequiresTaxCertificate

      public void setRequiresTaxCertificate(boolean RequiresTaxCertificate)
      Set Requires Tax Certificate.
      Specified by:
      setRequiresTaxCertificate in interface I_C_Tax
      Parameters:
      RequiresTaxCertificate - This tax rate requires the Business Partner to be tax exempt
    • isRequiresTaxCertificate

      public boolean isRequiresTaxCertificate()
      Get Requires Tax Certificate.
      Specified by:
      isRequiresTaxCertificate in interface I_C_Tax
      Returns:
      This tax rate requires the Business Partner to be tax exempt
    • setSOPOType

      public void setSOPOType(String SOPOType)
      Set SO/PO Type.
      Specified by:
      setSOPOType in interface I_C_Tax
      Parameters:
      SOPOType - Sales Tax applies to sales situations, Purchase Tax to purchase situations
    • getSOPOType

      public String getSOPOType()
      Get SO/PO Type.
      Specified by:
      getSOPOType in interface I_C_Tax
      Returns:
      Sales Tax applies to sales situations, Purchase Tax to purchase situations
    • setTaxIndicator

      public void setTaxIndicator(String TaxIndicator)
      Set Tax Indicator.
      Specified by:
      setTaxIndicator in interface I_C_Tax
      Parameters:
      TaxIndicator - Short form for Tax to be printed on documents
    • getTaxIndicator

      public String getTaxIndicator()
      Get Tax Indicator.
      Specified by:
      getTaxIndicator in interface I_C_Tax
      Returns:
      Short form for Tax to be printed on documents
    • setTaxPostingIndicator

      public void setTaxPostingIndicator(String TaxPostingIndicator)
      Set Posting Indicator.
      Specified by:
      setTaxPostingIndicator in interface I_C_Tax
      Parameters:
      TaxPostingIndicator - Type of input tax (deductible and non deductible)
    • getTaxPostingIndicator

      public String getTaxPostingIndicator()
      Get Posting Indicator.
      Specified by:
      getTaxPostingIndicator in interface I_C_Tax
      Returns:
      Type of input tax (deductible and non deductible)
    • setTo_Country_ID

      public void setTo_Country_ID(int To_Country_ID)
      Set To.
      Specified by:
      setTo_Country_ID in interface I_C_Tax
      Parameters:
      To_Country_ID - Receiving Country
    • getTo_Country_ID

      public int getTo_Country_ID()
      Get To.
      Specified by:
      getTo_Country_ID in interface I_C_Tax
      Returns:
      Receiving Country
    • getTo_Region

      public I_C_Region getTo_Region() throws RuntimeException
      Specified by:
      getTo_Region in interface I_C_Tax
      Throws:
      RuntimeException
    • setTo_Region_ID

      public void setTo_Region_ID(int To_Region_ID)
      Set To.
      Specified by:
      setTo_Region_ID in interface I_C_Tax
      Parameters:
      To_Region_ID - Receiving Region
    • getTo_Region_ID

      public int getTo_Region_ID()
      Get To.
      Specified by:
      getTo_Region_ID in interface I_C_Tax
      Returns:
      Receiving Region
    • setValidFrom

      public void setValidFrom(Timestamp ValidFrom)
      Set Valid from.
      Specified by:
      setValidFrom in interface I_C_Tax
      Parameters:
      ValidFrom - Valid from including this date (first day)
    • getValidFrom

      public Timestamp getValidFrom()
      Get Valid from.
      Specified by:
      getValidFrom in interface I_C_Tax
      Returns:
      Valid from including this date (first day)