Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_ProductPurchaseText" 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
    • ProductPurchaseText

Implements

Index

Properties

language

language: string

Language Key. The language key indicates

  • the language in which texts are displayed,- the language in which you enter texts,- the language in which the system prints texts. Maximum length: 2.

longText

longText: string

String.

nullable

product

product: string

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

Static ALL_FIELDS

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

All fields selector.

Static LANGUAGE

LANGUAGE: StringField<ProductPurchaseText> = new StringField('Language', ProductPurchaseText, 'Edm.String')

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

Static LONG_TEXT

LONG_TEXT: StringField<ProductPurchaseText> = new StringField('LongText', ProductPurchaseText, 'Edm.String')

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

Static PRODUCT

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

_allFields: any[] = [ProductPurchaseText.PRODUCT,ProductPurchaseText.LANGUAGE,ProductPurchaseText.LONG_TEXT]

All fields of the ProductPurchaseText entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_ProductPurchaseText"

Technical entity name for ProductPurchaseText.

Static _keyFields

_keyFields: Array<Selectable<ProductPurchaseText>> = [ProductPurchaseText.PRODUCT, ProductPurchaseText.LANGUAGE]

All key fields of the ProductPurchaseText entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_PRODUCT_SRV"

Technical service name for ProductPurchaseText.

Methods

Static builder

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<ProductPurchaseText>

    A builder that constructs instances of entity type ProductPurchaseText.

Static requestBuilder

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

    Returns ProductPurchaseTextRequestBuilder

    A ProductPurchaseText request builder.