Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • any
    • CustomerGroupText

Implements

Index

Properties

customerGroup

customerGroup: string

Customer Group. Identifies a particular group of customers (for example, wholesale or retail) for the purpose of pricing or generating statistics. Maximum length: 2.

customerGroupName

customerGroupName: string

Description. Maximum length: 20.

nullable

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.

toCustomerGroup

toCustomerGroup: CustomerGroup

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

Static ALL_FIELDS

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

All fields selector.

Static CUSTOMER_GROUP

CUSTOMER_GROUP: StringField<CustomerGroupText> = new StringField('CustomerGroup', CustomerGroupText, 'Edm.String')

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

Static CUSTOMER_GROUP_NAME

CUSTOMER_GROUP_NAME: StringField<CustomerGroupText> = new StringField('CustomerGroupName', CustomerGroupText, 'Edm.String')

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

Static LANGUAGE

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

TO_CUSTOMER_GROUP: OneToOneLink<CustomerGroupText, CustomerGroup> = new OneToOneLink('to_CustomerGroup', CustomerGroupText, CustomerGroup)

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

Static _allFields

_allFields: any[] = [CustomerGroupText.CUSTOMER_GROUP,CustomerGroupText.LANGUAGE,CustomerGroupText.CUSTOMER_GROUP_NAME,CustomerGroupText.TO_CUSTOMER_GROUP]

All fields of the CustomerGroupText entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_CustomerGroupText"

Technical entity name for CustomerGroupText.

Static _keyFields

_keyFields: Array<Selectable<CustomerGroupText>> = [CustomerGroupText.CUSTOMER_GROUP, CustomerGroupText.LANGUAGE]

All key fields of the CustomerGroupText entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_CUSTOMERGROUP_SRV"

Technical service name for CustomerGroupText.

Methods

Static builder

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<CustomerGroupText>

    A builder that constructs instances of entity type CustomerGroupText.

Static requestBuilder

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

    Returns CustomerGroupTextRequestBuilder

    A CustomerGroupText request builder.