Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_SalesOrderText" of service "API_SALES_ORDER_SRV". This service is part of the following communication scenarios: Sales Order Integration (SAP_COM_0109). See https://api.sap.com/api/API_SALES_ORDER_SRV for more information.

Hierarchy

  • any
    • SalesOrderText

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

longTextId

longTextId: string

Text ID. The text ID defines the various types of texts related to a text object. For example, the object "TEXT" (standard texts) can have the following text IDs: ST for user-specific standard texts (individual texts)SYST for cross-application system textsvarious IDs for specific application departments. You must have the appropriate access authorization in order to access these texts. Maximum length: 4.

salesOrder

salesOrder: string

Sales Order. Maximum length: 10.

toSalesOrder

toSalesOrder: SalesOrder

One-to-one navigation property to the SalesOrder entity.

Static ALL_FIELDS

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

All fields selector.

Static LANGUAGE

LANGUAGE: StringField<SalesOrderText> = new StringField('Language', SalesOrderText, '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<SalesOrderText> = new StringField('LongText', SalesOrderText, '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 LONG_TEXT_ID

LONG_TEXT_ID: StringField<SalesOrderText> = new StringField('LongTextID', SalesOrderText, 'Edm.String')

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

Static SALES_ORDER

SALES_ORDER: StringField<SalesOrderText> = new StringField('SalesOrder', SalesOrderText, 'Edm.String')

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

Static TO_SALES_ORDER

TO_SALES_ORDER: OneToOneLink<SalesOrderText, SalesOrder> = new OneToOneLink('to_SalesOrder', SalesOrderText, SalesOrder)

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

Static _allFields

_allFields: any[] = [SalesOrderText.SALES_ORDER,SalesOrderText.LANGUAGE,SalesOrderText.LONG_TEXT_ID,SalesOrderText.LONG_TEXT,SalesOrderText.TO_SALES_ORDER]

All fields of the SalesOrderText entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_SalesOrderText"

Technical entity name for SalesOrderText.

Static _keyFields

_keyFields: Array<Selectable<SalesOrderText>> = [SalesOrderText.SALES_ORDER, SalesOrderText.LANGUAGE, SalesOrderText.LONG_TEXT_ID]

All key fields of the SalesOrderText entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_SALES_ORDER_SRV"

Technical service name for SalesOrderText.

Methods

Static builder

  • Returns an entity builder to construct instances SalesOrderText.

    Returns EntityBuilderType<SalesOrderText, SalesOrderTextType>

    A builder that constructs instances of entity type SalesOrderText.

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<SalesOrderText>

    A builder that constructs instances of entity type SalesOrderText.

Static requestBuilder

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

    Returns SalesOrderTextRequestBuilder

    A SalesOrderText request builder.