Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_SalesOrganization" of service "API_SALESORGANIZATION_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_SALESORGANIZATION_SRV for more information.

Hierarchy

  • any
    • SalesOrganization

Implements

Index

Properties

companyCode

companyCode: string

Company code of the sales organization. The company code to which the sales organization is assigned. The company is legally responsible for the sales organization. Maximum length: 4.

nullable

intercompanyBillingCustomer

intercompanyBillingCustomer: string

Customer number for intercompany billing. The number assigned to the master record which has been created to represent: An internal customer (sales organization) in intercompany billingYour own sales organization in opportunity management. Maximum length: 10.

nullable

salesOrganization

salesOrganization: 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.

salesOrganizationCurrency

salesOrganizationCurrency: string

Statistics currency. The currency that the system automatically proposes for statistics that you generate for a particular sales organization. You can define a default currency for each sales organization. When you generate sales statistics, the system automatically proposes the default. You can overwrite the default. Maximum length: 5.

nullable

toText

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

Static ALL_FIELDS

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

All fields selector.

Static COMPANY_CODE

COMPANY_CODE: StringField<SalesOrganization> = new StringField('CompanyCode', SalesOrganization, 'Edm.String')

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

Static INTERCOMPANY_BILLING_CUSTOMER

INTERCOMPANY_BILLING_CUSTOMER: StringField<SalesOrganization> = new StringField('IntercompanyBillingCustomer', SalesOrganization, 'Edm.String')

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

Static SALES_ORGANIZATION

SALES_ORGANIZATION: StringField<SalesOrganization> = new StringField('SalesOrganization', SalesOrganization, 'Edm.String')

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

Static SALES_ORGANIZATION_CURRENCY

SALES_ORGANIZATION_CURRENCY: StringField<SalesOrganization> = new StringField('SalesOrganizationCurrency', SalesOrganization, 'Edm.String')

Static representation of the salesOrganizationCurrency 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<SalesOrganization, SalesOrganizationText> = new Link('to_Text', SalesOrganization, SalesOrganizationText)

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[] = [SalesOrganization.SALES_ORGANIZATION,SalesOrganization.SALES_ORGANIZATION_CURRENCY,SalesOrganization.COMPANY_CODE,SalesOrganization.INTERCOMPANY_BILLING_CUSTOMER,SalesOrganization.TO_TEXT]

All fields of the SalesOrganization entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_SalesOrganization"

Technical entity name for SalesOrganization.

Static _keyFields

_keyFields: Array<Selectable<SalesOrganization>> = [SalesOrganization.SALES_ORGANIZATION]

All key fields of the SalesOrganization entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_SALESORGANIZATION_SRV"

Technical service name for SalesOrganization.

Methods

Static builder

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<SalesOrganization>

    A builder that constructs instances of entity type SalesOrganization.

Static requestBuilder

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

    Returns SalesOrganizationRequestBuilder

    A SalesOrganization request builder.