public class ProductValuationAccount extends VdmEntity<ProductValuationAccount>
Original entity name from the Odata EDM: A_ProductValuationAccountType
Modifier and Type | Class and Description |
---|---|
static class |
ProductValuationAccount.ProductValuationAccountBuilder |
Modifier and Type | Field and Description |
---|---|
static ProductValuationAccountSelectable |
ALL_FIELDS
Selector for all available fields of ProductValuationAccount.
|
static ProductValuationAccountField<BigDecimal> |
COMMERCIAL_PRICE1_IN_CO_CODE_CRCY
Use with available fluent helpers to apply the CommercialPrice1InCoCodeCrcy field to query operations.
|
static ProductValuationAccountField<BigDecimal> |
COMMERCIAL_PRICE2_IN_CO_CODE_CRCY
Use with available fluent helpers to apply the CommercialPrice2InCoCodeCrcy field to query operations.
|
static ProductValuationAccountField<BigDecimal> |
COMMERCIAL_PRICE3_IN_CO_CODE_CRCY
Use with available fluent helpers to apply the CommercialPrice3InCoCodeCrcy field to query operations.
|
static ProductValuationAccountField<String> |
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations.
|
static ProductValuationAccountField<String> |
DEVALUATION_YEAR_COUNT
Use with available fluent helpers to apply the DevaluationYearCount field to query operations.
|
static ProductValuationAccountField<BigDecimal> |
FUTURE_EVALUATED_AMOUNT_VALUE
Use with available fluent helpers to apply the FutureEvaluatedAmountValue field to query operations.
|
static ProductValuationAccountField<LocalDateTime> |
FUTURE_PRICE_VALIDITY_START_DATE
Use with available fluent helpers to apply the FuturePriceValidityStartDate field to query operations.
|
static ProductValuationAccountField<Boolean> |
IS_LIFO_AND_FIFO_RELEVANT
Use with available fluent helpers to apply the IsLIFOAndFIFORelevant field to query operations.
|
static ProductValuationAccountField<String> |
LIFO_VALUATION_POOL_NUMBER
Use with available fluent helpers to apply the LIFOValuationPoolNumber field to query operations.
|
static ProductValuationAccountField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
static ProductValuationAccountField<BigDecimal> |
TAX_PRICE2_IN_CO_CODE_CRCY
Use with available fluent helpers to apply the TaxPrice2InCoCodeCrcy field to query operations.
|
static ProductValuationAccountField<BigDecimal> |
TAX_PRICE3_IN_CO_CODE_CRCY
Use with available fluent helpers to apply the TaxPrice3InCoCodeCrcy field to query operations.
|
static ProductValuationAccountField<BigDecimal> |
TAX_PRICEL1_IN_CO_CODE_CRCY
Use with available fluent helpers to apply the TaxPricel1InCoCodeCrcy field to query operations.
|
static ProductValuationAccountField<String> |
VALUATION_AREA
Use with available fluent helpers to apply the ValuationArea field to query operations.
|
static ProductValuationAccountField<String> |
VALUATION_TYPE
Use with available fluent helpers to apply the ValuationType field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProductValuationAccount() |
ProductValuationAccount(String product,
String valuationArea,
String valuationType,
BigDecimal commercialPrice1InCoCodeCrcy,
BigDecimal commercialPrice2InCoCodeCrcy,
BigDecimal commercialPrice3InCoCodeCrcy,
String devaluationYearCount,
BigDecimal futureEvaluatedAmountValue,
LocalDateTime futurePriceValidityStartDate,
Boolean isLIFOAndFIFORelevant,
String lIFOValuationPoolNumber,
BigDecimal taxPricel1InCoCodeCrcy,
BigDecimal taxPrice2InCoCodeCrcy,
BigDecimal taxPrice3InCoCodeCrcy,
String currency) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static ProductValuationAccount.ProductValuationAccountBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ProductValuationAccountField<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) |
BigDecimal |
getCommercialPrice1InCoCodeCrcy()
Constraints: Not nullable, Precision: 12, Scale: 3
|
BigDecimal |
getCommercialPrice2InCoCodeCrcy()
Constraints: Not nullable, Precision: 12, Scale: 3
|
BigDecimal |
getCommercialPrice3InCoCodeCrcy()
Constraints: Not nullable, Precision: 12, Scale: 3
|
String |
getCurrency()
Constraints: Not nullable, Maximum length: 5
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
String |
getDevaluationYearCount()
Constraints: Not nullable, Maximum length: 2
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
BigDecimal |
getFutureEvaluatedAmountValue()
Constraints: Not nullable, Precision: 12, Scale: 3
|
LocalDateTime |
getFuturePriceValidityStartDate()
Constraints: Not nullable, Precision: 0
|
Boolean |
getIsLIFOAndFIFORelevant()
Constraints: none
|
protected Map<String,Object> |
getKey() |
String |
getLIFOValuationPoolNumber()
Constraints: Not nullable, Maximum length: 4
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
BigDecimal |
getTaxPrice2InCoCodeCrcy()
Constraints: Not nullable, Precision: 12, Scale: 3
|
BigDecimal |
getTaxPrice3InCoCodeCrcy()
Constraints: Not nullable, Precision: 12, Scale: 3
|
BigDecimal |
getTaxPricel1InCoCodeCrcy()
Constraints: Not nullable, Precision: 12, Scale: 3
|
Class<ProductValuationAccount> |
getType() |
String |
getValuationArea()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getValuationType()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
int |
hashCode() |
void |
setCommercialPrice1InCoCodeCrcy(BigDecimal commercialPrice1InCoCodeCrcy)
Constraints: Not nullable, Precision: 12, Scale: 3
|
void |
setCommercialPrice2InCoCodeCrcy(BigDecimal commercialPrice2InCoCodeCrcy)
Constraints: Not nullable, Precision: 12, Scale: 3
|
void |
setCommercialPrice3InCoCodeCrcy(BigDecimal commercialPrice3InCoCodeCrcy)
Constraints: Not nullable, Precision: 12, Scale: 3
|
void |
setCurrency(String currency)
Constraints: Not nullable, Maximum length: 5
|
void |
setDevaluationYearCount(String devaluationYearCount)
Constraints: Not nullable, Maximum length: 2
|
void |
setFutureEvaluatedAmountValue(BigDecimal futureEvaluatedAmountValue)
Constraints: Not nullable, Precision: 12, Scale: 3
|
void |
setFuturePriceValidityStartDate(LocalDateTime futurePriceValidityStartDate)
Constraints: Not nullable, Precision: 0
|
void |
setIsLIFOAndFIFORelevant(Boolean isLIFOAndFIFORelevant)
Constraints: none
|
void |
setLIFOValuationPoolNumber(String lIFOValuationPoolNumber)
Constraints: Not nullable, Maximum length: 4
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setTaxPrice2InCoCodeCrcy(BigDecimal taxPrice2InCoCodeCrcy)
Constraints: Not nullable, Precision: 12, Scale: 3
|
void |
setTaxPrice3InCoCodeCrcy(BigDecimal taxPrice3InCoCodeCrcy)
Constraints: Not nullable, Precision: 12, Scale: 3
|
void |
setTaxPricel1InCoCodeCrcy(BigDecimal taxPricel1InCoCodeCrcy)
Constraints: Not nullable, Precision: 12, Scale: 3
|
void |
setValuationArea(String valuationArea)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setValuationType(String valuationType)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final ProductValuationAccountSelectable ALL_FIELDS
public static final ProductValuationAccountField<String> PRODUCT
public static final ProductValuationAccountField<String> VALUATION_AREA
public static final ProductValuationAccountField<String> VALUATION_TYPE
public static final ProductValuationAccountField<BigDecimal> COMMERCIAL_PRICE1_IN_CO_CODE_CRCY
public static final ProductValuationAccountField<BigDecimal> COMMERCIAL_PRICE2_IN_CO_CODE_CRCY
public static final ProductValuationAccountField<BigDecimal> COMMERCIAL_PRICE3_IN_CO_CODE_CRCY
public static final ProductValuationAccountField<String> DEVALUATION_YEAR_COUNT
public static final ProductValuationAccountField<BigDecimal> FUTURE_EVALUATED_AMOUNT_VALUE
public static final ProductValuationAccountField<LocalDateTime> FUTURE_PRICE_VALIDITY_START_DATE
public static final ProductValuationAccountField<Boolean> IS_LIFO_AND_FIFO_RELEVANT
public static final ProductValuationAccountField<String> LIFO_VALUATION_POOL_NUMBER
public static final ProductValuationAccountField<BigDecimal> TAX_PRICEL1_IN_CO_CODE_CRCY
public static final ProductValuationAccountField<BigDecimal> TAX_PRICE2_IN_CO_CODE_CRCY
public static final ProductValuationAccountField<BigDecimal> TAX_PRICE3_IN_CO_CODE_CRCY
public static final ProductValuationAccountField<String> CURRENCY
public ProductValuationAccount()
public ProductValuationAccount(@Nullable String product, @Nullable String valuationArea, @Nullable String valuationType, @Nullable BigDecimal commercialPrice1InCoCodeCrcy, @Nullable BigDecimal commercialPrice2InCoCodeCrcy, @Nullable BigDecimal commercialPrice3InCoCodeCrcy, @Nullable String devaluationYearCount, @Nullable BigDecimal futureEvaluatedAmountValue, @Nullable LocalDateTime futurePriceValidityStartDate, @Nullable Boolean isLIFOAndFIFORelevant, @Nullable String lIFOValuationPoolNumber, @Nullable BigDecimal taxPricel1InCoCodeCrcy, @Nullable BigDecimal taxPrice2InCoCodeCrcy, @Nullable BigDecimal taxPrice3InCoCodeCrcy, @Nullable String currency)
@Nonnull public Class<ProductValuationAccount> getType()
getType
in class VdmObject<ProductValuationAccount>
public void setProduct(@Nullable String product)
Original property name from the Odata EDM: Product
product
- Alphanumeric key uniquely identifying the material.public void setValuationArea(@Nullable String valuationArea)
Original property name from the Odata EDM: ValuationArea
PlantAll plants belonging to a company code, in which case the valuation area is the company code
valuationArea
- Organizational level at which the material is valuated. A valuation area can be one of the following:public void setValuationType(@Nullable String valuationType)
Original property name from the Odata EDM: ValuationType
The valuation types allowed for a material are determined by the valuation category.If a material is valuated according to its origin (valuation category H), you can define the possible countries of origin as valuation types.
valuationType
- Uniquely identifies separately valuated stocks of a material.public void setCommercialPrice1InCoCodeCrcy(@Nullable BigDecimal commercialPrice1InCoCodeCrcy)
Original property name from the Odata EDM: CommercialPrice1InCoCodeCrcy
commercialPrice1InCoCodeCrcy
- Price at which the material is valuated for commercial purposes. (The distinction between tax
valuation and commercial valuation is not observed in the United States of America or in some European
countries.)public void setCommercialPrice2InCoCodeCrcy(@Nullable BigDecimal commercialPrice2InCoCodeCrcy)
Original property name from the Odata EDM: CommercialPrice2InCoCodeCrcy
Price level 2 is used for updating the lowest price that has been determined on the basis of range of coverage and movement rate.
commercialPrice2InCoCodeCrcy
- Price at which the material is valuated from the commercial viewpoint, and which is derived in the
determination of lowest value. It relates to the price unit of the previous year.public void setCommercialPrice3InCoCodeCrcy(@Nullable BigDecimal commercialPrice3InCoCodeCrcy)
Original property name from the Odata EDM: CommercialPrice3InCoCodeCrcy
The price relates to the price unit in the previous year (for more information, see the SAP Library documentation Invoice Verification and Material Valuation).
commercialPrice3InCoCodeCrcy
- Price at which the material is valuated for reasons of commercial law. This price is given by the FIFO
valuation. Alternatively, it can be specified by inventory costing or by an external source.public void setDevaluationYearCount(@Nullable String devaluationYearCount)
Original property name from the Odata EDM: DevaluationYearCount
The devaluation indicator determines the percentage by which the value of a material is reduced. It allows the results from previous years to be taken into account when the "lowest value" of a material is determined on the basis of whether it is slow/non-moving. The devaluation indicator is:Increased by 1 if the material is slow or non-movingSet to 0 if the material is medium or fast moving
devaluationYearCount
- The devaluation indicator shows how many years the material has been flagged as slow or non-moving.public void setFutureEvaluatedAmountValue(@Nullable BigDecimal futureEvaluatedAmountValue)
Original property name from the Odata EDM: FutureEvaluatedAmountValue
The future standard price is valid as of the date you enter in the relevant field.Before the future price can become effective, you must activate it for material valuation.
futureEvaluatedAmountValue
- Price at which the material will be valuated as from a precise date in the future.public void setFuturePriceValidityStartDate(@Nullable LocalDateTime futurePriceValidityStartDate)
Original property name from the Odata EDM: FuturePriceValidityStartDate
futurePriceValidityStartDate
- Date as from which the future price of the material is valid.public void setIsLIFOAndFIFORelevant(@Nullable Boolean isLIFOAndFIFORelevant)
Original property name from the Odata EDM: IsLIFOAndFIFORelevant
isLIFOAndFIFORelevant
- Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')public void setLIFOValuationPoolNumber(@Nullable String lIFOValuationPoolNumber)
Original property name from the Odata EDM: LIFOValuationPoolNumber
Materials to be valuated together in LIFO valuation are grouped under a pool number.
lIFOValuationPoolNumber
- Alphanumeric key uniquely identifying the document.public void setTaxPricel1InCoCodeCrcy(@Nullable BigDecimal taxPricel1InCoCodeCrcy)
Original property name from the Odata EDM: TaxPricel1InCoCodeCrcy
taxPricel1InCoCodeCrcy
- Price at which the material is valuated for tax purposes. (The distinction between tax valuation and
commercial valuation is not observed in the United States of America or in some European countries.)public void setTaxPrice2InCoCodeCrcy(@Nullable BigDecimal taxPrice2InCoCodeCrcy)
Original property name from the Odata EDM: TaxPrice2InCoCodeCrcy
Price level 2 is used for updating the lowest price that has been determined on the basis of range of coverage and movement rate.
taxPrice2InCoCodeCrcy
- Price at which the material is valuated for tax purposes, and which is derived in the determination of
lowest value. It relates to the price unit of the previous year.public void setTaxPrice3InCoCodeCrcy(@Nullable BigDecimal taxPrice3InCoCodeCrcy)
Original property name from the Odata EDM: TaxPrice3InCoCodeCrcy
The price relates to the price unit in the previous year (for more information, see the SAP Library documentation Invoice Verification and Material Valuation).
taxPrice3InCoCodeCrcy
- Price at which the material is valuated for reasons of tax law. This price is given by the FIFO
valuation. Alternatively, it can be specified by inventory costing or by an external source.public void setCurrency(@Nullable String currency)
Original property name from the Odata EDM: Currency
currency
- Currency key for amounts in the system.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ProductValuationAccount>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ProductValuationAccount>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProductValuationAccount>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProductValuationAccount>
@Nonnull public static <T> ProductValuationAccountField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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> ProductValuationAccountField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<ProductValuationAccount>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<ProductValuationAccount>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<ProductValuationAccount>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<ProductValuationAccount>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)public static ProductValuationAccount.ProductValuationAccountBuilder builder()
@Nullable public String getProduct()
Original property name from the Odata EDM: Product
@Nullable public String getValuationArea()
Original property name from the Odata EDM: ValuationArea
PlantAll plants belonging to a company code, in which case the valuation area is the company code
@Nullable public String getValuationType()
Original property name from the Odata EDM: ValuationType
The valuation types allowed for a material are determined by the valuation category.If a material is valuated according to its origin (valuation category H), you can define the possible countries of origin as valuation types.
@Nullable public BigDecimal getCommercialPrice1InCoCodeCrcy()
Original property name from the Odata EDM: CommercialPrice1InCoCodeCrcy
@Nullable public BigDecimal getCommercialPrice2InCoCodeCrcy()
Original property name from the Odata EDM: CommercialPrice2InCoCodeCrcy
Price level 2 is used for updating the lowest price that has been determined on the basis of range of coverage and movement rate.
@Nullable public BigDecimal getCommercialPrice3InCoCodeCrcy()
Original property name from the Odata EDM: CommercialPrice3InCoCodeCrcy
The price relates to the price unit in the previous year (for more information, see the SAP Library documentation Invoice Verification and Material Valuation).
@Nullable public String getDevaluationYearCount()
Original property name from the Odata EDM: DevaluationYearCount
The devaluation indicator determines the percentage by which the value of a material is reduced. It allows the results from previous years to be taken into account when the "lowest value" of a material is determined on the basis of whether it is slow/non-moving. The devaluation indicator is:Increased by 1 if the material is slow or non-movingSet to 0 if the material is medium or fast moving
@Nullable public BigDecimal getFutureEvaluatedAmountValue()
Original property name from the Odata EDM: FutureEvaluatedAmountValue
The future standard price is valid as of the date you enter in the relevant field.Before the future price can become effective, you must activate it for material valuation.
@Nullable public LocalDateTime getFuturePriceValidityStartDate()
Original property name from the Odata EDM: FuturePriceValidityStartDate
@Nullable public Boolean getIsLIFOAndFIFORelevant()
Original property name from the Odata EDM: IsLIFOAndFIFORelevant
@Nullable public String getLIFOValuationPoolNumber()
Original property name from the Odata EDM: LIFOValuationPoolNumber
Materials to be valuated together in LIFO valuation are grouped under a pool number.
@Nullable public BigDecimal getTaxPricel1InCoCodeCrcy()
Original property name from the Odata EDM: TaxPricel1InCoCodeCrcy
@Nullable public BigDecimal getTaxPrice2InCoCodeCrcy()
Original property name from the Odata EDM: TaxPrice2InCoCodeCrcy
Price level 2 is used for updating the lowest price that has been determined on the basis of range of coverage and movement rate.
@Nullable public BigDecimal getTaxPrice3InCoCodeCrcy()
Original property name from the Odata EDM: TaxPrice3InCoCodeCrcy
The price relates to the price unit in the previous year (for more information, see the SAP Library documentation Invoice Verification and Material Valuation).
@Nullable public String getCurrency()
Original property name from the Odata EDM: Currency
public String toString()
toString
in class VdmObject<ProductValuationAccount>
public boolean equals(Object o)
equals
in class VdmObject<ProductValuationAccount>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<ProductValuationAccount>
public int hashCode()
hashCode
in class VdmObject<ProductValuationAccount>
Copyright © 2020 SAP SE. All rights reserved.