Class ProductValuation
Original entity name from the Odata EDM: A_ProductValuationType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProductValuation instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProductValuationSelectableSelector for all available fields of ProductValuation.static final ProductValuationField<String>Use with available fluent helpers to apply the BaseUnit field to query operations.static final ProductValuationField<String>Use with available fluent helpers to apply the Currency field to query operations.static final ProductValuationField<LocalDateTime>Use with available fluent helpers to apply the FuturePlndPrice1ValdtyDate field to query operations.static final ProductValuationField<LocalDateTime>Use with available fluent helpers to apply the FuturePlndPrice2ValdtyDate field to query operations.static final ProductValuationField<LocalDateTime>Use with available fluent helpers to apply the FuturePlndPrice3ValdtyDate field to query operations.static final ProductValuationField<String>Use with available fluent helpers to apply the InventoryValuationProcedure field to query operations.static final ProductValuationField<Boolean>Use with available fluent helpers to apply the IsMarkedForDeletion field to query operations.static final ProductValuationField<Boolean>Use with available fluent helpers to apply the IsProducedInhouse field to query operations.static final ProductValuationField<BigDecimal>Use with available fluent helpers to apply the MovingAveragePrice field to query operations.static final ProductValuationField<BigDecimal>Use with available fluent helpers to apply the PlannedPrice field to query operations.static final ProductValuationField<BigDecimal>Use with available fluent helpers to apply the PlannedPrice1InCoCodeCrcy field to query operations.static final ProductValuationField<BigDecimal>Use with available fluent helpers to apply the PlannedPrice2InCoCodeCrcy field to query operations.static final ProductValuationField<BigDecimal>Use with available fluent helpers to apply the PlannedPrice3InCoCodeCrcy field to query operations.static final ProductValuationField<BigDecimal>Use with available fluent helpers to apply the PrevInvtryPriceInCoCodeCrcy field to query operations.static final ProductValuationField<String>Use with available fluent helpers to apply the PriceDeterminationControl field to query operations.static final ProductValuationField<LocalDateTime>Use with available fluent helpers to apply the PriceLastChangeDate field to query operations.static final ProductValuationField<BigDecimal>Use with available fluent helpers to apply the PriceUnitQty field to query operations.static final ProductValuationField<String>Use with available fluent helpers to apply the ProdCostEstNumber field to query operations.static final ProductValuationField<String>Use with available fluent helpers to apply the Product field to query operations.static final ProductValuationField<String>Use with available fluent helpers to apply the ProductOriginType field to query operations.static final ProductValuationField<String>Use with available fluent helpers to apply the ProductUsageType field to query operations.static final ProductValuationField<String>Use with available fluent helpers to apply the ProjectStockValuationClass field to query operations.static final ProductValuationField<BigDecimal>Use with available fluent helpers to apply the StandardPrice field to query operations.static final ProductValuationField<BigDecimal>Use with available fluent helpers to apply the TaxBasedPricesPriceUnitQty field to query operations.static final ProductValuationLink<ProductMLAccount>Use with available fluent helpers to apply the to_MLAccount navigation property to query operations.static final ProductValuationLink<ProductMLPrices>Use with available fluent helpers to apply the to_MLPrices navigation property to query operations.static final ProductValuationOneToOneLink<ProductValuationAccount>Use with available fluent helpers to apply the to_ValuationAccount navigation property to query operations.static final ProductValuationOneToOneLink<ProductValuationCosting>Use with available fluent helpers to apply the to_ValuationCosting navigation property to query operations.static final ProductValuationField<String>Use with available fluent helpers to apply the ValuationArea field to query operations.static final ProductValuationField<String>Use with available fluent helpers to apply the ValuationCategory field to query operations.static final ProductValuationField<String>Use with available fluent helpers to apply the ValuationClass field to query operations.static final ProductValuationField<String>Use with available fluent helpers to apply the ValuationClassSalesOrderStock field to query operations.static final ProductValuationField<String>Use with available fluent helpers to apply the ValuationType field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionProductValuation(String product, String valuationArea, String valuationType, String valuationClass, String priceDeterminationControl, BigDecimal standardPrice, BigDecimal priceUnitQty, String inventoryValuationProcedure, Boolean isMarkedForDeletion, BigDecimal movingAveragePrice, String valuationCategory, String productUsageType, String productOriginType, Boolean isProducedInhouse, String prodCostEstNumber, String projectStockValuationClass, String valuationClassSalesOrderStock, BigDecimal plannedPrice1InCoCodeCrcy, BigDecimal plannedPrice2InCoCodeCrcy, BigDecimal plannedPrice3InCoCodeCrcy, LocalDateTime futurePlndPrice1ValdtyDate, LocalDateTime futurePlndPrice2ValdtyDate, LocalDateTime futurePlndPrice3ValdtyDate, BigDecimal taxBasedPricesPriceUnitQty, LocalDateTime priceLastChangeDate, BigDecimal plannedPrice, BigDecimal prevInvtryPriceInCoCodeCrcy, String currency, String baseUnit, List<ProductMLAccount> toMLAccount, List<ProductMLPrices> toMLPrices, ProductValuationAccount toValuationAccount, ProductValuationCosting toValuationCosting) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMLAccount(ProductMLAccount... entity) Adds elements to the list of associated ProductMLAccount entities.voidaddMLPrices(ProductMLPrices... entity) Adds elements to the list of associated ProductMLPrices entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the ProductMLAccount entities (one to many) associated with this entity.Fetches the ProductMLPrices entities (one to many) associated with this entity.Fetches the ProductValuationAccount entity (one to one) associated with this entity.Fetches the ProductValuationCosting entity (one to one) associated with this entity.static <T,DomainT>
ProductValuationField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ProductValuationField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 5protected Stringprotected StringConstraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 1Constraints: noneConstraints: nonegetKey()io.vavr.control.Option<List<ProductMLAccount>>Retrieval of associated ProductMLAccount entities (one to many).Retrieval of associated ProductMLAccount entities (one to many).io.vavr.control.Option<List<ProductMLPrices>>Retrieval of associated ProductMLPrices entities (one to many).Retrieval of associated ProductMLPrices entities (one to many).Constraints: Not nullable, Precision: 12, Scale: 3Constraints: Not nullable, Precision: 12, Scale: 3Constraints: Not nullable, Precision: 12, Scale: 3Constraints: Not nullable, Precision: 12, Scale: 3Constraints: Not nullable, Precision: 12, Scale: 3Constraints: Not nullable, Precision: 12, Scale: 3Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 5, Scale: 0Constraints: Not nullable, Maximum length: 12(Key Field) Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Precision: 12, Scale: 3Constraints: Not nullable, Precision: 5, Scale: 0getType()io.vavr.control.Option<ProductValuationAccount>Retrieval of associated ProductValuationAccount entity (one to one).Retrieval of associated ProductValuationAccount entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 4io.vavr.control.Option<ProductValuationCosting>Retrieval of associated ProductValuationCosting entity (one to one).Retrieval of associated ProductValuationCosting entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 10inthashCode()voidsetBaseUnit(String baseUnit) Constraints: Not nullable, Maximum length: 3voidsetCurrency(String currency) Constraints: Not nullable, Maximum length: 5voidsetFuturePlndPrice1ValdtyDate(LocalDateTime futurePlndPrice1ValdtyDate) Constraints: Not nullable, Precision: 0voidsetFuturePlndPrice2ValdtyDate(LocalDateTime futurePlndPrice2ValdtyDate) Constraints: Not nullable, Precision: 0voidsetFuturePlndPrice3ValdtyDate(LocalDateTime futurePlndPrice3ValdtyDate) Constraints: Not nullable, Precision: 0voidsetInventoryValuationProcedure(String inventoryValuationProcedure) Constraints: Not nullable, Maximum length: 1voidsetIsMarkedForDeletion(Boolean isMarkedForDeletion) Constraints: nonevoidsetIsProducedInhouse(Boolean isProducedInhouse) Constraints: nonevoidsetMLAccount(List<ProductMLAccount> value) Overwrites the list of associated ProductMLAccount entities for the loaded navigation property to_MLAccount.voidsetMLPrices(List<ProductMLPrices> value) Overwrites the list of associated ProductMLPrices entities for the loaded navigation property to_MLPrices.voidsetMovingAveragePrice(BigDecimal movingAveragePrice) Constraints: Not nullable, Precision: 12, Scale: 3voidsetPlannedPrice(BigDecimal plannedPrice) Constraints: Not nullable, Precision: 12, Scale: 3voidsetPlannedPrice1InCoCodeCrcy(BigDecimal plannedPrice1InCoCodeCrcy) Constraints: Not nullable, Precision: 12, Scale: 3voidsetPlannedPrice2InCoCodeCrcy(BigDecimal plannedPrice2InCoCodeCrcy) Constraints: Not nullable, Precision: 12, Scale: 3voidsetPlannedPrice3InCoCodeCrcy(BigDecimal plannedPrice3InCoCodeCrcy) Constraints: Not nullable, Precision: 12, Scale: 3voidsetPrevInvtryPriceInCoCodeCrcy(BigDecimal prevInvtryPriceInCoCodeCrcy) Constraints: Not nullable, Precision: 12, Scale: 3voidsetPriceDeterminationControl(String priceDeterminationControl) Constraints: Not nullable, Maximum length: 1voidsetPriceLastChangeDate(LocalDateTime priceLastChangeDate) Constraints: Not nullable, Precision: 0voidsetPriceUnitQty(BigDecimal priceUnitQty) Constraints: Not nullable, Precision: 5, Scale: 0voidsetProdCostEstNumber(String prodCostEstNumber) Constraints: Not nullable, Maximum length: 12voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetProductOriginType(String productOriginType) Constraints: Not nullable, Maximum length: 1voidsetProductUsageType(String productUsageType) Constraints: Not nullable, Maximum length: 1voidsetProjectStockValuationClass(String projectStockValuationClass) Constraints: Not nullable, Maximum length: 4protected voidsetServicePathForFetch(String servicePathForFetch) voidsetStandardPrice(BigDecimal standardPrice) Constraints: Not nullable, Precision: 12, Scale: 3voidsetTaxBasedPricesPriceUnitQty(BigDecimal taxBasedPricesPriceUnitQty) Constraints: Not nullable, Precision: 5, Scale: 0voidOverwrites the associated ProductValuationAccount entity for the loaded navigation property to_ValuationAccount.voidsetValuationArea(String valuationArea) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetValuationCategory(String valuationCategory) Constraints: Not nullable, Maximum length: 1voidsetValuationClass(String valuationClass) Constraints: Not nullable, Maximum length: 4voidsetValuationClassSalesOrderStock(String valuationClassSalesOrderStock) Constraints: Not nullable, Maximum length: 4voidOverwrites the associated ProductValuationCosting entity for the loaded navigation property to_ValuationCosting.voidsetValuationType(String valuationType) (Key Field) Constraints: Not nullable, Maximum length: 10toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of ProductValuation. -
PRODUCT
Use with available fluent helpers to apply the Product field to query operations. -
VALUATION_AREA
Use with available fluent helpers to apply the ValuationArea field to query operations. -
VALUATION_TYPE
Use with available fluent helpers to apply the ValuationType field to query operations. -
VALUATION_CLASS
Use with available fluent helpers to apply the ValuationClass field to query operations. -
PRICE_DETERMINATION_CONTROL
Use with available fluent helpers to apply the PriceDeterminationControl field to query operations. -
STANDARD_PRICE
Use with available fluent helpers to apply the StandardPrice field to query operations. -
PRICE_UNIT_QTY
Use with available fluent helpers to apply the PriceUnitQty field to query operations. -
INVENTORY_VALUATION_PROCEDURE
Use with available fluent helpers to apply the InventoryValuationProcedure field to query operations. -
IS_MARKED_FOR_DELETION
Use with available fluent helpers to apply the IsMarkedForDeletion field to query operations. -
MOVING_AVERAGE_PRICE
Use with available fluent helpers to apply the MovingAveragePrice field to query operations. -
VALUATION_CATEGORY
Use with available fluent helpers to apply the ValuationCategory field to query operations. -
PRODUCT_USAGE_TYPE
Use with available fluent helpers to apply the ProductUsageType field to query operations. -
PRODUCT_ORIGIN_TYPE
Use with available fluent helpers to apply the ProductOriginType field to query operations. -
IS_PRODUCED_INHOUSE
Use with available fluent helpers to apply the IsProducedInhouse field to query operations. -
PROD_COST_EST_NUMBER
Use with available fluent helpers to apply the ProdCostEstNumber field to query operations. -
PROJECT_STOCK_VALUATION_CLASS
Use with available fluent helpers to apply the ProjectStockValuationClass field to query operations. -
VALUATION_CLASS_SALES_ORDER_STOCK
Use with available fluent helpers to apply the ValuationClassSalesOrderStock field to query operations. -
PLANNED_PRICE1_IN_CO_CODE_CRCY
Use with available fluent helpers to apply the PlannedPrice1InCoCodeCrcy field to query operations. -
PLANNED_PRICE2_IN_CO_CODE_CRCY
Use with available fluent helpers to apply the PlannedPrice2InCoCodeCrcy field to query operations. -
PLANNED_PRICE3_IN_CO_CODE_CRCY
Use with available fluent helpers to apply the PlannedPrice3InCoCodeCrcy field to query operations. -
FUTURE_PLND_PRICE1_VALDTY_DATE
Use with available fluent helpers to apply the FuturePlndPrice1ValdtyDate field to query operations. -
FUTURE_PLND_PRICE2_VALDTY_DATE
Use with available fluent helpers to apply the FuturePlndPrice2ValdtyDate field to query operations. -
FUTURE_PLND_PRICE3_VALDTY_DATE
Use with available fluent helpers to apply the FuturePlndPrice3ValdtyDate field to query operations. -
TAX_BASED_PRICES_PRICE_UNIT_QTY
Use with available fluent helpers to apply the TaxBasedPricesPriceUnitQty field to query operations. -
PRICE_LAST_CHANGE_DATE
Use with available fluent helpers to apply the PriceLastChangeDate field to query operations. -
PLANNED_PRICE
Use with available fluent helpers to apply the PlannedPrice field to query operations. -
PREV_INVTRY_PRICE_IN_CO_CODE_CRCY
Use with available fluent helpers to apply the PrevInvtryPriceInCoCodeCrcy field to query operations. -
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations. -
BASE_UNIT
Use with available fluent helpers to apply the BaseUnit field to query operations. -
TO_ML_ACCOUNT
Use with available fluent helpers to apply the to_MLAccount navigation property to query operations. -
TO_ML_PRICES
Use with available fluent helpers to apply the to_MLPrices navigation property to query operations. -
TO_VALUATION_ACCOUNT
Use with available fluent helpers to apply the to_ValuationAccount navigation property to query operations. -
TO_VALUATION_COSTING
Use with available fluent helpers to apply the to_ValuationCosting navigation property to query operations.
-
-
Constructor Details
-
ProductValuation
public ProductValuation() -
ProductValuation
public ProductValuation(@Nullable String product, @Nullable String valuationArea, @Nullable String valuationType, @Nullable String valuationClass, @Nullable String priceDeterminationControl, @Nullable BigDecimal standardPrice, @Nullable BigDecimal priceUnitQty, @Nullable String inventoryValuationProcedure, @Nullable Boolean isMarkedForDeletion, @Nullable BigDecimal movingAveragePrice, @Nullable String valuationCategory, @Nullable String productUsageType, @Nullable String productOriginType, @Nullable Boolean isProducedInhouse, @Nullable String prodCostEstNumber, @Nullable String projectStockValuationClass, @Nullable String valuationClassSalesOrderStock, @Nullable BigDecimal plannedPrice1InCoCodeCrcy, @Nullable BigDecimal plannedPrice2InCoCodeCrcy, @Nullable BigDecimal plannedPrice3InCoCodeCrcy, @Nullable LocalDateTime futurePlndPrice1ValdtyDate, @Nullable LocalDateTime futurePlndPrice2ValdtyDate, @Nullable LocalDateTime futurePlndPrice3ValdtyDate, @Nullable BigDecimal taxBasedPricesPriceUnitQty, @Nullable LocalDateTime priceLastChangeDate, @Nullable BigDecimal plannedPrice, @Nullable BigDecimal prevInvtryPriceInCoCodeCrcy, @Nullable String currency, @Nullable String baseUnit, List<ProductMLAccount> toMLAccount, List<ProductMLPrices> toMLPrices, @Nullable ProductValuationAccount toValuationAccount, @Nullable ProductValuationCosting toValuationCosting)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductValuation>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Product
- Parameters:
product- Material Number
-
setValuationArea
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ValuationArea
- Parameters:
valuationArea- Valuation Area
-
setValuationType
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ValuationType
- Parameters:
valuationType- Valuation Type
-
setValuationClass
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ValuationClass
- Parameters:
valuationClass- Valuation Class
-
setPriceDeterminationControl
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PriceDeterminationControl
- Parameters:
priceDeterminationControl- Material Price Determination: Control
-
setStandardPrice
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: StandardPrice
- Parameters:
standardPrice- Standard price
-
setPriceUnitQty
Constraints: Not nullable, Precision: 5, Scale: 0Original property name from the Odata EDM: PriceUnitQty
- Parameters:
priceUnitQty- Price unit
-
setInventoryValuationProcedure
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: InventoryValuationProcedure
- Parameters:
inventoryValuationProcedure- Price Control
-
setIsMarkedForDeletion
Constraints: noneOriginal property name from the Odata EDM: IsMarkedForDeletion
- Parameters:
isMarkedForDeletion- Deletion flag for all material data of a valuation type
-
setMovingAveragePrice
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: MovingAveragePrice
- Parameters:
movingAveragePrice- Moving Average Price/Periodic Unit Price
-
setValuationCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ValuationCategory
- Parameters:
valuationCategory- Valuation Category
-
setProductUsageType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProductUsageType
- Parameters:
productUsageType- Usage of the Product
-
setProductOriginType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProductOriginType
- Parameters:
productOriginType- Origin of the Product
-
setIsProducedInhouse
Constraints: noneOriginal property name from the Odata EDM: IsProducedInhouse
- Parameters:
isProducedInhouse- Produced in-house
-
setProdCostEstNumber
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ProdCostEstNumber
- Parameters:
prodCostEstNumber- Cost Estimate Number - Product Costing
-
setProjectStockValuationClass
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProjectStockValuationClass
- Parameters:
projectStockValuationClass- Valuation Class for Project Stock
-
setValuationClassSalesOrderStock
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ValuationClassSalesOrderStock
- Parameters:
valuationClassSalesOrderStock- Valuation Class for Sales Order Stock
-
setPlannedPrice1InCoCodeCrcy
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: PlannedPrice1InCoCodeCrcy
- Parameters:
plannedPrice1InCoCodeCrcy- Future Planned Price 1
-
setPlannedPrice2InCoCodeCrcy
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: PlannedPrice2InCoCodeCrcy
- Parameters:
plannedPrice2InCoCodeCrcy- Future Planned Price 2
-
setPlannedPrice3InCoCodeCrcy
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: PlannedPrice3InCoCodeCrcy
- Parameters:
plannedPrice3InCoCodeCrcy- Future Planned Price 3
-
setFuturePlndPrice1ValdtyDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: FuturePlndPrice1ValdtyDate
- Parameters:
futurePlndPrice1ValdtyDate- Date from Which Future Planned Price 1 Is Valid
-
setFuturePlndPrice2ValdtyDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: FuturePlndPrice2ValdtyDate
- Parameters:
futurePlndPrice2ValdtyDate- Date from Which Future Planned Price 2 Is Valid
-
setFuturePlndPrice3ValdtyDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: FuturePlndPrice3ValdtyDate
- Parameters:
futurePlndPrice3ValdtyDate- Date from Which Future Planned Price 3 Is Valid
-
setTaxBasedPricesPriceUnitQty
Constraints: Not nullable, Precision: 5, Scale: 0Original property name from the Odata EDM: TaxBasedPricesPriceUnitQty
- Parameters:
taxBasedPricesPriceUnitQty- Price unit for valuation prices based on tax/commercial law
-
setPriceLastChangeDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: PriceLastChangeDate
- Parameters:
priceLastChangeDate- Date of Last Price Change
-
setPlannedPrice
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: PlannedPrice
- Parameters:
plannedPrice- Future Planned Price
-
setPrevInvtryPriceInCoCodeCrcy
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: PrevInvtryPriceInCoCodeCrcy
- Parameters:
prevInvtryPriceInCoCodeCrcy- Previous Price
-
setCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: Currency
- Parameters:
currency- Currency Key
-
setBaseUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnit
- Parameters:
baseUnit- Base Unit of Measure
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductValuation>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductValuation>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductValuation>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductValuation>
-
field
@Nonnull public static <T> ProductValuationField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
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.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> ProductValuationField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<ProductValuation>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ProductValuation>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ProductValuation>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductValuation>
-
fetchMLAccount
Fetches the ProductMLAccount entities (one to many) associated with this entity. This corresponds to the OData navigation property to_MLAccount.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated ProductMLAccount entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getMLAccountOrFetch
Retrieval of associated ProductMLAccount entities (one to many). This corresponds to the OData navigation property to_MLAccount.If the navigation property to_MLAccount of a queried ProductValuation is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated ProductMLAccount entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getMLAccountIfPresent
Retrieval of associated ProductMLAccount entities (one to many). This corresponds to the OData navigation property to_MLAccount.If the navigation property for an entity ProductValuation has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_MLAccount is already loaded, the result will contain
the ProductMLAccount entities. If not, an
Optionwith result stateemptyis returned.
-
setMLAccount
Overwrites the list of associated ProductMLAccount entities for the loaded navigation property to_MLAccount.If the navigation property to_MLAccount of a queried ProductValuation is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of ProductMLAccount entities.
-
addMLAccount
Adds elements to the list of associated ProductMLAccount entities. This corresponds to the OData navigation property to_MLAccount.If the navigation property to_MLAccount of a queried ProductValuation is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of ProductMLAccount entities.
-
fetchMLPrices
Fetches the ProductMLPrices entities (one to many) associated with this entity. This corresponds to the OData navigation property to_MLPrices.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated ProductMLPrices entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getMLPricesOrFetch
Retrieval of associated ProductMLPrices entities (one to many). This corresponds to the OData navigation property to_MLPrices.If the navigation property to_MLPrices of a queried ProductValuation is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated ProductMLPrices entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getMLPricesIfPresent
Retrieval of associated ProductMLPrices entities (one to many). This corresponds to the OData navigation property to_MLPrices.If the navigation property for an entity ProductValuation has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_MLPrices is already loaded, the result will contain
the ProductMLPrices entities. If not, an
Optionwith result stateemptyis returned.
-
setMLPrices
Overwrites the list of associated ProductMLPrices entities for the loaded navigation property to_MLPrices.If the navigation property to_MLPrices of a queried ProductValuation is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of ProductMLPrices entities.
-
addMLPrices
Adds elements to the list of associated ProductMLPrices entities. This corresponds to the OData navigation property to_MLPrices.If the navigation property to_MLPrices of a queried ProductValuation is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of ProductMLPrices entities.
-
fetchValuationAccount
Fetches the ProductValuationAccount entity (one to one) associated with this entity. This corresponds to the OData navigation property to_ValuationAccount.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated ProductValuationAccount entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getValuationAccountOrFetch
Retrieval of associated ProductValuationAccount entity (one to one). This corresponds to the OData navigation property to_ValuationAccount.If the navigation property to_ValuationAccount of a queried ProductValuation is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated ProductValuationAccount entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getValuationAccountIfPresent
Retrieval of associated ProductValuationAccount entity (one to one). This corresponds to the OData navigation property to_ValuationAccount.If the navigation property for an entity ProductValuation has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_ValuationAccount is already loaded, the result will
contain the ProductValuationAccount entity. If not, an
Optionwith result stateemptyis returned.
-
setValuationAccount
Overwrites the associated ProductValuationAccount entity for the loaded navigation property to_ValuationAccount.- Parameters:
value- New ProductValuationAccount entity.
-
fetchValuationCosting
Fetches the ProductValuationCosting entity (one to one) associated with this entity. This corresponds to the OData navigation property to_ValuationCosting.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated ProductValuationCosting entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getValuationCostingOrFetch
Retrieval of associated ProductValuationCosting entity (one to one). This corresponds to the OData navigation property to_ValuationCosting.If the navigation property to_ValuationCosting of a queried ProductValuation is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated ProductValuationCosting entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getValuationCostingIfPresent
Retrieval of associated ProductValuationCosting entity (one to one). This corresponds to the OData navigation property to_ValuationCosting.If the navigation property for an entity ProductValuation has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_ValuationCosting is already loaded, the result will
contain the ProductValuationCosting entity. If not, an
Optionwith result stateemptyis returned.
-
setValuationCosting
Overwrites the associated ProductValuationCosting entity for the loaded navigation property to_ValuationCosting.- Parameters:
value- New ProductValuationCosting entity.
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Product
- Returns:
- Material Number
-
getValuationArea
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ValuationArea
- Returns:
- Valuation Area
-
getValuationType
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ValuationType
- Returns:
- Valuation Type
-
getValuationClass
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ValuationClass
- Returns:
- Valuation Class
-
getPriceDeterminationControl
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PriceDeterminationControl
- Returns:
- Material Price Determination: Control
-
getStandardPrice
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: StandardPrice
- Returns:
- Standard price
-
getPriceUnitQty
Constraints: Not nullable, Precision: 5, Scale: 0Original property name from the Odata EDM: PriceUnitQty
- Returns:
- Price unit
-
getInventoryValuationProcedure
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: InventoryValuationProcedure
- Returns:
- Price Control
-
getIsMarkedForDeletion
Constraints: noneOriginal property name from the Odata EDM: IsMarkedForDeletion
- Returns:
- Deletion flag for all material data of a valuation type
-
getMovingAveragePrice
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: MovingAveragePrice
- Returns:
- Moving Average Price/Periodic Unit Price
-
getValuationCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ValuationCategory
- Returns:
- Valuation Category
-
getProductUsageType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProductUsageType
- Returns:
- Usage of the Product
-
getProductOriginType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProductOriginType
- Returns:
- Origin of the Product
-
getIsProducedInhouse
Constraints: noneOriginal property name from the Odata EDM: IsProducedInhouse
- Returns:
- Produced in-house
-
getProdCostEstNumber
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ProdCostEstNumber
- Returns:
- Cost Estimate Number - Product Costing
-
getProjectStockValuationClass
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProjectStockValuationClass
- Returns:
- Valuation Class for Project Stock
-
getValuationClassSalesOrderStock
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ValuationClassSalesOrderStock
- Returns:
- Valuation Class for Sales Order Stock
-
getPlannedPrice1InCoCodeCrcy
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: PlannedPrice1InCoCodeCrcy
- Returns:
- Future Planned Price 1
-
getPlannedPrice2InCoCodeCrcy
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: PlannedPrice2InCoCodeCrcy
- Returns:
- Future Planned Price 2
-
getPlannedPrice3InCoCodeCrcy
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: PlannedPrice3InCoCodeCrcy
- Returns:
- Future Planned Price 3
-
getFuturePlndPrice1ValdtyDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: FuturePlndPrice1ValdtyDate
- Returns:
- Date from Which Future Planned Price 1 Is Valid
-
getFuturePlndPrice2ValdtyDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: FuturePlndPrice2ValdtyDate
- Returns:
- Date from Which Future Planned Price 2 Is Valid
-
getFuturePlndPrice3ValdtyDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: FuturePlndPrice3ValdtyDate
- Returns:
- Date from Which Future Planned Price 3 Is Valid
-
getTaxBasedPricesPriceUnitQty
Constraints: Not nullable, Precision: 5, Scale: 0Original property name from the Odata EDM: TaxBasedPricesPriceUnitQty
- Returns:
- Price unit for valuation prices based on tax/commercial law
-
getPriceLastChangeDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: PriceLastChangeDate
- Returns:
- Date of Last Price Change
-
getPlannedPrice
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: PlannedPrice
- Returns:
- Future Planned Price
-
getPrevInvtryPriceInCoCodeCrcy
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: PrevInvtryPriceInCoCodeCrcy
- Returns:
- Previous Price
-
getCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: Currency
- Returns:
- Currency Key
-
getBaseUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnit
- Returns:
- Base Unit of Measure
-
toString
- Overrides:
toStringin classVdmObject<ProductValuation>
-
equals
- Overrides:
equalsin classVdmEntity<ProductValuation>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductValuation>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductValuation>
-