Class Withholding
- java.lang.Object
-
- org.openbravo.base.structure.BaseOBObject
-
- org.openbravo.model.financialmgmt.tax.Withholding
-
- All Implemented Interfaces:
Serializable
,BaseOBObjectDef
,OBNotSingleton
,OBProvidable
,ActiveEnabled
,ClientEnabled
,DynamicEnabled
,Identifiable
,OrganizationEnabled
,Traceable
public class Withholding extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled
Entity class for entity FinancialMgmtWithholding (stored in table C_Withholding).
Help: The Withholding Rules Tab define the rules governing the withholding of amounts.
NOTE: This class should not be instantiated directly. To instantiate this class theOBProvider
should be used.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ENTITY_NAME
static String
PROPERTY_ACTIVE
Property active stored in column IsActive in table C_Withholdingstatic String
PROPERTY_BENEFICIARY
Property beneficiary stored in column Beneficiary in table C_Withholding
Help: The Beneficiary indicates the Business Partner to whom payment will be made. This field is only displayed if the Paid to Third Party checkbox is selected.static String
PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table C_Withholdingstatic String
PROPERTY_CREATEDBY
Property createdBy stored in column CreatedBy in table C_Withholdingstatic String
PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table C_Withholdingstatic String
PROPERTY_DESCRIPTION
Property description stored in column Description in table C_Withholding
Help: A description is limited to 255 characters.static String
PROPERTY_FINANCIALMGMTWITHHOLDINGACCOUNTSLIST
Property financialMgmtWithholdingAccountsList stored in table C_Withholdingstatic String
PROPERTY_FIXAMOUNT
Property fixAmount stored in column FixAmt in table C_Withholding
Help: The Fixed Amount indicates a fixed amount to be levied or paid.static String
PROPERTY_ID
Property id stored in column C_Withholding_ID in table C_Withholding
Help: The Withholding indicates the type of withholding to be calculated.static String
PROPERTY_MAXAMOUNT
Property maxAmount stored in column MaxAmt in table C_Withholding
Help: The Maximum Amount indicates the maximum amount in invoice currency.static String
PROPERTY_MINAMOUNT
Property minAmount stored in column MinAmt in table C_Withholding
Help: The Minimum amount indicates the minimum amount as stated in the currency of the invoice.static String
PROPERTY_NAME
Property name stored in column Name in table C_Withholdingstatic String
PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table C_Withholdingstatic String
PROPERTY_PAYMENTTERMS
Property paymentTerms stored in column C_PaymentTerm_ID in table C_Withholding
Help: Payment Terms identify the method and timing of payment for this transaction.static String
PROPERTY_PAYMENTTOEXTERNALPARTY
Property paymentToExternalParty stored in column IsPaidTo3Party in table C_Withholding
Help: The Paid to Third Party checkbox indicates that the amounts are paid to someone other than the Business Partner.static String
PROPERTY_PERCENT
Property percent stored in column Percent in table C_Withholding
Help: The Percent indicates the percentage used for withholding.static String
PROPERTY_PRORATETAX
Property prorateTax stored in column IsTaxProrated in table C_Withholding
Help: The Prorate Tax checkbox indicates if this tax is prorated.static String
PROPERTY_RATE
Property rate stored in column Rate in table C_Withholding
Help: The Rate indicates the percentage to be multiplied by the source to arrive at the tax or exchange amount.static String
PROPERTY_TAXWITHHOLDING
Property taxWithholding stored in column IsTaxWithholding in table C_Withholding
Help: The Tax Withholding checkbox indicates if this withholding is tax related.static String
PROPERTY_THRESHOLDMAX
Property thresholdMax stored in column ThresholdMax in table C_Withholding
Help: The Threshold maximum indicates the maximum gross amount to be used in the withholding calculation . A value of 0 indicates there is no limit.static String
PROPERTY_THRESHOLDMIN
Property thresholdMin stored in column Thresholdmin in table C_Withholding
Help: The Threshold Minimum indicates the minimum gross amount to be used in the withholding calculation.static String
PROPERTY_UPDATED
Property updated stored in column Updated in table C_Withholdingstatic String
PROPERTY_UPDATEDBY
Property updatedBy stored in column UpdatedBy in table C_Withholdingstatic String
PROPERTY_WITHHOLDINGPERCENTAGE
Property withholdingPercentage stored in column IsPercentWithholding in table C_Withholding
Help: The Percent Withholding checkbox indicates if the withholding amount is a percentage of the invoice amount.static String
TABLE_NAME
-
Fields inherited from class org.openbravo.base.structure.BaseOBObject
ID
-
-
Constructor Summary
Constructors Constructor Description Withholding()
-
Method Summary
-
Methods inherited from class org.openbravo.base.structure.BaseOBObject
checkDerivedReadable, get, get, get, getEntity, getIdentifier, getValue, isAllowRead, isNewOBObject, isOrgClientAccessCheckEnabled, isWriteAccessCheckEnabled, set, setAccessChecks, setAllowRead, setDefaultValue, setId, setNewOBObject, setValue, toString, validate
-
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
-
ENTITY_NAME
public static final String ENTITY_NAME
- See Also:
- Constant Field Values
-
PROPERTY_ID
public static final String PROPERTY_ID
Property id stored in column C_Withholding_ID in table C_Withholding
Help: The Withholding indicates the type of withholding to be calculated.- See Also:
- Constant Field Values
-
PROPERTY_CLIENT
public static final String PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table C_Withholding- See Also:
ClientEnabled
, Constant Field Values
-
PROPERTY_ORGANIZATION
public static final String PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table C_Withholding- See Also:
OrganizationEnabled
, Constant Field Values
-
PROPERTY_ACTIVE
public static final String PROPERTY_ACTIVE
Property active stored in column IsActive in table C_Withholding- See Also:
ActiveEnabled
, Constant Field Values
-
PROPERTY_CREATIONDATE
public static final String PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table C_Withholding- See Also:
Traceable
, Constant Field Values
-
PROPERTY_CREATEDBY
public static final String PROPERTY_CREATEDBY
Property createdBy stored in column CreatedBy in table C_Withholding- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATED
public static final String PROPERTY_UPDATED
Property updated stored in column Updated in table C_Withholding- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATEDBY
public static final String PROPERTY_UPDATEDBY
Property updatedBy stored in column UpdatedBy in table C_Withholding- See Also:
Traceable
, Constant Field Values
-
PROPERTY_NAME
public static final String PROPERTY_NAME
Property name stored in column Name in table C_Withholding- See Also:
- Constant Field Values
-
PROPERTY_DESCRIPTION
public static final String PROPERTY_DESCRIPTION
Property description stored in column Description in table C_Withholding
Help: A description is limited to 255 characters.- See Also:
- Constant Field Values
-
PROPERTY_PAYMENTTERMS
public static final String PROPERTY_PAYMENTTERMS
Property paymentTerms stored in column C_PaymentTerm_ID in table C_Withholding
Help: Payment Terms identify the method and timing of payment for this transaction.- See Also:
- Constant Field Values
-
PROPERTY_TAXWITHHOLDING
public static final String PROPERTY_TAXWITHHOLDING
Property taxWithholding stored in column IsTaxWithholding in table C_Withholding
Help: The Tax Withholding checkbox indicates if this withholding is tax related.- See Also:
- Constant Field Values
-
PROPERTY_PRORATETAX
public static final String PROPERTY_PRORATETAX
Property prorateTax stored in column IsTaxProrated in table C_Withholding
Help: The Prorate Tax checkbox indicates if this tax is prorated.- See Also:
- Constant Field Values
-
PROPERTY_PAYMENTTOEXTERNALPARTY
public static final String PROPERTY_PAYMENTTOEXTERNALPARTY
Property paymentToExternalParty stored in column IsPaidTo3Party in table C_Withholding
Help: The Paid to Third Party checkbox indicates that the amounts are paid to someone other than the Business Partner.- See Also:
- Constant Field Values
-
PROPERTY_BENEFICIARY
public static final String PROPERTY_BENEFICIARY
Property beneficiary stored in column Beneficiary in table C_Withholding
Help: The Beneficiary indicates the Business Partner to whom payment will be made. This field is only displayed if the Paid to Third Party checkbox is selected.- See Also:
- Constant Field Values
-
PROPERTY_WITHHOLDINGPERCENTAGE
public static final String PROPERTY_WITHHOLDINGPERCENTAGE
Property withholdingPercentage stored in column IsPercentWithholding in table C_Withholding
Help: The Percent Withholding checkbox indicates if the withholding amount is a percentage of the invoice amount.- See Also:
- Constant Field Values
-
PROPERTY_PERCENT
public static final String PROPERTY_PERCENT
Property percent stored in column Percent in table C_Withholding
Help: The Percent indicates the percentage used for withholding.- See Also:
- Constant Field Values
-
PROPERTY_FIXAMOUNT
public static final String PROPERTY_FIXAMOUNT
Property fixAmount stored in column FixAmt in table C_Withholding
Help: The Fixed Amount indicates a fixed amount to be levied or paid.- See Also:
- Constant Field Values
-
PROPERTY_THRESHOLDMIN
public static final String PROPERTY_THRESHOLDMIN
Property thresholdMin stored in column Thresholdmin in table C_Withholding
Help: The Threshold Minimum indicates the minimum gross amount to be used in the withholding calculation.- See Also:
- Constant Field Values
-
PROPERTY_THRESHOLDMAX
public static final String PROPERTY_THRESHOLDMAX
Property thresholdMax stored in column ThresholdMax in table C_Withholding
Help: The Threshold maximum indicates the maximum gross amount to be used in the withholding calculation . A value of 0 indicates there is no limit.- See Also:
- Constant Field Values
-
PROPERTY_MINAMOUNT
public static final String PROPERTY_MINAMOUNT
Property minAmount stored in column MinAmt in table C_Withholding
Help: The Minimum amount indicates the minimum amount as stated in the currency of the invoice.- See Also:
- Constant Field Values
-
PROPERTY_MAXAMOUNT
public static final String PROPERTY_MAXAMOUNT
Property maxAmount stored in column MaxAmt in table C_Withholding
Help: The Maximum Amount indicates the maximum amount in invoice currency.- See Also:
- Constant Field Values
-
PROPERTY_RATE
public static final String PROPERTY_RATE
Property rate stored in column Rate in table C_Withholding
Help: The Rate indicates the percentage to be multiplied by the source to arrive at the tax or exchange amount.- See Also:
- Constant Field Values
-
PROPERTY_FINANCIALMGMTWITHHOLDINGACCOUNTSLIST
public static final String PROPERTY_FINANCIALMGMTWITHHOLDINGACCOUNTSLIST
Property financialMgmtWithholdingAccountsList stored in table C_Withholding- See Also:
- Constant Field Values
-
-
Method Detail
-
getEntityName
public String getEntityName()
- Specified by:
getEntityName
in interfaceIdentifiable
- Specified by:
getEntityName
in classBaseOBObject
-
getId
public String getId()
- Specified by:
getId
in interfaceBaseOBObjectDef
- Specified by:
getId
in interfaceIdentifiable
- Overrides:
getId
in classBaseOBObject
- See Also:
PROPERTY_ID
-
setId
public void setId(String id)
- See Also:
PROPERTY_ID
-
getClient
public Client getClient()
Description copied from interface:ClientEnabled
Client field- Specified by:
getClient
in interfaceClientEnabled
- Returns:
- client
- See Also:
PROPERTY_CLIENT
-
setClient
public void setClient(Client client)
Description copied from interface:ClientEnabled
Client field- Specified by:
setClient
in interfaceClientEnabled
- See Also:
PROPERTY_CLIENT
-
getOrganization
public Organization getOrganization()
Description copied from interface:OrganizationEnabled
Gets organization field- Specified by:
getOrganization
in interfaceOrganizationEnabled
- Returns:
- organization
- See Also:
PROPERTY_ORGANIZATION
-
setOrganization
public void setOrganization(Organization organization)
Description copied from interface:OrganizationEnabled
Sets organization field- Specified by:
setOrganization
in interfaceOrganizationEnabled
- See Also:
PROPERTY_ORGANIZATION
-
isActive
public Boolean isActive()
Description copied from interface:ActiveEnabled
Gets active field- Specified by:
isActive
in interfaceActiveEnabled
- Returns:
- active
- See Also:
PROPERTY_ACTIVE
-
setActive
public void setActive(Boolean active)
Description copied from interface:ActiveEnabled
Sets active field- Specified by:
setActive
in interfaceActiveEnabled
- See Also:
PROPERTY_ACTIVE
-
getCreationDate
public Date getCreationDate()
Description copied from interface:Traceable
Creation date of audit- Specified by:
getCreationDate
in interfaceTraceable
- Returns:
- Date of creation
- See Also:
PROPERTY_CREATIONDATE
-
setCreationDate
public void setCreationDate(Date creationDate)
Description copied from interface:Traceable
Creation date of audit- Specified by:
setCreationDate
in interfaceTraceable
- See Also:
PROPERTY_CREATIONDATE
-
getCreatedBy
public User getCreatedBy()
Description copied from interface:Traceable
Created by audit user- Specified by:
getCreatedBy
in interfaceTraceable
- Returns:
- User
- See Also:
PROPERTY_CREATEDBY
-
setCreatedBy
public void setCreatedBy(User createdBy)
Description copied from interface:Traceable
Created by audit user- Specified by:
setCreatedBy
in interfaceTraceable
- See Also:
PROPERTY_CREATEDBY
-
getUpdated
public Date getUpdated()
Description copied from interface:Traceable
Update date of audit- Specified by:
getUpdated
in interfaceTraceable
- Returns:
- Date of update
- See Also:
PROPERTY_UPDATED
-
setUpdated
public void setUpdated(Date updated)
Description copied from interface:Traceable
Update date of audit- Specified by:
setUpdated
in interfaceTraceable
- See Also:
PROPERTY_UPDATED
-
getUpdatedBy
public User getUpdatedBy()
Description copied from interface:Traceable
Update by audit user- Specified by:
getUpdatedBy
in interfaceTraceable
- Returns:
- User who updated
- See Also:
PROPERTY_UPDATEDBY
-
setUpdatedBy
public void setUpdatedBy(User updatedBy)
Description copied from interface:Traceable
Update by audit user- Specified by:
setUpdatedBy
in interfaceTraceable
- See Also:
PROPERTY_UPDATEDBY
-
getName
public String getName()
- See Also:
PROPERTY_NAME
-
setName
public void setName(String name)
- See Also:
PROPERTY_NAME
-
getDescription
public String getDescription()
- See Also:
PROPERTY_DESCRIPTION
-
setDescription
public void setDescription(String description)
- See Also:
PROPERTY_DESCRIPTION
-
getPaymentTerms
public PaymentTerm getPaymentTerms()
- See Also:
PROPERTY_PAYMENTTERMS
-
setPaymentTerms
public void setPaymentTerms(PaymentTerm paymentTerms)
- See Also:
PROPERTY_PAYMENTTERMS
-
isTaxWithholding
public Boolean isTaxWithholding()
- See Also:
PROPERTY_TAXWITHHOLDING
-
setTaxWithholding
public void setTaxWithholding(Boolean taxWithholding)
- See Also:
PROPERTY_TAXWITHHOLDING
-
isProrateTax
public Boolean isProrateTax()
- See Also:
PROPERTY_PRORATETAX
-
setProrateTax
public void setProrateTax(Boolean prorateTax)
- See Also:
PROPERTY_PRORATETAX
-
isPaymentToExternalParty
public Boolean isPaymentToExternalParty()
- See Also:
PROPERTY_PAYMENTTOEXTERNALPARTY
-
setPaymentToExternalParty
public void setPaymentToExternalParty(Boolean paymentToExternalParty)
- See Also:
PROPERTY_PAYMENTTOEXTERNALPARTY
-
getBeneficiary
public BusinessPartner getBeneficiary()
- See Also:
PROPERTY_BENEFICIARY
-
setBeneficiary
public void setBeneficiary(BusinessPartner beneficiary)
- See Also:
PROPERTY_BENEFICIARY
-
isWithholdingPercentage
public Boolean isWithholdingPercentage()
- See Also:
PROPERTY_WITHHOLDINGPERCENTAGE
-
setWithholdingPercentage
public void setWithholdingPercentage(Boolean withholdingPercentage)
- See Also:
PROPERTY_WITHHOLDINGPERCENTAGE
-
getPercent
public BigDecimal getPercent()
- See Also:
PROPERTY_PERCENT
-
setPercent
public void setPercent(BigDecimal percent)
- See Also:
PROPERTY_PERCENT
-
getFixAmount
public BigDecimal getFixAmount()
- See Also:
PROPERTY_FIXAMOUNT
-
setFixAmount
public void setFixAmount(BigDecimal fixAmount)
- See Also:
PROPERTY_FIXAMOUNT
-
getThresholdMin
public BigDecimal getThresholdMin()
- See Also:
PROPERTY_THRESHOLDMIN
-
setThresholdMin
public void setThresholdMin(BigDecimal thresholdMin)
- See Also:
PROPERTY_THRESHOLDMIN
-
getThresholdMax
public BigDecimal getThresholdMax()
- See Also:
PROPERTY_THRESHOLDMAX
-
setThresholdMax
public void setThresholdMax(BigDecimal thresholdMax)
- See Also:
PROPERTY_THRESHOLDMAX
-
getMinAmount
public BigDecimal getMinAmount()
- See Also:
PROPERTY_MINAMOUNT
-
setMinAmount
public void setMinAmount(BigDecimal minAmount)
- See Also:
PROPERTY_MINAMOUNT
-
getMaxAmount
public BigDecimal getMaxAmount()
- See Also:
PROPERTY_MAXAMOUNT
-
setMaxAmount
public void setMaxAmount(BigDecimal maxAmount)
- See Also:
PROPERTY_MAXAMOUNT
-
getRate
public BigDecimal getRate()
- See Also:
PROPERTY_RATE
-
setRate
public void setRate(BigDecimal rate)
- See Also:
PROPERTY_RATE
-
getFinancialMgmtWithholdingAccountsList
public List<WithholdingAccounts> getFinancialMgmtWithholdingAccountsList()
Help: The Withholding Accounting Tab defines the accounting parameters for Withholding.- See Also:
WithholdingAccounts
-
setFinancialMgmtWithholdingAccountsList
public void setFinancialMgmtWithholdingAccountsList(List<WithholdingAccounts> financialMgmtWithholdingAccountsList)
Help: The Withholding Accounting Tab defines the accounting parameters for Withholding.- See Also:
WithholdingAccounts
-
-