Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_ProductMLAccount" 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
    • ProductMlAccount

Implements

Index

Properties

currency

currency: string

Currency Key. Currency key for amounts in the system. Maximum length: 5.

nullable

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.

movingAveragePrice

movingAveragePrice: BigNumber

Periodic Unit Price. See: Moving average price/periodic unit price.

nullable

priceUnitQty

priceUnitQty: BigNumber

Price Unit. Number of units of measure on which the price is based. You can change the price unit in all valuations, both in the accounting view of the material master record and in the price change transaction (MR21).

nullable

product

product: string

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

productPriceControl

productPriceControl: string

Price control indicator. Indicates the price control used to valuate the stock of a material. You have the following options: Standard priceMoving average priceIf the material ledger is activated for the material, this indicator, together with the material's price determination indicator, determines at which of the following prices the material is valuated:Standard priceMoving average pricePeriodic unit price. Maximum length: 1.

nullable

standardPrice

standardPrice: BigNumber

Standard Price. Standard price of a material. If material inventories are valuated at standard prices, this will result in all goods movements being valuated at the same price over an extended period of time.Price differences when goods or invoices are received (such as when the purchase price is higher than the standard price) will be posted to price difference accounts. This does not change the standard price.

nullable

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('*', ProductMlAccount)

All fields selector.

Static CURRENCY

CURRENCY: StringField<ProductMlAccount> = new StringField('Currency', ProductMlAccount, 'Edm.String')

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

Static CURRENCY_ROLE

CURRENCY_ROLE: StringField<ProductMlAccount> = new StringField('CurrencyRole', ProductMlAccount, '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 MOVING_AVERAGE_PRICE

MOVING_AVERAGE_PRICE: BigNumberField<ProductMlAccount> = new BigNumberField('MovingAveragePrice', ProductMlAccount, 'Edm.Decimal')

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

Static PRICE_UNIT_QTY

PRICE_UNIT_QTY: BigNumberField<ProductMlAccount> = new BigNumberField('PriceUnitQty', ProductMlAccount, 'Edm.Decimal')

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

Static PRODUCT

PRODUCT: StringField<ProductMlAccount> = new StringField('Product', ProductMlAccount, '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 PRODUCT_PRICE_CONTROL

PRODUCT_PRICE_CONTROL: StringField<ProductMlAccount> = new StringField('ProductPriceControl', ProductMlAccount, 'Edm.String')

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

Static STANDARD_PRICE

STANDARD_PRICE: BigNumberField<ProductMlAccount> = new BigNumberField('StandardPrice', ProductMlAccount, 'Edm.Decimal')

Static representation of the standardPrice 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<ProductMlAccount> = new StringField('ValuationArea', ProductMlAccount, '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<ProductMlAccount> = new StringField('ValuationType', ProductMlAccount, '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[] = [ProductMlAccount.PRODUCT,ProductMlAccount.VALUATION_AREA,ProductMlAccount.VALUATION_TYPE,ProductMlAccount.CURRENCY_ROLE,ProductMlAccount.CURRENCY,ProductMlAccount.PRODUCT_PRICE_CONTROL,ProductMlAccount.PRICE_UNIT_QTY,ProductMlAccount.MOVING_AVERAGE_PRICE,ProductMlAccount.STANDARD_PRICE]

All fields of the ProductMlAccount entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_ProductMLAccount"

Technical entity name for ProductMlAccount.

Static _keyFields

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

All key fields of the ProductMlAccount entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_PRODUCT_SRV"

Technical service name for ProductMlAccount.

Methods

Static builder

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<ProductMlAccount>

    A builder that constructs instances of entity type ProductMlAccount.

Static requestBuilder

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

    Returns ProductMlAccountRequestBuilder

    A ProductMlAccount request builder.