Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_SalesDistrictText" of service "API_SALESDISTRICT_SRV". This service is part of the following communication scenarios: SAP Analytics Cloud for Planning Integration (SAP_COM_0087). See https://api.sap.com/api/API_SALESDISTRICT_SRV for more information.

Hierarchy

  • any
    • SalesDistrictText

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.

salesDistrict

salesDistrict: string

Sales District. A geographical sales district or region. Each customer can be assigned to a sales district. You can use sales districts to apply pricing conditions. When you want to generate sales statistics, you can use sales districts as a selection criteria.The system can propose a value from the customer master record of the sold-to party. You can change the value manually in the document at the header or item level. Maximum length: 6.

salesDistrictName

salesDistrictName: string

Name of the district. Maximum length: 20.

nullable

toSalesDistrict

toSalesDistrict: SalesDistrict

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

Static LANGUAGE

LANGUAGE: StringField<SalesDistrictText> = new StringField('Language', SalesDistrictText, '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 SALES_DISTRICT

SALES_DISTRICT: StringField<SalesDistrictText> = new StringField('SalesDistrict', SalesDistrictText, 'Edm.String')

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

Static SALES_DISTRICT_NAME

SALES_DISTRICT_NAME: StringField<SalesDistrictText> = new StringField('SalesDistrictName', SalesDistrictText, 'Edm.String')

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

Static TO_SALES_DISTRICT

TO_SALES_DISTRICT: OneToOneLink<SalesDistrictText, SalesDistrict> = new OneToOneLink('to_SalesDistrict', SalesDistrictText, SalesDistrict)

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

Static _allFields

_allFields: any[] = [SalesDistrictText.SALES_DISTRICT,SalesDistrictText.LANGUAGE,SalesDistrictText.SALES_DISTRICT_NAME,SalesDistrictText.TO_SALES_DISTRICT]

All fields of the SalesDistrictText entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_SalesDistrictText"

Technical entity name for SalesDistrictText.

Static _keyFields

_keyFields: Array<Selectable<SalesDistrictText>> = [SalesDistrictText.SALES_DISTRICT, SalesDistrictText.LANGUAGE]

All key fields of the SalesDistrictText entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_SALESDISTRICT_SRV"

Technical service name for SalesDistrictText.

Methods

Static builder

Static requestBuilder

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

    Returns SalesDistrictTextRequestBuilder

    A SalesDistrictText request builder.