Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_ProductPlantText" 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
    • ProductPlantText

Implements

Index

Properties

longText

longText: string

String.

nullable

plant

plant: string

Plant. Key uniquely identifying a plant. Maximum length: 4.

product

product: string

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

Static ALL_FIELDS

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

All fields selector.

Static LONG_TEXT

LONG_TEXT: StringField<ProductPlantText> = new StringField('LongText', ProductPlantText, '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 PLANT

PLANT: StringField<ProductPlantText> = new StringField('Plant', ProductPlantText, 'Edm.String')

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

Static PRODUCT

PRODUCT: StringField<ProductPlantText> = new StringField('Product', ProductPlantText, '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[] = [ProductPlantText.PRODUCT,ProductPlantText.PLANT,ProductPlantText.LONG_TEXT]

All fields of the ProductPlantText entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_ProductPlantText"

Technical entity name for ProductPlantText.

Static _keyFields

_keyFields: Array<Selectable<ProductPlantText>> = [ProductPlantText.PRODUCT, ProductPlantText.PLANT]

All key fields of the ProductPlantText entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_PRODUCT_SRV"

Technical service name for ProductPlantText.

Methods

Static builder

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<ProductPlantText>

    A builder that constructs instances of entity type ProductPlantText.

Static requestBuilder

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

    Returns ProductPlantTextRequestBuilder

    A ProductPlantText request builder.