Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_SalesDistrict" 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
    • SalesDistrict

Implements

Index

Properties

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.

toText

One-to-many navigation property to the SalesDistrictText entity.

Static SALES_DISTRICT

SALES_DISTRICT: StringField<SalesDistrict> = new StringField('SalesDistrict', SalesDistrict, '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 TO_TEXT

TO_TEXT: Link<SalesDistrict, SalesDistrictText> = new Link('to_Text', SalesDistrict, SalesDistrictText)

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

Static _allFields

_allFields: any[] = [SalesDistrict.SALES_DISTRICT,SalesDistrict.TO_TEXT]

All fields of the SalesDistrict entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_SalesDistrict"

Technical entity name for SalesDistrict.

Static _keyFields

_keyFields: Array<Selectable<SalesDistrict>> = [SalesDistrict.SALES_DISTRICT]

All key fields of the SalesDistrict entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_SALESDISTRICT_SRV"

Technical service name for SalesDistrict.

Methods

Static builder

  • Returns an entity builder to construct instances SalesDistrict.

    Returns EntityBuilderType<SalesDistrict, SalesDistrictType>

    A builder that constructs instances of entity type SalesDistrict.

Static requestBuilder

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

    Returns SalesDistrictRequestBuilder

    A SalesDistrict request builder.