Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_ProductMLPrices" of service "API_PRODUCT_SRV". This service is part of the following communication scenarios: Distributed Manufacturing Integration (SAP_COM_0077), SAP Analytics Cloud for Planning Integration (SAP_COM_0087), Product Integration (SAP_COM_0009). See https://api.sap.com/api/API_PRODUCT_SRV for more information.

Hierarchy

  • any
    • ProductMlPrices

Implements

Index

Properties

currencyRole

currencyRole: string

Currency Type. The currency type specifies the role of a currency in the SAP system. In addition to the local currency (company code currency), you can use parallel currencies per company code with the following currency types:Group currencyHard currencyIndex-based currencyGlobal company currencyIn Controlling, you can also use the following types:Controlling area currencyObject currencyFurthermore, you can create your own currency types.Note:If you are using transfer prices, the currency type not only represents the business perspective, but also specifies the valuation view.Example:10 – local currency11 – local currency with group valuation12 – local currency with profit center valuationIn the Define Valuation Areas app, only the local currency is available. Maximum length: 2.

futurePrice

futurePrice: BigNumber

Future price. Price at which the material will be valuated as from a precise date in the future. The future standard price is valid as of the date you enter in the relevant field.Before the future price can become effective, you must activate it for material valuation.

nullable

futurePriceValidityStartDate

futurePriceValidityStartDate: Moment

Date from Which a Future Valuation Price Is to Be Valid.

nullable

plannedPrice

plannedPrice: BigNumber

Cost.

nullable

product

product: string

Material Number. Alphanumeric key uniquely identifying the material. Maximum length: 40.

valuationArea

valuationArea: string

Valuation Area. Organizational level at which the material is valuated. A valuation area can be one of the following: PlantAll plants belonging to a company code, in which case the valuation area is the company code. Maximum length: 4.

valuationType

valuationType: string

Valuation Type. Uniquely identifies separately valuated stocks of a material. The valuation types allowed for a material are determined by the valuation category.If a material is valuated according to its origin (valuation category H), you can define the possible countries of origin as valuation types. Maximum length: 10.

Static ALL_FIELDS

ALL_FIELDS: any = new AllFields('*', ProductMlPrices)

All fields selector.

Static CURRENCY_ROLE

CURRENCY_ROLE: StringField<ProductMlPrices> = new StringField('CurrencyRole', ProductMlPrices, 'Edm.String')

Static representation of the currencyRole property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static FUTURE_PRICE

FUTURE_PRICE: BigNumberField<ProductMlPrices> = new BigNumberField('FuturePrice', ProductMlPrices, 'Edm.Decimal')

Static representation of the futurePrice property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static FUTURE_PRICE_VALIDITY_START_DATE

FUTURE_PRICE_VALIDITY_START_DATE: DateField<ProductMlPrices> = new DateField('FuturePriceValidityStartDate', ProductMlPrices, 'Edm.DateTime')

Static representation of the futurePriceValidityStartDate property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static PLANNED_PRICE

PLANNED_PRICE: BigNumberField<ProductMlPrices> = new BigNumberField('PlannedPrice', ProductMlPrices, 'Edm.Decimal')

Static representation of the plannedPrice property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static PRODUCT

PRODUCT: StringField<ProductMlPrices> = new StringField('Product', ProductMlPrices, 'Edm.String')

Static representation of the product property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static VALUATION_AREA

VALUATION_AREA: StringField<ProductMlPrices> = new StringField('ValuationArea', ProductMlPrices, 'Edm.String')

Static representation of the valuationArea property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static VALUATION_TYPE

VALUATION_TYPE: StringField<ProductMlPrices> = new StringField('ValuationType', ProductMlPrices, 'Edm.String')

Static representation of the valuationType property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static _allFields

_allFields: any[] = [ProductMlPrices.PRODUCT,ProductMlPrices.VALUATION_AREA,ProductMlPrices.VALUATION_TYPE,ProductMlPrices.CURRENCY_ROLE,ProductMlPrices.FUTURE_PRICE,ProductMlPrices.FUTURE_PRICE_VALIDITY_START_DATE,ProductMlPrices.PLANNED_PRICE]

All fields of the ProductMlPrices entity.

Static _defaultServicePath

_defaultServicePath: string = "/sap/opu/odata/sap/API_PRODUCT_SRV"

Default url path for the according service.

Static _entityName

_entityName: string = "A_ProductMLPrices"

Technical entity name for ProductMlPrices.

Static _keyFields

_keyFields: Array<Selectable<ProductMlPrices>> = [ProductMlPrices.PRODUCT, ProductMlPrices.VALUATION_AREA, ProductMlPrices.VALUATION_TYPE, ProductMlPrices.CURRENCY_ROLE]

All key fields of the ProductMlPrices entity.

Static _keys

_keys: any = ProductMlPrices._keyFields.reduce((acc: any, field) => {acc[field.fieldName] = field;return acc;}, {})

Mapping of all key field names to the respective static field property ProductMlPrices.

Static _serviceName

_serviceName: string = "API_PRODUCT_SRV"

Technical service name for ProductMlPrices.

Methods

Static builder

Static customField

  • Returns a selectable object that allows the selection of custom field in a get request for the entity ProductMlPrices.

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<ProductMlPrices>

    A builder that constructs instances of entity type ProductMlPrices.

Static requestBuilder

  • Returns a request builder to construct requests for operations on the ProductMlPrices entity type.

    Returns ProductMlPricesRequestBuilder

    A ProductMlPrices request builder.