java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<ProductValuation>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.productmaster.ProductValuation

public class ProductValuation extends VdmEntity<ProductValuation>
Valuation Area Data

Original entity name from the Odata EDM: A_ProductValuationType

  • Field Details

    • ALL_FIELDS

      public static final ProductValuationSelectable ALL_FIELDS
      Selector for all available fields of ProductValuation.
    • PRODUCT

      public static final ProductValuationField<String> PRODUCT
      Use with available fluent helpers to apply the Product field to query operations.
    • VALUATION_AREA

      public static final ProductValuationField<String> VALUATION_AREA
      Use with available fluent helpers to apply the ValuationArea field to query operations.
    • VALUATION_TYPE

      public static final ProductValuationField<String> VALUATION_TYPE
      Use with available fluent helpers to apply the ValuationType field to query operations.
    • VALUATION_CLASS

      public static final ProductValuationField<String> VALUATION_CLASS
      Use with available fluent helpers to apply the ValuationClass field to query operations.
    • PRICE_DETERMINATION_CONTROL

      public static final ProductValuationField<String> PRICE_DETERMINATION_CONTROL
      Use with available fluent helpers to apply the PriceDeterminationControl field to query operations.
    • STANDARD_PRICE

      public static final ProductValuationField<BigDecimal> STANDARD_PRICE
      Use with available fluent helpers to apply the StandardPrice field to query operations.
    • PRICE_UNIT_QTY

      public static final ProductValuationField<BigDecimal> PRICE_UNIT_QTY
      Use with available fluent helpers to apply the PriceUnitQty field to query operations.
    • INVENTORY_VALUATION_PROCEDURE

      public static final ProductValuationField<String> INVENTORY_VALUATION_PROCEDURE
      Use with available fluent helpers to apply the InventoryValuationProcedure field to query operations.
    • IS_MARKED_FOR_DELETION

      public static final ProductValuationField<Boolean> IS_MARKED_FOR_DELETION
      Use with available fluent helpers to apply the IsMarkedForDeletion field to query operations.
    • MOVING_AVERAGE_PRICE

      public static final ProductValuationField<BigDecimal> MOVING_AVERAGE_PRICE
      Use with available fluent helpers to apply the MovingAveragePrice field to query operations.
    • VALUATION_CATEGORY

      public static final ProductValuationField<String> VALUATION_CATEGORY
      Use with available fluent helpers to apply the ValuationCategory field to query operations.
    • PRODUCT_USAGE_TYPE

      public static final ProductValuationField<String> PRODUCT_USAGE_TYPE
      Use with available fluent helpers to apply the ProductUsageType field to query operations.
    • PRODUCT_ORIGIN_TYPE

      public static final ProductValuationField<String> PRODUCT_ORIGIN_TYPE
      Use with available fluent helpers to apply the ProductOriginType field to query operations.
    • IS_PRODUCED_INHOUSE

      public static final ProductValuationField<Boolean> IS_PRODUCED_INHOUSE
      Use with available fluent helpers to apply the IsProducedInhouse field to query operations.
    • PROD_COST_EST_NUMBER

      public static final ProductValuationField<String> PROD_COST_EST_NUMBER
      Use with available fluent helpers to apply the ProdCostEstNumber field to query operations.
    • PROJECT_STOCK_VALUATION_CLASS

      public static final ProductValuationField<String> PROJECT_STOCK_VALUATION_CLASS
      Use with available fluent helpers to apply the ProjectStockValuationClass field to query operations.
    • VALUATION_CLASS_SALES_ORDER_STOCK

      public static final ProductValuationField<String> VALUATION_CLASS_SALES_ORDER_STOCK
      Use with available fluent helpers to apply the ValuationClassSalesOrderStock field to query operations.
    • PLANNED_PRICE1_IN_CO_CODE_CRCY

      public static final ProductValuationField<BigDecimal> 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

      public static final ProductValuationField<BigDecimal> 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

      public static final ProductValuationField<BigDecimal> PLANNED_PRICE3_IN_CO_CODE_CRCY
      Use with available fluent helpers to apply the PlannedPrice3InCoCodeCrcy field to query operations.
    • FUTURE_PLND_PRICE1_VALDTY_DATE

      public static final ProductValuationField<LocalDateTime> FUTURE_PLND_PRICE1_VALDTY_DATE
      Use with available fluent helpers to apply the FuturePlndPrice1ValdtyDate field to query operations.
    • FUTURE_PLND_PRICE2_VALDTY_DATE

      public static final ProductValuationField<LocalDateTime> FUTURE_PLND_PRICE2_VALDTY_DATE
      Use with available fluent helpers to apply the FuturePlndPrice2ValdtyDate field to query operations.
    • FUTURE_PLND_PRICE3_VALDTY_DATE

      public static final ProductValuationField<LocalDateTime> FUTURE_PLND_PRICE3_VALDTY_DATE
      Use with available fluent helpers to apply the FuturePlndPrice3ValdtyDate field to query operations.
    • TAX_BASED_PRICES_PRICE_UNIT_QTY

      public static final ProductValuationField<BigDecimal> TAX_BASED_PRICES_PRICE_UNIT_QTY
      Use with available fluent helpers to apply the TaxBasedPricesPriceUnitQty field to query operations.
    • PRICE_LAST_CHANGE_DATE

      public static final ProductValuationField<LocalDateTime> PRICE_LAST_CHANGE_DATE
      Use with available fluent helpers to apply the PriceLastChangeDate field to query operations.
    • PLANNED_PRICE

      public static final ProductValuationField<BigDecimal> PLANNED_PRICE
      Use with available fluent helpers to apply the PlannedPrice field to query operations.
    • PREV_INVTRY_PRICE_IN_CO_CODE_CRCY

      public static final ProductValuationField<BigDecimal> PREV_INVTRY_PRICE_IN_CO_CODE_CRCY
      Use with available fluent helpers to apply the PrevInvtryPriceInCoCodeCrcy field to query operations.
    • CURRENCY

      public static final ProductValuationField<String> CURRENCY
      Use with available fluent helpers to apply the Currency field to query operations.
    • BASE_UNIT

      public static final ProductValuationField<String> BASE_UNIT
      Use with available fluent helpers to apply the BaseUnit field to query operations.
    • TO_ML_ACCOUNT

      public static final ProductValuationLink<ProductMLAccount> TO_ML_ACCOUNT
      Use with available fluent helpers to apply the to_MLAccount navigation property to query operations.
    • TO_ML_PRICES

      public static final ProductValuationLink<ProductMLPrices> TO_ML_PRICES
      Use with available fluent helpers to apply the to_MLPrices navigation property to query operations.
    • TO_VALUATION_ACCOUNT

      public static final ProductValuationOneToOneLink<ProductValuationAccount> TO_VALUATION_ACCOUNT
      Use with available fluent helpers to apply the to_ValuationAccount navigation property to query operations.
    • TO_VALUATION_COSTING

      public static final ProductValuationOneToOneLink<ProductValuationCosting> TO_VALUATION_COSTING
      Use with available fluent helpers to apply the to_ValuationCosting navigation property to query operations.
  • Constructor Details

  • Method Details

    • getType

      @Nonnull public Class<ProductValuation> getType()
      Specified by:
      getType in class VdmObject<ProductValuation>
    • setProduct

      public void setProduct(@Nullable String product)
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Product

      Parameters:
      product - Material Number
    • setValuationArea

      public void setValuationArea(@Nullable String valuationArea)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ValuationArea

      Parameters:
      valuationArea - Valuation Area
    • setValuationType

      public void setValuationType(@Nullable String valuationType)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ValuationType

      Parameters:
      valuationType - Valuation Type
    • setValuationClass

      public void setValuationClass(@Nullable String valuationClass)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ValuationClass

      Parameters:
      valuationClass - Valuation Class
    • setPriceDeterminationControl

      public void setPriceDeterminationControl(@Nullable String priceDeterminationControl)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PriceDeterminationControl

      Parameters:
      priceDeterminationControl - Material Price Determination: Control
    • setStandardPrice

      public void setStandardPrice(@Nullable BigDecimal standardPrice)
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: StandardPrice

      Parameters:
      standardPrice - Standard price
    • setPriceUnitQty

      public void setPriceUnitQty(@Nullable BigDecimal priceUnitQty)
      Constraints: Not nullable, Precision: 5, Scale: 0

      Original property name from the Odata EDM: PriceUnitQty

      Parameters:
      priceUnitQty - Price unit
    • setInventoryValuationProcedure

      public void setInventoryValuationProcedure(@Nullable String inventoryValuationProcedure)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: InventoryValuationProcedure

      Parameters:
      inventoryValuationProcedure - Price Control
    • setIsMarkedForDeletion

      public void setIsMarkedForDeletion(@Nullable Boolean isMarkedForDeletion)
      Constraints: none

      Original property name from the Odata EDM: IsMarkedForDeletion

      Parameters:
      isMarkedForDeletion - Deletion flag for all material data of a valuation type
    • setMovingAveragePrice

      public void setMovingAveragePrice(@Nullable BigDecimal movingAveragePrice)
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: MovingAveragePrice

      Parameters:
      movingAveragePrice - Moving Average Price/Periodic Unit Price
    • setValuationCategory

      public void setValuationCategory(@Nullable String valuationCategory)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ValuationCategory

      Parameters:
      valuationCategory - Valuation Category
    • setProductUsageType

      public void setProductUsageType(@Nullable String productUsageType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ProductUsageType

      Parameters:
      productUsageType - Usage of the Product
    • setProductOriginType

      public void setProductOriginType(@Nullable String productOriginType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ProductOriginType

      Parameters:
      productOriginType - Origin of the Product
    • setIsProducedInhouse

      public void setIsProducedInhouse(@Nullable Boolean isProducedInhouse)
      Constraints: none

      Original property name from the Odata EDM: IsProducedInhouse

      Parameters:
      isProducedInhouse - Produced in-house
    • setProdCostEstNumber

      public void setProdCostEstNumber(@Nullable String prodCostEstNumber)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ProdCostEstNumber

      Parameters:
      prodCostEstNumber - Cost Estimate Number - Product Costing
    • setProjectStockValuationClass

      public void setProjectStockValuationClass(@Nullable String projectStockValuationClass)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ProjectStockValuationClass

      Parameters:
      projectStockValuationClass - Valuation Class for Project Stock
    • setValuationClassSalesOrderStock

      public void setValuationClassSalesOrderStock(@Nullable String valuationClassSalesOrderStock)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ValuationClassSalesOrderStock

      Parameters:
      valuationClassSalesOrderStock - Valuation Class for Sales Order Stock
    • setPlannedPrice1InCoCodeCrcy

      public void setPlannedPrice1InCoCodeCrcy(@Nullable BigDecimal plannedPrice1InCoCodeCrcy)
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: PlannedPrice1InCoCodeCrcy

      Parameters:
      plannedPrice1InCoCodeCrcy - Future Planned Price 1
    • setPlannedPrice2InCoCodeCrcy

      public void setPlannedPrice2InCoCodeCrcy(@Nullable BigDecimal plannedPrice2InCoCodeCrcy)
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: PlannedPrice2InCoCodeCrcy

      Parameters:
      plannedPrice2InCoCodeCrcy - Future Planned Price 2
    • setPlannedPrice3InCoCodeCrcy

      public void setPlannedPrice3InCoCodeCrcy(@Nullable BigDecimal plannedPrice3InCoCodeCrcy)
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: PlannedPrice3InCoCodeCrcy

      Parameters:
      plannedPrice3InCoCodeCrcy - Future Planned Price 3
    • setFuturePlndPrice1ValdtyDate

      public void setFuturePlndPrice1ValdtyDate(@Nullable LocalDateTime futurePlndPrice1ValdtyDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: FuturePlndPrice1ValdtyDate

      Parameters:
      futurePlndPrice1ValdtyDate - Date from Which Future Planned Price 1 Is Valid
    • setFuturePlndPrice2ValdtyDate

      public void setFuturePlndPrice2ValdtyDate(@Nullable LocalDateTime futurePlndPrice2ValdtyDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: FuturePlndPrice2ValdtyDate

      Parameters:
      futurePlndPrice2ValdtyDate - Date from Which Future Planned Price 2 Is Valid
    • setFuturePlndPrice3ValdtyDate

      public void setFuturePlndPrice3ValdtyDate(@Nullable LocalDateTime futurePlndPrice3ValdtyDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: FuturePlndPrice3ValdtyDate

      Parameters:
      futurePlndPrice3ValdtyDate - Date from Which Future Planned Price 3 Is Valid
    • setTaxBasedPricesPriceUnitQty

      public void setTaxBasedPricesPriceUnitQty(@Nullable BigDecimal taxBasedPricesPriceUnitQty)
      Constraints: Not nullable, Precision: 5, Scale: 0

      Original property name from the Odata EDM: TaxBasedPricesPriceUnitQty

      Parameters:
      taxBasedPricesPriceUnitQty - Price unit for valuation prices based on tax/commercial law
    • setPriceLastChangeDate

      public void setPriceLastChangeDate(@Nullable LocalDateTime priceLastChangeDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: PriceLastChangeDate

      Parameters:
      priceLastChangeDate - Date of Last Price Change
    • setPlannedPrice

      public void setPlannedPrice(@Nullable BigDecimal plannedPrice)
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: PlannedPrice

      Parameters:
      plannedPrice - Future Planned Price
    • setPrevInvtryPriceInCoCodeCrcy

      public void setPrevInvtryPriceInCoCodeCrcy(@Nullable BigDecimal prevInvtryPriceInCoCodeCrcy)
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: PrevInvtryPriceInCoCodeCrcy

      Parameters:
      prevInvtryPriceInCoCodeCrcy - Previous Price
    • setCurrency

      public void setCurrency(@Nullable String currency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: Currency

      Parameters:
      currency - Currency Key
    • setBaseUnit

      public void setBaseUnit(@Nullable String baseUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BaseUnit

      Parameters:
      baseUnit - Base Unit of Measure
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<ProductValuation>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<ProductValuation>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<ProductValuation>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<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 field
      fieldName - 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

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<ProductValuation>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<ProductValuation>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<ProductValuation>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<ProductValuation>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<ProductValuation>
    • fetchMLAccount

      @Nonnull public List<ProductMLAccount> 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

      @Nonnull public List<ProductMLAccount> 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

      @Nonnull public io.vavr.control.Option<List<ProductMLAccount>> 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 Option result state will be empty.

      Returns:
      If the information for navigation property to_MLAccount is already loaded, the result will contain the ProductMLAccount entities. If not, an Option with result state empty is returned.
    • setMLAccount

      public void setMLAccount(@Nonnull List<ProductMLAccount> value)
      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

      public void addMLAccount(ProductMLAccount... entity)
      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

      @Nonnull public List<ProductMLPrices> 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

      @Nonnull public List<ProductMLPrices> 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

      @Nonnull public io.vavr.control.Option<List<ProductMLPrices>> 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 Option result state will be empty.

      Returns:
      If the information for navigation property to_MLPrices is already loaded, the result will contain the ProductMLPrices entities. If not, an Option with result state empty is returned.
    • setMLPrices

      public void setMLPrices(@Nonnull List<ProductMLPrices> value)
      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

      public void addMLPrices(ProductMLPrices... entity)
      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

      @Nullable public ProductValuationAccount 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 null if 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

      @Nullable public ProductValuationAccount 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

      @Nonnull public io.vavr.control.Option<ProductValuationAccount> 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 Option result state will be empty.

      Returns:
      If the information for navigation property to_ValuationAccount is already loaded, the result will contain the ProductValuationAccount entity. If not, an Option with result state empty is returned.
    • setValuationAccount

      public void setValuationAccount(ProductValuationAccount value)
      Overwrites the associated ProductValuationAccount entity for the loaded navigation property to_ValuationAccount.
      Parameters:
      value - New ProductValuationAccount entity.
    • fetchValuationCosting

      @Nullable public ProductValuationCosting 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 null if 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

      @Nullable public ProductValuationCosting 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

      @Nonnull public io.vavr.control.Option<ProductValuationCosting> 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 Option result state will be empty.

      Returns:
      If the information for navigation property to_ValuationCosting is already loaded, the result will contain the ProductValuationCosting entity. If not, an Option with result state empty is returned.
    • setValuationCosting

      public void setValuationCosting(ProductValuationCosting value)
      Overwrites the associated ProductValuationCosting entity for the loaded navigation property to_ValuationCosting.
      Parameters:
      value - New ProductValuationCosting entity.
    • builder

      @Nonnull public static ProductValuation.ProductValuationBuilder builder()
    • getProduct

      @Nullable public String getProduct()
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Product

      Returns:
      Material Number
    • getValuationArea

      @Nullable public String getValuationArea()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ValuationArea

      Returns:
      Valuation Area
    • getValuationType

      @Nullable public String getValuationType()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ValuationType

      Returns:
      Valuation Type
    • getValuationClass

      @Nullable public String getValuationClass()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ValuationClass

      Returns:
      Valuation Class
    • getPriceDeterminationControl

      @Nullable public String getPriceDeterminationControl()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PriceDeterminationControl

      Returns:
      Material Price Determination: Control
    • getStandardPrice

      @Nullable public BigDecimal getStandardPrice()
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: StandardPrice

      Returns:
      Standard price
    • getPriceUnitQty

      @Nullable public BigDecimal getPriceUnitQty()
      Constraints: Not nullable, Precision: 5, Scale: 0

      Original property name from the Odata EDM: PriceUnitQty

      Returns:
      Price unit
    • getInventoryValuationProcedure

      @Nullable public String getInventoryValuationProcedure()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: InventoryValuationProcedure

      Returns:
      Price Control
    • getIsMarkedForDeletion

      @Nullable public Boolean getIsMarkedForDeletion()
      Constraints: none

      Original property name from the Odata EDM: IsMarkedForDeletion

      Returns:
      Deletion flag for all material data of a valuation type
    • getMovingAveragePrice

      @Nullable public BigDecimal getMovingAveragePrice()
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: MovingAveragePrice

      Returns:
      Moving Average Price/Periodic Unit Price
    • getValuationCategory

      @Nullable public String getValuationCategory()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ValuationCategory

      Returns:
      Valuation Category
    • getProductUsageType

      @Nullable public String getProductUsageType()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ProductUsageType

      Returns:
      Usage of the Product
    • getProductOriginType

      @Nullable public String getProductOriginType()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ProductOriginType

      Returns:
      Origin of the Product
    • getIsProducedInhouse

      @Nullable public Boolean getIsProducedInhouse()
      Constraints: none

      Original property name from the Odata EDM: IsProducedInhouse

      Returns:
      Produced in-house
    • getProdCostEstNumber

      @Nullable public String getProdCostEstNumber()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ProdCostEstNumber

      Returns:
      Cost Estimate Number - Product Costing
    • getProjectStockValuationClass

      @Nullable public String getProjectStockValuationClass()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ProjectStockValuationClass

      Returns:
      Valuation Class for Project Stock
    • getValuationClassSalesOrderStock

      @Nullable public String getValuationClassSalesOrderStock()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ValuationClassSalesOrderStock

      Returns:
      Valuation Class for Sales Order Stock
    • getPlannedPrice1InCoCodeCrcy

      @Nullable public BigDecimal getPlannedPrice1InCoCodeCrcy()
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: PlannedPrice1InCoCodeCrcy

      Returns:
      Future Planned Price 1
    • getPlannedPrice2InCoCodeCrcy

      @Nullable public BigDecimal getPlannedPrice2InCoCodeCrcy()
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: PlannedPrice2InCoCodeCrcy

      Returns:
      Future Planned Price 2
    • getPlannedPrice3InCoCodeCrcy

      @Nullable public BigDecimal getPlannedPrice3InCoCodeCrcy()
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: PlannedPrice3InCoCodeCrcy

      Returns:
      Future Planned Price 3
    • getFuturePlndPrice1ValdtyDate

      @Nullable public LocalDateTime getFuturePlndPrice1ValdtyDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: FuturePlndPrice1ValdtyDate

      Returns:
      Date from Which Future Planned Price 1 Is Valid
    • getFuturePlndPrice2ValdtyDate

      @Nullable public LocalDateTime getFuturePlndPrice2ValdtyDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: FuturePlndPrice2ValdtyDate

      Returns:
      Date from Which Future Planned Price 2 Is Valid
    • getFuturePlndPrice3ValdtyDate

      @Nullable public LocalDateTime getFuturePlndPrice3ValdtyDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: FuturePlndPrice3ValdtyDate

      Returns:
      Date from Which Future Planned Price 3 Is Valid
    • getTaxBasedPricesPriceUnitQty

      @Nullable public BigDecimal getTaxBasedPricesPriceUnitQty()
      Constraints: Not nullable, Precision: 5, Scale: 0

      Original property name from the Odata EDM: TaxBasedPricesPriceUnitQty

      Returns:
      Price unit for valuation prices based on tax/commercial law
    • getPriceLastChangeDate

      @Nullable public LocalDateTime getPriceLastChangeDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: PriceLastChangeDate

      Returns:
      Date of Last Price Change
    • getPlannedPrice

      @Nullable public BigDecimal getPlannedPrice()
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: PlannedPrice

      Returns:
      Future Planned Price
    • getPrevInvtryPriceInCoCodeCrcy

      @Nullable public BigDecimal getPrevInvtryPriceInCoCodeCrcy()
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: PrevInvtryPriceInCoCodeCrcy

      Returns:
      Previous Price
    • getCurrency

      @Nullable public String getCurrency()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: Currency

      Returns:
      Currency Key
    • getBaseUnit

      @Nullable public String getBaseUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BaseUnit

      Returns:
      Base Unit of Measure
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<ProductValuation>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<ProductValuation>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<ProductValuation>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<ProductValuation>