public class SupplierWithHoldingTax extends VdmEntity<SupplierWithHoldingTax>
Modifier and Type | Class and Description |
---|---|
static class |
SupplierWithHoldingTax.SupplierWithHoldingTaxBuilder |
Modifier and Type | Field and Description |
---|---|
static SupplierWithHoldingTaxSelectable |
ALL_FIELDS
Selector for all available fields of SupplierWithHoldingTax.
|
static SupplierWithHoldingTaxField<String> |
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
|
static SupplierWithHoldingTaxField<String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static SupplierWithHoldingTaxField<Calendar> |
EXEMPTION_DATE_BEGIN
Use with available fluent helpers to apply the ExemptionDateBegin field to query operations.
|
static SupplierWithHoldingTaxField<Calendar> |
EXEMPTION_DATE_END
Use with available fluent helpers to apply the ExemptionDateEnd field to query operations.
|
static SupplierWithHoldingTaxField<String> |
EXEMPTION_REASON
Use with available fluent helpers to apply the ExemptionReason field to query operations.
|
static SupplierWithHoldingTaxField<Boolean> |
IS_WITHHOLDING_TAX_SUBJECT
Use with available fluent helpers to apply the IsWithholdingTaxSubject field to query operations.
|
static SupplierWithHoldingTaxField<String> |
RECIPIENT_TYPE
Use with available fluent helpers to apply the RecipientType field to query operations.
|
static SupplierWithHoldingTaxField<String> |
SUPPLIER
Use with available fluent helpers to apply the Supplier field to query operations.
|
static SupplierWithHoldingTaxField<String> |
WITHHOLDING_TAX_CERTIFICATE
Use with available fluent helpers to apply the WithholdingTaxCertificate field to query operations.
|
static SupplierWithHoldingTaxField<String> |
WITHHOLDING_TAX_CODE
Use with available fluent helpers to apply the WithholdingTaxCode field to query operations.
|
static SupplierWithHoldingTaxField<BigDecimal> |
WITHHOLDING_TAX_EXMPT_PERCENT
Use with available fluent helpers to apply the WithholdingTaxExmptPercent field to query operations.
|
static SupplierWithHoldingTaxField<String> |
WITHHOLDING_TAX_NUMBER
Use with available fluent helpers to apply the WithholdingTaxNumber field to query operations.
|
static SupplierWithHoldingTaxField<String> |
WITHHOLDING_TAX_TYPE
Use with available fluent helpers to apply the WithholdingTaxType field to query operations.
|
Constructor and Description |
---|
SupplierWithHoldingTax() |
SupplierWithHoldingTax(String supplier,
String companyCode,
String withholdingTaxType,
Calendar exemptionDateBegin,
Calendar exemptionDateEnd,
String exemptionReason,
Boolean isWithholdingTaxSubject,
String recipientType,
String withholdingTaxCertificate,
String withholdingTaxCode,
BigDecimal withholdingTaxExmptPercent,
String withholdingTaxNumber,
String authorizationGroup,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static SupplierWithHoldingTax.SupplierWithHoldingTaxBuilder |
builder() |
boolean |
equals(Object o) |
static <T> SupplierWithHoldingTaxField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
String |
getAuthorizationGroup()
Constraints: Not nullable, Maximum length: 4
|
String |
getCompanyCode()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
Calendar |
getExemptionDateBegin()
Constraints: Not nullable, Precision: 0
|
Calendar |
getExemptionDateEnd()
Constraints: Not nullable, Precision: 0
|
String |
getExemptionReason()
Constraints: Not nullable, Maximum length: 2 These indicators can be defined per withholding tax type in the vendor master record.
|
Boolean |
getIsWithholdingTaxSubject()
Constraints: none
|
String |
getRecipientType()
Constraints: Not nullable, Maximum length: 2 It is used to group vendors together according to particular characteristics such as occupations that may be subject to the same withholding tax type, but which are required to pay different percentage rates (as defined by the withholding tax code).Application in ThailandThis corresponds to the official Thai form number (Phaw.Ngor.Daw) and is used to determine the sequential numbering of a withholding tax certificate.
|
String |
getSupplier()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
Class<SupplierWithHoldingTax> |
getType() |
String |
getWithholdingTaxCertificate()
Constraints: Not nullable, Maximum length: 25 This number must be entered in the system as follows:In the vendor master record in the case of vendorsFor customers, in Customizing under the settings for withholding tax information for the company code per withholding tax type.
|
String |
getWithholdingTaxCode()
Constraints: Not nullable, Maximum length: 2 Note that when processing a business transaction, no more than one withholding tax code can be assigned per withholding tax type.
|
BigDecimal |
getWithholdingTaxExmptPercent()
Constraints: Not nullable, Precision: 5, Scale: 2 Those persons/activities subject to withholding tax can be exempted from withholding tax up to the percentage rate you enter here.
|
String |
getWithholdingTaxNumber()
Constraints: Not nullable, Maximum length: 16 This number must be specified in Customizing either:(a) As part of the withholding tax information defined for the company code, or(b) As part of the withholding tax information defined in the customer or vendor master record.
|
String |
getWithholdingTaxType()
(Key Field) Constraints: Not nullable, Maximum length: 2 Withholding tax types classify particular features of a withholding tax including:The time at which the withholding tax is postedThe basis on which the base amount is calculatedThe basis for accumulation (if applicable)Withholding tax types are to be distinguished from withholding tax codes, to which are allocated the withholding tax percentage rate example.Whether a withholding tax can be defined as an existing type by means of a new code, or if a new type needs to be defined will depend on the type of transaction (see below).Note that a business transaction can only be assigned one withholding tax code per withholding tax type.
|
int |
hashCode() |
void |
setAuthorizationGroup(String authorizationGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setCompanyCode(String companyCode)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
void |
setExemptionDateBegin(Calendar exemptionDateBegin)
Constraints: Not nullable, Precision: 0
|
void |
setExemptionDateEnd(Calendar exemptionDateEnd)
Constraints: Not nullable, Precision: 0
|
void |
setExemptionReason(String exemptionReason)
Constraints: Not nullable, Maximum length: 2 These indicators can be defined per withholding tax type in the vendor master record.
|
void |
setIsWithholdingTaxSubject(Boolean isWithholdingTaxSubject)
Constraints: none
|
void |
setRecipientType(String recipientType)
Constraints: Not nullable, Maximum length: 2 It is used to group vendors together according to particular characteristics such as occupations that may be subject to the same withholding tax type, but which are required to pay different percentage rates (as defined by the withholding tax code).Application in ThailandThis corresponds to the official Thai form number (Phaw.Ngor.Daw) and is used to determine the sequential numbering of a withholding tax certificate.
|
void |
setSupplier(String supplier)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setWithholdingTaxCertificate(String withholdingTaxCertificate)
Constraints: Not nullable, Maximum length: 25 This number must be entered in the system as follows:In the vendor master record in the case of vendorsFor customers, in Customizing under the settings for withholding tax information for the company code per withholding tax type.
|
void |
setWithholdingTaxCode(String withholdingTaxCode)
Constraints: Not nullable, Maximum length: 2 Note that when processing a business transaction, no more than one withholding tax code can be assigned per withholding tax type.
|
void |
setWithholdingTaxExmptPercent(BigDecimal withholdingTaxExmptPercent)
Constraints: Not nullable, Precision: 5, Scale: 2 Those persons/activities subject to withholding tax can be exempted from withholding tax up to the percentage rate you enter here.
|
void |
setWithholdingTaxNumber(String withholdingTaxNumber)
Constraints: Not nullable, Maximum length: 16 This number must be specified in Customizing either:(a) As part of the withholding tax information defined for the company code, or(b) As part of the withholding tax information defined in the customer or vendor master record.
|
void |
setWithholdingTaxType(String withholdingTaxType)
(Key Field) Constraints: Not nullable, Maximum length: 2 Withholding tax types classify particular features of a withholding tax including:The time at which the withholding tax is postedThe basis on which the base amount is calculatedThe basis for accumulation (if applicable)Withholding tax types are to be distinguished from withholding tax codes, to which are allocated the withholding tax percentage rate example.Whether a withholding tax can be defined as an existing type by means of a new code, or if a new type needs to be defined will depend on the type of transaction (see below).Note that a business transaction can only be assigned one withholding tax code per withholding tax type.
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final SupplierWithHoldingTaxSelectable ALL_FIELDS
public static final SupplierWithHoldingTaxField<String> SUPPLIER
public static final SupplierWithHoldingTaxField<String> COMPANY_CODE
public static final SupplierWithHoldingTaxField<String> WITHHOLDING_TAX_TYPE
public static final SupplierWithHoldingTaxField<Calendar> EXEMPTION_DATE_BEGIN
public static final SupplierWithHoldingTaxField<Calendar> EXEMPTION_DATE_END
public static final SupplierWithHoldingTaxField<String> EXEMPTION_REASON
public static final SupplierWithHoldingTaxField<Boolean> IS_WITHHOLDING_TAX_SUBJECT
public static final SupplierWithHoldingTaxField<String> RECIPIENT_TYPE
public static final SupplierWithHoldingTaxField<String> WITHHOLDING_TAX_CERTIFICATE
public static final SupplierWithHoldingTaxField<String> WITHHOLDING_TAX_CODE
public static final SupplierWithHoldingTaxField<BigDecimal> WITHHOLDING_TAX_EXMPT_PERCENT
public static final SupplierWithHoldingTaxField<String> WITHHOLDING_TAX_NUMBER
public static final SupplierWithHoldingTaxField<String> AUTHORIZATION_GROUP
public SupplierWithHoldingTax()
public SupplierWithHoldingTax(@Nullable String supplier, @Nullable String companyCode, @Nullable String withholdingTaxType, @Nullable Calendar exemptionDateBegin, @Nullable Calendar exemptionDateEnd, @Nullable String exemptionReason, @Nullable Boolean isWithholdingTaxSubject, @Nullable String recipientType, @Nullable String withholdingTaxCertificate, @Nullable String withholdingTaxCode, @Nullable BigDecimal withholdingTaxExmptPercent, @Nullable String withholdingTaxNumber, @Nullable String authorizationGroup, @Nullable ErpConfigContext erpConfigContext)
public Class<SupplierWithHoldingTax> getType()
getType
in class VdmObject<SupplierWithHoldingTax>
public static <T> SupplierWithHoldingTaxField<T> field(String fieldName, Class<T> fieldType)
fieldName
- The name of the extension field as returned by the OData service.fieldType
- The Java type to use for the extension field when performing value comparisons.public static SupplierWithHoldingTax.SupplierWithHoldingTaxBuilder builder()
@Nullable public String getSupplier()
@Nullable public String getCompanyCode()
@Nullable public String getWithholdingTaxType()
Withholding tax types classify particular features of a withholding tax including:The time at which the withholding tax is postedThe basis on which the base amount is calculatedThe basis for accumulation (if applicable)Withholding tax types are to be distinguished from withholding tax codes, to which are allocated the withholding tax percentage rate example.Whether a withholding tax can be defined as an existing type by means of a new code, or if a new type needs to be defined will depend on the type of transaction (see below).Note that a business transaction can only be assigned one withholding tax code per withholding tax type. If the business transaction is subject to several withholding taxes simultaneously, these must be represented by different types.This is the case in Argentina for example, where up to four kinds of withholding tax per business transaction are possible.
@Nullable public Calendar getExemptionDateBegin()
@Nullable public Calendar getExemptionDateEnd()
@Nullable public String getExemptionReason()
These indicators can be defined per withholding tax type in the vendor master record.
@Nullable public Boolean getIsWithholdingTaxSubject()
@Nullable public String getRecipientType()
It is used to group vendors together according to particular characteristics such as occupations that may be subject to the same withholding tax type, but which are required to pay different percentage rates (as defined by the withholding tax code).Application in ThailandThis corresponds to the official Thai form number (Phaw.Ngor.Daw) and is used to determine the sequential numbering of a withholding tax certificate. The form number is defined in the vendor master record.
@Nullable public String getWithholdingTaxCertificate()
This number must be entered in the system as follows:In the vendor master record in the case of vendorsFor customers, in Customizing under the settings for withholding tax information for the company code per withholding tax type.
@Nullable public String getWithholdingTaxCode()
Note that when processing a business transaction, no more than one withholding tax code can be assigned per withholding tax type. If the business transaction is subject to more than one withholding taxes, these must be represented in the system by defining various withholding tax types.
@Nullable public BigDecimal getWithholdingTaxExmptPercent()
Those persons/activities subject to withholding tax can be exempted from withholding tax up to the percentage rate you enter here. This exemption rate refers to the withholding tax amount itself and not to the whole amount liable to withholding tax (withholding tax base amount).The gross amount of an invoice is 100.00 and the withholding tax base amount is defined as gross. The withholding tax rate is 10% meaning that the withholding tax amount is 10.00. Given an exemption rate of 30%, the withholding tax amount is reduced to 7.00.
@Nullable public String getWithholdingTaxNumber()
This number must be specified in Customizing either:(a) As part of the withholding tax information defined for the company code, or(b) As part of the withholding tax information defined in the customer or vendor master record.
@Nullable public String getAuthorizationGroup()
@Nullable public ErpConfigContext getErpConfigContext()
public void setSupplier(@Nullable String supplier)
supplier
- public void setCompanyCode(@Nullable String companyCode)
companyCode
- public void setWithholdingTaxType(@Nullable String withholdingTaxType)
Withholding tax types classify particular features of a withholding tax including:The time at which the withholding tax is postedThe basis on which the base amount is calculatedThe basis for accumulation (if applicable)Withholding tax types are to be distinguished from withholding tax codes, to which are allocated the withholding tax percentage rate example.Whether a withholding tax can be defined as an existing type by means of a new code, or if a new type needs to be defined will depend on the type of transaction (see below).Note that a business transaction can only be assigned one withholding tax code per withholding tax type. If the business transaction is subject to several withholding taxes simultaneously, these must be represented by different types.This is the case in Argentina for example, where up to four kinds of withholding tax per business transaction are possible.
withholdingTaxType
- public void setExemptionDateBegin(@Nullable Calendar exemptionDateBegin)
exemptionDateBegin
- public void setExemptionDateEnd(@Nullable Calendar exemptionDateEnd)
exemptionDateEnd
- public void setExemptionReason(@Nullable String exemptionReason)
These indicators can be defined per withholding tax type in the vendor master record.
exemptionReason
- public void setIsWithholdingTaxSubject(@Nullable Boolean isWithholdingTaxSubject)
isWithholdingTaxSubject
- public void setRecipientType(@Nullable String recipientType)
It is used to group vendors together according to particular characteristics such as occupations that may be subject to the same withholding tax type, but which are required to pay different percentage rates (as defined by the withholding tax code).Application in ThailandThis corresponds to the official Thai form number (Phaw.Ngor.Daw) and is used to determine the sequential numbering of a withholding tax certificate. The form number is defined in the vendor master record.
recipientType
- public void setWithholdingTaxCertificate(@Nullable String withholdingTaxCertificate)
This number must be entered in the system as follows:In the vendor master record in the case of vendorsFor customers, in Customizing under the settings for withholding tax information for the company code per withholding tax type.
withholdingTaxCertificate
- public void setWithholdingTaxCode(@Nullable String withholdingTaxCode)
Note that when processing a business transaction, no more than one withholding tax code can be assigned per withholding tax type. If the business transaction is subject to more than one withholding taxes, these must be represented in the system by defining various withholding tax types.
withholdingTaxCode
- public void setWithholdingTaxExmptPercent(@Nullable BigDecimal withholdingTaxExmptPercent)
Those persons/activities subject to withholding tax can be exempted from withholding tax up to the percentage rate you enter here. This exemption rate refers to the withholding tax amount itself and not to the whole amount liable to withholding tax (withholding tax base amount).The gross amount of an invoice is 100.00 and the withholding tax base amount is defined as gross. The withholding tax rate is 10% meaning that the withholding tax amount is 10.00. Given an exemption rate of 30%, the withholding tax amount is reduced to 7.00.
withholdingTaxExmptPercent
- public void setWithholdingTaxNumber(@Nullable String withholdingTaxNumber)
This number must be specified in Customizing either:(a) As part of the withholding tax information defined for the company code, or(b) As part of the withholding tax information defined in the customer or vendor master record.
withholdingTaxNumber
- public void setAuthorizationGroup(@Nullable String authorizationGroup)
authorizationGroup
- public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- public String toString()
toString
in class VdmObject<SupplierWithHoldingTax>
public boolean equals(Object o)
equals
in class VdmObject<SupplierWithHoldingTax>
public int hashCode()
hashCode
in class VdmObject<SupplierWithHoldingTax>
Copyright © 2018 SAP SE. All rights reserved.