Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_ProductUnitsOfMeasureEAN" 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
    • ProductUnitsOfMeasureEan

Implements

Index

Properties

alternativeUnit

alternativeUnit: string

Unit of Measure for Display. Specifies the unit of measure in which the quantity represented is displayed. Maximum length: 3.

consecutiveNumber

consecutiveNumber: string

Consecutive Number. Maximum length: 5.

internationalArticleNumberCat

internationalArticleNumberCat: string

Category of International Article Number (EAN). Defines how the system determines an International Article Number (EAN) to be assigned internally, and which check criteria (check digit, prefix, and so on) an EAN of this category must fulfil. Maximum length: 2.

nullable

isMainGlobalTradeItemNumber

isMainGlobalTradeItemNumber: boolean

Indicator: Main EAN. Specifies that the International Article Number (EAN) is the main EAN for the unit of measure. If there are several EANs for each unit of measure, you must always identify one of them as the main EAN.

nullable

product

product: string

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

productStandardId

productStandardId: string

International Article Number (EAN/UPC). Glossary definition. Maximum length: 18.

nullable

Static ALL_FIELDS

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

All fields selector.

Static ALTERNATIVE_UNIT

ALTERNATIVE_UNIT: StringField<ProductUnitsOfMeasureEan> = new StringField('AlternativeUnit', ProductUnitsOfMeasureEan, 'Edm.String')

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

Static CONSECUTIVE_NUMBER

CONSECUTIVE_NUMBER: StringField<ProductUnitsOfMeasureEan> = new StringField('ConsecutiveNumber', ProductUnitsOfMeasureEan, 'Edm.String')

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

Static INTERNATIONAL_ARTICLE_NUMBER_CAT

INTERNATIONAL_ARTICLE_NUMBER_CAT: StringField<ProductUnitsOfMeasureEan> = new StringField('InternationalArticleNumberCat', ProductUnitsOfMeasureEan, 'Edm.String')

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

Static IS_MAIN_GLOBAL_TRADE_ITEM_NUMBER

IS_MAIN_GLOBAL_TRADE_ITEM_NUMBER: BooleanField<ProductUnitsOfMeasureEan> = new BooleanField('IsMainGlobalTradeItemNumber', ProductUnitsOfMeasureEan, 'Edm.Boolean')

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

Static PRODUCT

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

PRODUCT_STANDARD_ID: StringField<ProductUnitsOfMeasureEan> = new StringField('ProductStandardID', ProductUnitsOfMeasureEan, 'Edm.String')

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

Static _allFields

_allFields: any[] = [ProductUnitsOfMeasureEan.PRODUCT,ProductUnitsOfMeasureEan.ALTERNATIVE_UNIT,ProductUnitsOfMeasureEan.CONSECUTIVE_NUMBER,ProductUnitsOfMeasureEan.PRODUCT_STANDARD_ID,ProductUnitsOfMeasureEan.INTERNATIONAL_ARTICLE_NUMBER_CAT,ProductUnitsOfMeasureEan.IS_MAIN_GLOBAL_TRADE_ITEM_NUMBER]

All fields of the ProductUnitsOfMeasureEan entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_ProductUnitsOfMeasureEAN"

Technical entity name for ProductUnitsOfMeasureEan.

Static _keyFields

_keyFields: Array<Selectable<ProductUnitsOfMeasureEan>> = [ProductUnitsOfMeasureEan.PRODUCT, ProductUnitsOfMeasureEan.ALTERNATIVE_UNIT, ProductUnitsOfMeasureEan.CONSECUTIVE_NUMBER]

All key fields of the ProductUnitsOfMeasureEan entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_PRODUCT_SRV"

Technical service name for ProductUnitsOfMeasureEan.

Methods

Static builder

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<ProductUnitsOfMeasureEan>

    A builder that constructs instances of entity type ProductUnitsOfMeasureEan.

Static requestBuilder

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

    Returns ProductUnitsOfMeasureEanRequestBuilder

    A ProductUnitsOfMeasureEan request builder.