public class CustomerWithHoldingTax extends VdmEntity<CustomerWithHoldingTax>
Original entity name from the Odata EDM: A_CustomerWithHoldingTaxType
Modifier and Type | Class and Description |
---|---|
static class |
CustomerWithHoldingTax.CustomerWithHoldingTaxBuilder |
Modifier and Type | Field and Description |
---|---|
static CustomerWithHoldingTaxSelectable |
ALL_FIELDS
Selector for all available fields of CustomerWithHoldingTax.
|
static CustomerWithHoldingTaxField<String> |
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
|
static CustomerWithHoldingTaxField<String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static CustomerWithHoldingTaxField<String> |
CUSTOMER
Use with available fluent helpers to apply the Customer field to query operations.
|
static CustomerWithHoldingTaxField<Calendar> |
EXEMPTION_DATE_BEGIN
Use with available fluent helpers to apply the ExemptionDateBegin field to query operations.
|
static CustomerWithHoldingTaxField<Calendar> |
EXEMPTION_DATE_END
Use with available fluent helpers to apply the ExemptionDateEnd field to query operations.
|
static CustomerWithHoldingTaxField<String> |
EXEMPTION_REASON
Use with available fluent helpers to apply the ExemptionReason field to query operations.
|
static CustomerWithHoldingTaxField<Calendar> |
OBLIGATION_DATE_BEGIN
Use with available fluent helpers to apply the ObligationDateBegin field to query operations.
|
static CustomerWithHoldingTaxField<Calendar> |
OBLIGATION_DATE_END
Use with available fluent helpers to apply the ObligationDateEnd field to query operations.
|
static CustomerWithHoldingTaxField<Boolean> |
WITHHOLDING_TAX_AGENT
Use with available fluent helpers to apply the WithholdingTaxAgent field to query operations.
|
static CustomerWithHoldingTaxField<String> |
WITHHOLDING_TAX_CERTIFICATE
Use with available fluent helpers to apply the WithholdingTaxCertificate field to query operations.
|
static CustomerWithHoldingTaxField<String> |
WITHHOLDING_TAX_CODE
Use with available fluent helpers to apply the WithholdingTaxCode field to query operations.
|
static CustomerWithHoldingTaxField<BigDecimal> |
WITHHOLDING_TAX_EXMPT_PERCENT
Use with available fluent helpers to apply the WithholdingTaxExmptPercent field to query operations.
|
static CustomerWithHoldingTaxField<String> |
WITHHOLDING_TAX_NUMBER
Use with available fluent helpers to apply the WithholdingTaxNumber field to query operations.
|
static CustomerWithHoldingTaxField<String> |
WITHHOLDING_TAX_TYPE
Use with available fluent helpers to apply the WithholdingTaxType field to query operations.
|
Constructor and Description |
---|
CustomerWithHoldingTax() |
CustomerWithHoldingTax(String customer,
String companyCode,
String withholdingTaxType,
String withholdingTaxCode,
Boolean withholdingTaxAgent,
Calendar obligationDateBegin,
Calendar obligationDateEnd,
String withholdingTaxNumber,
String withholdingTaxCertificate,
BigDecimal withholdingTaxExmptPercent,
Calendar exemptionDateBegin,
Calendar exemptionDateEnd,
String exemptionReason,
String authorizationGroup,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static CustomerWithHoldingTax.CustomerWithHoldingTaxBuilder |
builder() |
boolean |
equals(Object o) |
static <T> CustomerWithHoldingTaxField<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 Original property name from the Odata EDM: AuthorizationGroup
|
String |
getCompanyCode()
(Key Field) Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: CompanyCode
|
String |
getCustomer()
(Key Field) Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: Customer
|
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 Original property name from the Odata EDM: ExemptionDateBegin
|
Calendar |
getExemptionDateEnd()
Constraints: Not nullable, Precision: 0 Original property name from the Odata EDM: ExemptionDateEnd
|
String |
getExemptionReason()
Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: ExemptionReasonThese indicators can be defined per withholding tax type in the vendor master record.
|
Calendar |
getObligationDateBegin()
Constraints: Not nullable, Precision: 0 Original property name from the Odata EDM: ObligationDateBeginThe company code is obligated to withhold tax for the given withholding tax type.This date must be entered in Customizing under the withholding tax information for the company code.The customer is obligated to withhold tax for the withholding tax type.This date must be defined in the customer master record.
|
Calendar |
getObligationDateEnd()
Constraints: Not nullable, Precision: 0 Original property name from the Odata EDM: ObligationDateEndThe company code is obligated to withhold tax for the withholding tax type.This date must be entered in Customizing under the withholding tax information for the company code.The customer is obigated to withhold tax for the withholding tax type.
|
Class<CustomerWithHoldingTax> |
getType() |
Boolean |
getWithholdingTaxAgent()
Constraints: noneOriginal property name from the Odata EDM: WithholdingTaxAgent
|
String |
getWithholdingTaxCertificate()
Constraints: Not nullable, Maximum length: 25 Original property name from the Odata EDM: WithholdingTaxCertificateThis 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 Original property name from the Odata EDM: WithholdingTaxCodeNote 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 Original property name from the Odata EDM: WithholdingTaxExmptPercentThose 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 Original property name from the Odata EDM: WithholdingTaxNumberThis 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 Original property name from the Odata EDM: WithholdingTaxTypeWithholding 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 Original property name from the Odata EDM: AuthorizationGroup
|
void |
setCompanyCode(String companyCode)
(Key Field) Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: CompanyCode
|
void |
setCustomer(String customer)
(Key Field) Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: Customer
|
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 Original property name from the Odata EDM: ExemptionDateBegin
|
void |
setExemptionDateEnd(Calendar exemptionDateEnd)
Constraints: Not nullable, Precision: 0 Original property name from the Odata EDM: ExemptionDateEnd
|
void |
setExemptionReason(String exemptionReason)
Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: ExemptionReasonThese indicators can be defined per withholding tax type in the vendor master record.
|
void |
setObligationDateBegin(Calendar obligationDateBegin)
Constraints: Not nullable, Precision: 0 Original property name from the Odata EDM: ObligationDateBeginThe company code is obligated to withhold tax for the given withholding tax type.This date must be entered in Customizing under the withholding tax information for the company code.The customer is obligated to withhold tax for the withholding tax type.This date must be defined in the customer master record.
|
void |
setObligationDateEnd(Calendar obligationDateEnd)
Constraints: Not nullable, Precision: 0 Original property name from the Odata EDM: ObligationDateEndThe company code is obligated to withhold tax for the withholding tax type.This date must be entered in Customizing under the withholding tax information for the company code.The customer is obigated to withhold tax for the withholding tax type.
|
void |
setWithholdingTaxAgent(Boolean withholdingTaxAgent)
Constraints: noneOriginal property name from the Odata EDM: WithholdingTaxAgent
|
void |
setWithholdingTaxCertificate(String withholdingTaxCertificate)
Constraints: Not nullable, Maximum length: 25 Original property name from the Odata EDM: WithholdingTaxCertificateThis 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 Original property name from the Odata EDM: WithholdingTaxCodeNote 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 Original property name from the Odata EDM: WithholdingTaxExmptPercentThose 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 Original property name from the Odata EDM: WithholdingTaxNumberThis 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 Original property name from the Odata EDM: WithholdingTaxTypeWithholding 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() |
getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final CustomerWithHoldingTaxSelectable ALL_FIELDS
public static final CustomerWithHoldingTaxField<String> CUSTOMER
public static final CustomerWithHoldingTaxField<String> COMPANY_CODE
public static final CustomerWithHoldingTaxField<String> WITHHOLDING_TAX_TYPE
public static final CustomerWithHoldingTaxField<String> WITHHOLDING_TAX_CODE
public static final CustomerWithHoldingTaxField<Boolean> WITHHOLDING_TAX_AGENT
public static final CustomerWithHoldingTaxField<Calendar> OBLIGATION_DATE_BEGIN
public static final CustomerWithHoldingTaxField<Calendar> OBLIGATION_DATE_END
public static final CustomerWithHoldingTaxField<String> WITHHOLDING_TAX_NUMBER
public static final CustomerWithHoldingTaxField<String> WITHHOLDING_TAX_CERTIFICATE
public static final CustomerWithHoldingTaxField<BigDecimal> WITHHOLDING_TAX_EXMPT_PERCENT
public static final CustomerWithHoldingTaxField<Calendar> EXEMPTION_DATE_BEGIN
public static final CustomerWithHoldingTaxField<Calendar> EXEMPTION_DATE_END
public static final CustomerWithHoldingTaxField<String> EXEMPTION_REASON
public static final CustomerWithHoldingTaxField<String> AUTHORIZATION_GROUP
public CustomerWithHoldingTax()
public CustomerWithHoldingTax(@Nullable String customer, @Nullable String companyCode, @Nullable String withholdingTaxType, @Nullable String withholdingTaxCode, @Nullable Boolean withholdingTaxAgent, @Nullable Calendar obligationDateBegin, @Nullable Calendar obligationDateEnd, @Nullable String withholdingTaxNumber, @Nullable String withholdingTaxCertificate, @Nullable BigDecimal withholdingTaxExmptPercent, @Nullable Calendar exemptionDateBegin, @Nullable Calendar exemptionDateEnd, @Nullable String exemptionReason, @Nullable String authorizationGroup, @Nullable ErpConfigContext erpConfigContext)
public Class<CustomerWithHoldingTax> getType()
getType
in class VdmObject<CustomerWithHoldingTax>
public void setCustomer(@Nullable String customer)
Original property name from the Odata EDM: Customer
customer
- Gives an alphanumeric key, which clearly identifies the customer or vendor in the SAP system.public void setCompanyCode(@Nullable String companyCode)
Original property name from the Odata EDM: CompanyCode
companyCode
- The company code is an organizational unit within financial accounting.public void setWithholdingTaxType(@Nullable String withholdingTaxType)
Original property name from the Odata EDM: 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
- This indicator is used to classify the different types of withholding tax.public void setWithholdingTaxCode(@Nullable String withholdingTaxCode)
Original property name from the Odata EDM: 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
- One or more "withholding tax codes" are assigned to each withholding tax type. One of the things these codes determine is the various percentage rates for the withholding tax type.public void setWithholdingTaxAgent(@Nullable Boolean withholdingTaxAgent)
Original property name from the Odata EDM: WithholdingTaxAgent
withholdingTaxAgent
- Indicator: Withholding Tax Agent?public void setObligationDateBegin(@Nullable Calendar obligationDateBegin)
Original property name from the Odata EDM: ObligationDateBegin
The company code is obligated to withhold tax for the given withholding tax type.This date must be entered in Customizing under the withholding tax information for the company code.The customer is obligated to withhold tax for the withholding tax type.This date must be defined in the customer master record.
obligationDateBegin
- Date from which:public void setObligationDateEnd(@Nullable Calendar obligationDateEnd)
Original property name from the Odata EDM: ObligationDateEnd
The company code is obligated to withhold tax for the withholding tax type.This date must be entered in Customizing under the withholding tax information for the company code.The customer is obigated to withhold tax for the withholding tax type.
obligationDateEnd
- Date to which:public void setWithholdingTaxNumber(@Nullable String withholdingTaxNumber)
Original property name from the Odata EDM: 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
- This is a number issued by the tax authorities per withholding tax type.public void setWithholdingTaxCertificate(@Nullable String withholdingTaxCertificate)
Original property name from the Odata EDM: 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
- Numbered assigned by the relevant authorities for exemption from withholding tax.public void setWithholdingTaxExmptPercent(@Nullable BigDecimal withholdingTaxExmptPercent)
Original property name from the Odata EDM: 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
- Rate of exemption from withholding tax.public void setExemptionDateBegin(@Nullable Calendar exemptionDateBegin)
Original property name from the Odata EDM: ExemptionDateBegin
exemptionDateBegin
- Date from which withholding tax exemption applies.public void setExemptionDateEnd(@Nullable Calendar exemptionDateEnd)
Original property name from the Odata EDM: ExemptionDateEnd
exemptionDateEnd
- Date on which withholding tax exemption expires.public void setExemptionReason(@Nullable String exemptionReason)
Original property name from the Odata EDM: ExemptionReason
These indicators can be defined per withholding tax type in the vendor master record.
exemptionReason
- Indicator used to classify different types of exemption from liability to a particular withholding tax.public void setAuthorizationGroup(@Nullable String authorizationGroup)
Original property name from the Odata EDM: AuthorizationGroup
authorizationGroup
- The authorization group allows extended authorization protection for particular objects. The authorization groups are freely definable. The authorization groups usually occur in authorization objects together with an activity.public static <T> CustomerWithHoldingTaxField<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 CustomerWithHoldingTax.CustomerWithHoldingTaxBuilder builder()
@Nullable public String getCustomer()
Original property name from the Odata EDM: Customer
@Nullable public String getCompanyCode()
Original property name from the Odata EDM: CompanyCode
@Nullable public String getWithholdingTaxType()
Original property name from the Odata EDM: 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.
@Nullable public String getWithholdingTaxCode()
Original property name from the Odata EDM: 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.
@Nullable public Boolean getWithholdingTaxAgent()
Original property name from the Odata EDM: WithholdingTaxAgent
@Nullable public Calendar getObligationDateBegin()
Original property name from the Odata EDM: ObligationDateBegin
The company code is obligated to withhold tax for the given withholding tax type.This date must be entered in Customizing under the withholding tax information for the company code.The customer is obligated to withhold tax for the withholding tax type.This date must be defined in the customer master record.
@Nullable public Calendar getObligationDateEnd()
Original property name from the Odata EDM: ObligationDateEnd
The company code is obligated to withhold tax for the withholding tax type.This date must be entered in Customizing under the withholding tax information for the company code.The customer is obigated to withhold tax for the withholding tax type.
@Nullable public String getWithholdingTaxNumber()
Original property name from the Odata EDM: 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.
@Nullable public String getWithholdingTaxCertificate()
Original property name from the Odata EDM: 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.
@Nullable public BigDecimal getWithholdingTaxExmptPercent()
Original property name from the Odata EDM: 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.
@Nullable public Calendar getExemptionDateBegin()
Original property name from the Odata EDM: ExemptionDateBegin
@Nullable public Calendar getExemptionDateEnd()
Original property name from the Odata EDM: ExemptionDateEnd
@Nullable public String getExemptionReason()
Original property name from the Odata EDM: ExemptionReason
These indicators can be defined per withholding tax type in the vendor master record.
@Nullable public String getAuthorizationGroup()
Original property name from the Odata EDM: AuthorizationGroup
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- public String toString()
toString
in class VdmObject<CustomerWithHoldingTax>
public boolean equals(Object o)
equals
in class VdmObject<CustomerWithHoldingTax>
public int hashCode()
hashCode
in class VdmObject<CustomerWithHoldingTax>
Copyright © 2018 SAP SE. All rights reserved.