|
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_Tax
public class X_C_Tax
Generated Model for C_Tax
| Field Summary | |
|---|---|
protected BigDecimal |
accessLevel
|
static int |
C_COUNTRY_ID_AD_Reference_ID
C_Country_ID AD_Reference_ID=156 |
static int |
C_REGION_ID_AD_Reference_ID
C_Region_ID AD_Reference_ID=157 |
protected static KeyNamePair |
Model
|
static int |
PARENT_TAX_ID_AD_Reference_ID
Parent_Tax_ID AD_Reference_ID=158 |
static int |
SOPOTYPE_AD_Reference_ID
SOPOType AD_Reference_ID=287 |
static String |
SOPOTYPE_Both
Both = B |
static String |
SOPOTYPE_PurchaseTax
Purchase Tax = P |
static String |
SOPOTYPE_SalesTax
Sales Tax = S |
static int |
Table_ID
AD_Table_ID=261 |
static String |
Table_Name
TableName=C_Tax |
static int |
TO_COUNTRY_ID_AD_Reference_ID
To_Country_ID AD_Reference_ID=156 |
static int |
TO_REGION_ID_AD_Reference_ID
To_Region_ID AD_Reference_ID=157 |
static long |
updatedMS
Last Updated Timestamp 2008-06-10 15:12:06.0 |
| 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 | |
|---|---|
X_C_Tax(Ctx ctx,
int C_Tax_ID,
String trxName)
Standard Constructor |
|
X_C_Tax(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected int |
get_AccessLevel()
AccessLevel |
int |
getC_Country_ID()
Get Country. |
int |
getC_Region_ID()
Get Region. |
int |
getC_Tax_ID()
Get Tax. |
int |
getC_TaxCategory_ID()
Get Tax Category. |
String |
getDescription()
Get Description. |
KeyNamePair |
getKeyNamePair()
Get Record ID/ColumnName |
String |
getName()
Get Name. |
int |
getParent_Tax_ID()
Get Parent Tax. |
BigDecimal |
getRate()
Get Rate. |
String |
getSOPOType()
Get SO/PO Type. |
String |
getTaxIndicator()
Get Tax Indicator. |
int |
getTo_Country_ID()
Get To. |
int |
getTo_Region_ID()
Get To. |
Timestamp |
getValidFrom()
Get Valid from. |
protected POInfo |
initPO(Ctx ctx)
Load Meta Data |
boolean |
isDefault()
Get Default. |
boolean |
isDocumentLevel()
Get Document Level. |
boolean |
isRequiresTaxCertificate()
Get Requires Tax Certificate. |
boolean |
isSalesTax()
Get Sales Tax. |
boolean |
isSOPOTypeValid(String test)
Is test a valid value. |
boolean |
isSummary()
Get Summary Level. |
boolean |
isTaxExempt()
Get Tax exempt. |
void |
setC_Country_ID(int C_Country_ID)
Set Country. |
void |
setC_Region_ID(int C_Region_ID)
Set Region. |
void |
setC_Tax_ID(int C_Tax_ID)
Set Tax. |
void |
setC_TaxCategory_ID(int C_TaxCategory_ID)
Set Tax Category. |
void |
setDescription(String Description)
Set Description. |
void |
setIsDefault(boolean IsDefault)
Set Default. |
void |
setIsDocumentLevel(boolean IsDocumentLevel)
Set Document Level. |
void |
setIsSalesTax(boolean IsSalesTax)
Set Sales Tax. |
void |
setIsSummary(boolean IsSummary)
Set Summary Level. |
void |
setIsTaxExempt(boolean IsTaxExempt)
Set Tax exempt. |
void |
setName(String Name)
Set Name. |
void |
setParent_Tax_ID(int Parent_Tax_ID)
Set Parent Tax. |
void |
setRate(BigDecimal Rate)
Set Rate. |
void |
setRequiresTaxCertificate(boolean RequiresTaxCertificate)
Set Requires Tax Certificate. |
void |
setSOPOType(String SOPOType)
Set SO/PO Type. |
void |
setTaxIndicator(String TaxIndicator)
Set Tax Indicator. |
void |
setTo_Country_ID(int To_Country_ID)
Set To. |
void |
setTo_Region_ID(int To_Region_ID)
Set To. |
void |
setValidFrom(Timestamp ValidFrom)
Set Valid from. |
String |
toString()
Info |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long updatedMS
public static final int Table_ID
public static final String Table_Name
protected static KeyNamePair Model
protected BigDecimal accessLevel
public static final int C_COUNTRY_ID_AD_Reference_ID
public static final int C_REGION_ID_AD_Reference_ID
public static final int PARENT_TAX_ID_AD_Reference_ID
public static final int SOPOTYPE_AD_Reference_ID
public static final String SOPOTYPE_Both
public static final String SOPOTYPE_PurchaseTax
public static final String SOPOTYPE_SalesTax
public static final int TO_COUNTRY_ID_AD_Reference_ID
public static final int TO_REGION_ID_AD_Reference_ID
| Constructor Detail |
|---|
public X_C_Tax(Ctx ctx,
int C_Tax_ID,
String trxName)
ctx - contextC_Tax_ID - idtrxName - transaction
public X_C_Tax(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
protected int get_AccessLevel()
get_AccessLevel in class POprotected POInfo initPO(Ctx ctx)
initPO in class POctx - context
public String toString()
toString in class POpublic void setC_Country_ID(int C_Country_ID)
C_Country_ID - Countrypublic int getC_Country_ID()
public void setC_Region_ID(int C_Region_ID)
C_Region_ID - Identifies a geographical Regionpublic int getC_Region_ID()
public void setC_TaxCategory_ID(int C_TaxCategory_ID)
C_TaxCategory_ID - Tax Categorypublic int getC_TaxCategory_ID()
public void setC_Tax_ID(int C_Tax_ID)
C_Tax_ID - Tax identifierpublic int getC_Tax_ID()
public void setDescription(String Description)
Description - Optional short description of the recordpublic String getDescription()
public void setIsDefault(boolean IsDefault)
IsDefault - Default valuepublic boolean isDefault()
public void setIsDocumentLevel(boolean IsDocumentLevel)
IsDocumentLevel - Tax is calculated on document level (rather than line by line)public boolean isDocumentLevel()
public void setIsSalesTax(boolean IsSalesTax)
IsSalesTax - This is a sales tax (i.e. not a value added tax)public boolean isSalesTax()
public void setIsSummary(boolean IsSummary)
IsSummary - This is a summary entitypublic boolean isSummary()
public void setIsTaxExempt(boolean IsTaxExempt)
IsTaxExempt - Business partner is exempt from taxpublic boolean isTaxExempt()
public void setName(String Name)
Name - Alphanumeric identifier of the entitypublic String getName()
public KeyNamePair getKeyNamePair()
public void setParent_Tax_ID(int Parent_Tax_ID)
Parent_Tax_ID - Parent Tax indicates a tax that is made up of multiple taxespublic int getParent_Tax_ID()
public void setRate(BigDecimal Rate)
Rate - Rate or Tax or Exchangepublic BigDecimal getRate()
public void setRequiresTaxCertificate(boolean RequiresTaxCertificate)
RequiresTaxCertificate - This tax rate requires the Business Partner to be tax exemptpublic boolean isRequiresTaxCertificate()
public boolean isSOPOTypeValid(String test)
test - testvalue
public void setSOPOType(String SOPOType)
SOPOType - Sales Tax applies to sales situations, Purchase Tax to purchase situationspublic String getSOPOType()
public void setTaxIndicator(String TaxIndicator)
TaxIndicator - Short form for Tax to be printed on documentspublic String getTaxIndicator()
public void setTo_Country_ID(int To_Country_ID)
To_Country_ID - Receiving Countrypublic int getTo_Country_ID()
public void setTo_Region_ID(int To_Region_ID)
To_Region_ID - Receiving Regionpublic int getTo_Region_ID()
public void setValidFrom(Timestamp ValidFrom)
ValidFrom - Valid from including this date (first day)public Timestamp getValidFrom()
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||