public class SuplrInvcHeaderWhldgTax extends VdmEntity<SuplrInvcHeaderWhldgTax>
Original entity name from the Odata EDM: A_SuplrInvcHeaderWhldgTaxType
Modifier and Type | Class and Description |
---|---|
static class |
SuplrInvcHeaderWhldgTax.SuplrInvcHeaderWhldgTaxBuilder |
Modifier and Type | Field and Description |
---|---|
static SuplrInvcHeaderWhldgTaxSelectable |
ALL_FIELDS
Selector for all available fields of SuplrInvcHeaderWhldgTax.
|
static SuplrInvcHeaderWhldgTaxField<String> |
DOCUMENT_CURRENCY
Use with available fluent helpers to apply the DocumentCurrency field to query operations.
|
static SuplrInvcHeaderWhldgTaxField<String> |
FISCAL_YEAR
Use with available fluent helpers to apply the FiscalYear field to query operations.
|
static SuplrInvcHeaderWhldgTaxField<BigDecimal> |
MANUALLY_ENTERED_WHLDG_TAX_AMOUNT
Use with available fluent helpers to apply the ManuallyEnteredWhldgTaxAmount field to query operations.
|
static SuplrInvcHeaderWhldgTaxField<String> |
SUPPLIER_INVOICE
Use with available fluent helpers to apply the SupplierInvoice field to query operations.
|
static SuplrInvcHeaderWhldgTaxField<BigDecimal> |
WITHHOLDING_TAX_BASE_AMOUNT
Use with available fluent helpers to apply the WithholdingTaxBaseAmount field to query operations.
|
static SuplrInvcHeaderWhldgTaxField<String> |
WITHHOLDING_TAX_CODE
Use with available fluent helpers to apply the WithholdingTaxCode field to query operations.
|
static SuplrInvcHeaderWhldgTaxField<String> |
WITHHOLDING_TAX_TYPE
Use with available fluent helpers to apply the WithholdingTaxType field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
SuplrInvcHeaderWhldgTax() |
SuplrInvcHeaderWhldgTax(String supplierInvoice,
String fiscalYear,
String withholdingTaxType,
String documentCurrency,
String withholdingTaxCode,
BigDecimal withholdingTaxBaseAmount,
BigDecimal manuallyEnteredWhldgTaxAmount,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static SuplrInvcHeaderWhldgTax.SuplrInvcHeaderWhldgTaxBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> SuplrInvcHeaderWhldgTaxField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getDocumentCurrency()
Constraints: Not nullable, Maximum length: 5 Original property name from the Odata EDM: DocumentCurrency
|
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
String |
getFiscalYear()
(Key Field) Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: FiscalYear
|
protected Map<String,Object> |
getKey() |
BigDecimal |
getManuallyEnteredWhldgTaxAmount()
Constraints: Not nullable, Precision: 16, Scale: 3 Original property name from the Odata EDM: ManuallyEnteredWhldgTaxAmount
|
String |
getSupplierInvoice()
(Key Field) Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: SupplierInvoiceThe invoice document number is unique in every company code and fiscal year.
|
Class<SuplrInvcHeaderWhldgTax> |
getType() |
BigDecimal |
getWithholdingTaxBaseAmount()
Constraints: Not nullable, Precision: 16, Scale: 3 Original property name from the Odata EDM: WithholdingTaxBaseAmount
|
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.
|
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 |
setDocumentCurrency(String documentCurrency)
Constraints: Not nullable, Maximum length: 5 Original property name from the Odata EDM: DocumentCurrency
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
void |
setFiscalYear(String fiscalYear)
(Key Field) Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: FiscalYear
|
void |
setManuallyEnteredWhldgTaxAmount(BigDecimal manuallyEnteredWhldgTaxAmount)
Constraints: Not nullable, Precision: 16, Scale: 3 Original property name from the Odata EDM: ManuallyEnteredWhldgTaxAmount
|
void |
setSupplierInvoice(String supplierInvoice)
(Key Field) Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: SupplierInvoiceThe invoice document number is unique in every company code and fiscal year.
|
void |
setWithholdingTaxBaseAmount(BigDecimal withholdingTaxBaseAmount)
Constraints: Not nullable, Precision: 16, Scale: 3 Original property name from the Odata EDM: WithholdingTaxBaseAmount
|
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 |
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.
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setServicePathForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final SuplrInvcHeaderWhldgTaxSelectable ALL_FIELDS
public static final SuplrInvcHeaderWhldgTaxField<String> SUPPLIER_INVOICE
public static final SuplrInvcHeaderWhldgTaxField<String> FISCAL_YEAR
public static final SuplrInvcHeaderWhldgTaxField<String> WITHHOLDING_TAX_TYPE
public static final SuplrInvcHeaderWhldgTaxField<String> DOCUMENT_CURRENCY
public static final SuplrInvcHeaderWhldgTaxField<String> WITHHOLDING_TAX_CODE
public static final SuplrInvcHeaderWhldgTaxField<BigDecimal> WITHHOLDING_TAX_BASE_AMOUNT
public static final SuplrInvcHeaderWhldgTaxField<BigDecimal> MANUALLY_ENTERED_WHLDG_TAX_AMOUNT
public SuplrInvcHeaderWhldgTax()
public SuplrInvcHeaderWhldgTax(@Nullable String supplierInvoice, @Nullable String fiscalYear, @Nullable String withholdingTaxType, @Nullable String documentCurrency, @Nullable String withholdingTaxCode, @Nullable BigDecimal withholdingTaxBaseAmount, @Nullable BigDecimal manuallyEnteredWhldgTaxAmount, @Nullable ErpConfigContext erpConfigContext)
@Nonnull public Class<SuplrInvcHeaderWhldgTax> getType()
getType
in class VdmObject<SuplrInvcHeaderWhldgTax>
public void setSupplierInvoice(@Nullable String supplierInvoice)
Original property name from the Odata EDM: SupplierInvoice
The invoice document number is unique in every company code and fiscal year. Depending on the system configuration, the invoice document number can either be entered manually or be assigned internally by the system from a predefined number range.
supplierInvoice
- Number which uniquely identifies an invoice document.public void setFiscalYear(@Nullable String fiscalYear)
Original property name from the Odata EDM: FiscalYear
fiscalYear
- Period, 12 months as a rule, for which the company is to create its inventory and balance sheet. The fiscal year can be the same as the calendar year, but does not have to be.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 setDocumentCurrency(@Nullable String documentCurrency)
Original property name from the Odata EDM: DocumentCurrency
documentCurrency
- Currency key for amounts in the system.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 setWithholdingTaxBaseAmount(@Nullable BigDecimal withholdingTaxBaseAmount)
Original property name from the Odata EDM: WithholdingTaxBaseAmount
withholdingTaxBaseAmount
- Withholding Tax Base Amount in Document Currencypublic void setManuallyEnteredWhldgTaxAmount(@Nullable BigDecimal manuallyEnteredWhldgTaxAmount)
Original property name from the Odata EDM: ManuallyEnteredWhldgTaxAmount
manuallyEnteredWhldgTaxAmount
- Manually entered withholding tax amount in document currency.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<SuplrInvcHeaderWhldgTax>
protected Map<String,Object> getKey()
getKey
in class VdmObject<SuplrInvcHeaderWhldgTax>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SuplrInvcHeaderWhldgTax>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<SuplrInvcHeaderWhldgTax>
@Nonnull public static <T> SuplrInvcHeaderWhldgTaxField<T> field(@Nonnull String fieldName, @Nonnull 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.@Nonnull public static <T,DomainT> SuplrInvcHeaderWhldgTaxField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.public static SuplrInvcHeaderWhldgTax.SuplrInvcHeaderWhldgTaxBuilder builder()
@Nullable public String getSupplierInvoice()
Original property name from the Odata EDM: SupplierInvoice
The invoice document number is unique in every company code and fiscal year. Depending on the system configuration, the invoice document number can either be entered manually or be assigned internally by the system from a predefined number range.
@Nullable public String getFiscalYear()
Original property name from the Odata EDM: FiscalYear
@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 getDocumentCurrency()
Original property name from the Odata EDM: DocumentCurrency
@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 BigDecimal getWithholdingTaxBaseAmount()
Original property name from the Odata EDM: WithholdingTaxBaseAmount
@Nullable public BigDecimal getManuallyEnteredWhldgTaxAmount()
Original property name from the Odata EDM: ManuallyEnteredWhldgTaxAmount
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
setErpConfigContext
in class VdmEntity<SuplrInvcHeaderWhldgTax>
erpConfigContext
- public String toString()
toString
in class VdmObject<SuplrInvcHeaderWhldgTax>
public boolean equals(Object o)
equals
in class VdmObject<SuplrInvcHeaderWhldgTax>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<SuplrInvcHeaderWhldgTax>
public int hashCode()
hashCode
in class VdmObject<SuplrInvcHeaderWhldgTax>
Copyright © 2018 SAP SE. All rights reserved.