Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_ProductSalesText" 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
    • ProductSalesText

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

Product Number. Alphanumeric key uniquely identifying the product. Maximum length: 40.

productDistributionChnl

productDistributionChnl: string

Distribution Channel. The way in which products or services reach the customer. Typical examples of distribution channels are wholesale, retail, or direct sales. You can maintain information about customers and products by sales organization and distribution channel. Within a sales organization you can deliver goods to a given customer through more than one distribution channel.You can assign a distribution channel to one or more sales organizations. If, for example, you have numerous sales organizations, each sales organization may use the "Wholesale" distribution channel.For each combination of sales organization and distribution channel, you can further assign one or more of the divisions that are defined for the sales organization. You can, for example, assign "Food" and "Non-food" divisions to the "Wholesale" distribution channel. A particular combination of sales organization, distribution channel, and division is known as a sales area. Maximum length: 2.

productSalesOrg

productSalesOrg: string

Sales Organization. An organizational unit responsible for the sale of certain products or services. The responsibility of a sales organization may include legal liability for products and customer claims. You can assign any number of distribution channels and divisions to a sales organization. A particular combination of sales organization, distribution channel, and division is known as a sales area. Maximum length: 4.

Static ALL_FIELDS

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

All fields selector.

Static LANGUAGE

LANGUAGE: StringField<ProductSalesText> = new StringField('Language', ProductSalesText, '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<ProductSalesText> = new StringField('LongText', ProductSalesText, '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<ProductSalesText> = new StringField('Product', ProductSalesText, '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_DISTRIBUTION_CHNL

PRODUCT_DISTRIBUTION_CHNL: StringField<ProductSalesText> = new StringField('ProductDistributionChnl', ProductSalesText, 'Edm.String')

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

Static PRODUCT_SALES_ORG

PRODUCT_SALES_ORG: StringField<ProductSalesText> = new StringField('ProductSalesOrg', ProductSalesText, 'Edm.String')

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

Static _allFields

_allFields: any[] = [ProductSalesText.PRODUCT,ProductSalesText.PRODUCT_SALES_ORG,ProductSalesText.PRODUCT_DISTRIBUTION_CHNL,ProductSalesText.LANGUAGE,ProductSalesText.LONG_TEXT]

All fields of the ProductSalesText entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_ProductSalesText"

Technical entity name for ProductSalesText.

Static _keyFields

_keyFields: Array<Selectable<ProductSalesText>> = [ProductSalesText.PRODUCT, ProductSalesText.PRODUCT_SALES_ORG, ProductSalesText.PRODUCT_DISTRIBUTION_CHNL, ProductSalesText.LANGUAGE]

All key fields of the ProductSalesText entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_PRODUCT_SRV"

Technical service name for ProductSalesText.

Methods

Static builder

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<ProductSalesText>

    A builder that constructs instances of entity type ProductSalesText.

Static requestBuilder

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

    Returns ProductSalesTextRequestBuilder

    A ProductSalesText request builder.