Class ProductValuationAccounting
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProductValuationAccounting_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProductValuationAccounting instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProductValuationAccounting>Selector for all available fields of ProductValuationAccounting.static final SimpleProperty.String<ProductValuationAccounting>static final SimpleProperty.String<ProductValuationAccounting>static final SimpleProperty.NumericDecimal<ProductValuationAccounting>static final SimpleProperty.NumericDecimal<ProductValuationAccounting>static final SimpleProperty.NumericDecimal<ProductValuationAccounting>static final SimpleProperty.String<ProductValuationAccounting>static final SimpleProperty.String<ProductValuationAccounting>static final SimpleProperty.NumericDecimal<ProductValuationAccounting>static final SimpleProperty.Date<ProductValuationAccounting>static final SimpleProperty.Boolean<ProductValuationAccounting>static final SimpleProperty.String<ProductValuationAccounting>static final SimpleProperty.String<ProductValuationAccounting>static final SimpleProperty.NumericDecimal<ProductValuationAccounting>static final SimpleProperty.NumericDecimal<ProductValuationAccounting>static final SimpleProperty.NumericDecimal<ProductValuationAccounting>static final SimpleProperty.NumericDecimal<ProductValuationAccounting>static final NavigationProperty.Single<ProductValuationAccounting,Product> Use with available request builders to apply the _Product navigation property to query operations.Use with available request builders to apply the _ProductValuation navigation property to query operations.static final SimpleProperty.String<ProductValuationAccounting>static final SimpleProperty.String<ProductValuationAccounting>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionProductValuationAccounting(String product, String valuationArea, String valuationType, BigDecimal commercialPrice1InCoCodeCrcy, BigDecimal commercialPrice2InCoCodeCrcy, BigDecimal commercialPrice3InCoCodeCrcy, String devaluationYearCount, BigDecimal futurePrice, LocalDate futurePriceValidityStartDate, String lIFOValuationPoolNumber, BigDecimal taxPricel1InCoCodeCrcy, BigDecimal taxPrice2InCoCodeCrcy, BigDecimal taxPrice3InCoCodeCrcy, BigDecimal taxBasedPricesPriceUnitQty, Boolean isLIFOAndFIFORelevant, String currency, String baseUnit, String baseISOUnit, Product to_Product, ProductValuation to_ProductValuation) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Precision: 11, Scale: 0Constraints: Not nullable, Precision: 11, Scale: 0Constraints: Not nullable, Precision: 11, Scale: 0Constraints: Not nullable, Maximum length: 3protected StringConstraints: Not nullable, Maximum length: 2protected StringConstraints: Not nullable, Precision: 11, Scale: 0Constraints: NullableConstraints: Not nullableprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 18io.vavr.control.Option<Product>Retrieval of associated Product entity (one to one).io.vavr.control.Option<ProductValuation>Retrieval of associated ProductValuation entity (one to one).Constraints: Not nullable, Precision: 5Constraints: Not nullable, Precision: 11, Scale: 0Constraints: Not nullable, Precision: 11, Scale: 0Constraints: Not nullable, Precision: 11, Scale: 0getType()(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 10inthashCode()voidsetBaseISOUnit(String baseISOUnit) Constraints: Not nullable, Maximum length: 3voidsetBaseUnit(String baseUnit) Constraints: Not nullable, Maximum length: 3voidsetCommercialPrice1InCoCodeCrcy(BigDecimal commercialPrice1InCoCodeCrcy) Constraints: Not nullable, Precision: 11, Scale: 0voidsetCommercialPrice2InCoCodeCrcy(BigDecimal commercialPrice2InCoCodeCrcy) Constraints: Not nullable, Precision: 11, Scale: 0voidsetCommercialPrice3InCoCodeCrcy(BigDecimal commercialPrice3InCoCodeCrcy) Constraints: Not nullable, Precision: 11, Scale: 0voidsetCurrency(String currency) Constraints: Not nullable, Maximum length: 3voidsetDevaluationYearCount(String devaluationYearCount) Constraints: Not nullable, Maximum length: 2voidsetFuturePrice(BigDecimal futurePrice) Constraints: Not nullable, Precision: 11, Scale: 0voidsetFuturePriceValidityStartDate(LocalDate futurePriceValidityStartDate) Constraints: NullablevoidsetIsLIFOAndFIFORelevant(Boolean isLIFOAndFIFORelevant) Constraints: Not nullablevoidsetLIFOValuationPoolNumber(String lIFOValuationPoolNumber) Constraints: Not nullable, Maximum length: 4voidsetProduct(Product value) Overwrites the associated Product entity for the loaded navigation property _Product.voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 18voidOverwrites the associated ProductValuation entity for the loaded navigation property _ProductValuation.voidsetTaxBasedPricesPriceUnitQty(BigDecimal taxBasedPricesPriceUnitQty) Constraints: Not nullable, Precision: 5voidsetTaxPrice2InCoCodeCrcy(BigDecimal taxPrice2InCoCodeCrcy) Constraints: Not nullable, Precision: 11, Scale: 0voidsetTaxPrice3InCoCodeCrcy(BigDecimal taxPrice3InCoCodeCrcy) Constraints: Not nullable, Precision: 11, Scale: 0voidsetTaxPricel1InCoCodeCrcy(BigDecimal taxPricel1InCoCodeCrcy) Constraints: Not nullable, Precision: 11, Scale: 0voidsetValuationArea(String valuationArea) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetValuationType(String valuationType) (Key Field) Constraints: Not nullable, Maximum length: 10toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, 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 ProductValuationAccounting. -
PRODUCT
-
VALUATION_AREA
-
VALUATION_TYPE
-
COMMERCIAL_PRICE1_IN_CO_CODE_CRCY
public static final SimpleProperty.NumericDecimal<ProductValuationAccounting> COMMERCIAL_PRICE1_IN_CO_CODE_CRCY -
COMMERCIAL_PRICE2_IN_CO_CODE_CRCY
public static final SimpleProperty.NumericDecimal<ProductValuationAccounting> COMMERCIAL_PRICE2_IN_CO_CODE_CRCY -
COMMERCIAL_PRICE3_IN_CO_CODE_CRCY
public static final SimpleProperty.NumericDecimal<ProductValuationAccounting> COMMERCIAL_PRICE3_IN_CO_CODE_CRCY -
DEVALUATION_YEAR_COUNT
-
FUTURE_PRICE
-
FUTURE_PRICE_VALIDITY_START_DATE
public static final SimpleProperty.Date<ProductValuationAccounting> FUTURE_PRICE_VALIDITY_START_DATE -
LIFO_VALUATION_POOL_NUMBER
-
TAX_PRICEL1_IN_CO_CODE_CRCY
public static final SimpleProperty.NumericDecimal<ProductValuationAccounting> TAX_PRICEL1_IN_CO_CODE_CRCY -
TAX_PRICE2_IN_CO_CODE_CRCY
public static final SimpleProperty.NumericDecimal<ProductValuationAccounting> TAX_PRICE2_IN_CO_CODE_CRCY -
TAX_PRICE3_IN_CO_CODE_CRCY
public static final SimpleProperty.NumericDecimal<ProductValuationAccounting> TAX_PRICE3_IN_CO_CODE_CRCY -
TAX_BASED_PRICES_PRICE_UNIT_QTY
public static final SimpleProperty.NumericDecimal<ProductValuationAccounting> TAX_BASED_PRICES_PRICE_UNIT_QTY -
IS_LIFO_AND_FIFO_RELEVANT
-
CURRENCY
-
BASE_UNIT
-
BASE_ISO_UNIT
-
TO__PRODUCT
Use with available request builders to apply the _Product navigation property to query operations. -
TO__PRODUCT_VALUATION
public static final NavigationProperty.Single<ProductValuationAccounting,ProductValuation> TO__PRODUCT_VALUATIONUse with available request builders to apply the _ProductValuation navigation property to query operations.
-
-
Constructor Details
-
ProductValuationAccounting
public ProductValuationAccounting() -
ProductValuationAccounting
public ProductValuationAccounting(@Nullable String product, @Nullable String valuationArea, @Nullable String valuationType, @Nullable BigDecimal commercialPrice1InCoCodeCrcy, @Nullable BigDecimal commercialPrice2InCoCodeCrcy, @Nullable BigDecimal commercialPrice3InCoCodeCrcy, @Nullable String devaluationYearCount, @Nullable BigDecimal futurePrice, @Nullable LocalDate futurePriceValidityStartDate, @Nullable String lIFOValuationPoolNumber, @Nullable BigDecimal taxPricel1InCoCodeCrcy, @Nullable BigDecimal taxPrice2InCoCodeCrcy, @Nullable BigDecimal taxPrice3InCoCodeCrcy, @Nullable BigDecimal taxBasedPricesPriceUnitQty, @Nullable Boolean isLIFOAndFIFORelevant, @Nullable String currency, @Nullable String baseUnit, @Nullable String baseISOUnit, @Nullable Product to_Product, @Nullable ProductValuation to_ProductValuation)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductValuationAccounting>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Parameters:
product- Product 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
-
setCommercialPrice1InCoCodeCrcy
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: CommercialPrice1InCoCodeCrcy
- Parameters:
commercialPrice1InCoCodeCrcy- Valuation price based on commercial law: level 1
-
setCommercialPrice2InCoCodeCrcy
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: CommercialPrice2InCoCodeCrcy
- Parameters:
commercialPrice2InCoCodeCrcy- Valuation price based on commercial law: level 2
-
setCommercialPrice3InCoCodeCrcy
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: CommercialPrice3InCoCodeCrcy
- Parameters:
commercialPrice3InCoCodeCrcy- Valuation price based on commercial law: level 3
-
setDevaluationYearCount
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: DevaluationYearCount
- Parameters:
devaluationYearCount- Lowest value: devaluation indicator
-
setFuturePrice
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: FuturePrice
- Parameters:
futurePrice- Future Price
-
setFuturePriceValidityStartDate
Constraints: NullableOriginal property name from the Odata EDM: FuturePriceValidityStartDate
- Parameters:
futurePriceValidityStartDate- Date as of which the price is valid
-
setLIFOValuationPoolNumber
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: LIFOValuationPoolNumber
- Parameters:
lIFOValuationPoolNumber- Pool number for LIFO valuation
-
setTaxPricel1InCoCodeCrcy
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: TaxPricel1InCoCodeCrcy
- Parameters:
taxPricel1InCoCodeCrcy- Valuation price based on tax law: level 1
-
setTaxPrice2InCoCodeCrcy
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: TaxPrice2InCoCodeCrcy
- Parameters:
taxPrice2InCoCodeCrcy- Valuation price based on tax law: level 2
-
setTaxPrice3InCoCodeCrcy
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: TaxPrice3InCoCodeCrcy
- Parameters:
taxPrice3InCoCodeCrcy- Valuation price based on tax law: level 3
-
setTaxBasedPricesPriceUnitQty
Constraints: Not nullable, Precision: 5Original property name from the Odata EDM: TaxBasedPricesPriceUnitQty
- Parameters:
taxBasedPricesPriceUnitQty- Price unit for valuation prices based on tax/commercial law
-
setIsLIFOAndFIFORelevant
Constraints: Not nullableOriginal property name from the Odata EDM: IsLIFOAndFIFORelevant
- Parameters:
isLIFOAndFIFORelevant- Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
-
setCurrency
Constraints: Not nullable, Maximum length: 3Original 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
-
setBaseISOUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseISOUnit
- Parameters:
baseISOUnit- Base unit of measure in ISO code
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductValuationAccounting>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductValuationAccounting>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductValuationAccounting>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductValuationAccounting>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductValuationAccounting>
-
getProductIfPresent
Retrieval of associated Product entity (one to one). This corresponds to the OData navigation property _Product.If the navigation property for an entity ProductValuationAccounting 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 _Product is already loaded, the result will contain the
Product entity. If not, an
Optionwith result stateemptyis returned.
-
setProduct
Overwrites the associated Product entity for the loaded navigation property _Product.- Parameters:
value- New Product entity.
-
getProductValuationIfPresent
Retrieval of associated ProductValuation entity (one to one). This corresponds to the OData navigation property _ProductValuation.If the navigation property for an entity ProductValuationAccounting 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 _ProductValuation is already loaded, the result will
contain the ProductValuation entity. If not, an
Optionwith result stateemptyis returned.
-
setProductValuation
Overwrites the associated ProductValuation entity for the loaded navigation property _ProductValuation.- Parameters:
value- New ProductValuation entity.
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Returns:
- Product 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
-
getCommercialPrice1InCoCodeCrcy
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: CommercialPrice1InCoCodeCrcy
- Returns:
- Valuation price based on commercial law: level 1
-
getCommercialPrice2InCoCodeCrcy
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: CommercialPrice2InCoCodeCrcy
- Returns:
- Valuation price based on commercial law: level 2
-
getCommercialPrice3InCoCodeCrcy
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: CommercialPrice3InCoCodeCrcy
- Returns:
- Valuation price based on commercial law: level 3
-
getDevaluationYearCount
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: DevaluationYearCount
- Returns:
- Lowest value: devaluation indicator
-
getFuturePrice
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: FuturePrice
- Returns:
- Future Price
-
getFuturePriceValidityStartDate
Constraints: NullableOriginal property name from the Odata EDM: FuturePriceValidityStartDate
- Returns:
- Date as of which the price is valid
-
getLIFOValuationPoolNumber
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: LIFOValuationPoolNumber
- Returns:
- Pool number for LIFO valuation
-
getTaxPricel1InCoCodeCrcy
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: TaxPricel1InCoCodeCrcy
- Returns:
- Valuation price based on tax law: level 1
-
getTaxPrice2InCoCodeCrcy
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: TaxPrice2InCoCodeCrcy
- Returns:
- Valuation price based on tax law: level 2
-
getTaxPrice3InCoCodeCrcy
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: TaxPrice3InCoCodeCrcy
- Returns:
- Valuation price based on tax law: level 3
-
getTaxBasedPricesPriceUnitQty
Constraints: Not nullable, Precision: 5Original property name from the Odata EDM: TaxBasedPricesPriceUnitQty
- Returns:
- Price unit for valuation prices based on tax/commercial law
-
getIsLIFOAndFIFORelevant
Constraints: Not nullableOriginal property name from the Odata EDM: IsLIFOAndFIFORelevant
- Returns:
- Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
-
getCurrency
Constraints: Not nullable, Maximum length: 3Original 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
-
getBaseISOUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseISOUnit
- Returns:
- Base unit of measure in ISO code
-
toString
- Overrides:
toStringin classVdmObject<ProductValuationAccounting>
-
equals
- Overrides:
equalsin classVdmEntity<ProductValuationAccounting>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductValuationAccounting>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductValuationAccounting>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProductValuationAccounting>
-