Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_CustSalesPartnerFunc" of service "API_BUSINESS_PARTNER". This service is part of the following communication scenarios: Business Partner, Customer and Supplier Integration (SAP_COM_0008). See https://api.sap.com/api/API_BUSINESS_PARTNER for more information.

Hierarchy

  • any
    • CustSalesPartnerFunc

Implements

Index

Properties

authorizationGroup

authorizationGroup: string

Authorization Group. The authorization group allows extended authorization protection for particular objects. The authorization groups are freely definable. The authorization groups usually occur in authorization objects together with an activity. Maximum length: 4.

nullable

bpCustomerNumber

bpCustomerNumber: string

Customer number of business partner. Maximum length: 10.

nullable

customer

customer: string

Customer Number. Gives an alphanumeric key, which clearly identifies the customer or vendor in the SAP system. Maximum length: 10.

customerPartnerDescription

customerPartnerDescription: string

Cust.-Specif. Descr. of Business Partner (Plant, Stor. Loc.). Sold-to party number sent in by the customer in delivery schedules. The system uses this number to automatically determine the ship-to party. Maximum length: 30.

nullable

defaultPartner

defaultPartner: boolean

Default Partner. Specifies a partner as the default for a particular partner function. When you enter more than one partner for a particular partner function (for example, you define three different ship-to parties), you can select one partner as the default. During sales or purchasing processing, if you have defined multiple partners for a partner function, the system prompts you to choose just one partner. The system presents the default partner as the first choice in the pop-up window.

nullable

distributionChannel

distributionChannel: 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 materials 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.

division

division: string

Division. A way of grouping materials, products, or services. The system uses divisions to determine the sales areas and the business areas for a material, product, or service. A product or service is always assigned to just one division. From the point of view of sales and distribution, the use of divisions lets you organize your sales structure around groups of similar products or product lines. This allows the people in a division who process orders and service customers to specialize within a manageable area of expertise.If a sales organization sells food and non-food products through both retail and wholesaledistribution channels each distribution channel could then be further split into food and non-food divisions. Maximum length: 2.

partnerCounter

partnerCounter: string

Partner counter. The sequential number that the system applies when there is more than one partner for a particular partner function. When you create a sales order for a particular customer, there may be more than one ship-to party defined. The different ship-to parties are numbered sequentially. Maximum length: 3.

partnerFunction

partnerFunction: string

Partner Function. The abbreviated form of the name that identifies the partner function. Maximum length: 2.

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.

Static AUTHORIZATION_GROUP

AUTHORIZATION_GROUP: StringField<CustSalesPartnerFunc> = new StringField('AuthorizationGroup', CustSalesPartnerFunc, 'Edm.String')

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

Static BP_CUSTOMER_NUMBER

BP_CUSTOMER_NUMBER: StringField<CustSalesPartnerFunc> = new StringField('BPCustomerNumber', CustSalesPartnerFunc, 'Edm.String')

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

Static CUSTOMER

CUSTOMER: StringField<CustSalesPartnerFunc> = new StringField('Customer', CustSalesPartnerFunc, 'Edm.String')

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

Static CUSTOMER_PARTNER_DESCRIPTION

CUSTOMER_PARTNER_DESCRIPTION: StringField<CustSalesPartnerFunc> = new StringField('CustomerPartnerDescription', CustSalesPartnerFunc, 'Edm.String')

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

Static DEFAULT_PARTNER

DEFAULT_PARTNER: BooleanField<CustSalesPartnerFunc> = new BooleanField('DefaultPartner', CustSalesPartnerFunc, 'Edm.Boolean')

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

Static DISTRIBUTION_CHANNEL

DISTRIBUTION_CHANNEL: StringField<CustSalesPartnerFunc> = new StringField('DistributionChannel', CustSalesPartnerFunc, 'Edm.String')

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

Static DIVISION

DIVISION: StringField<CustSalesPartnerFunc> = new StringField('Division', CustSalesPartnerFunc, 'Edm.String')

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

Static PARTNER_COUNTER

PARTNER_COUNTER: StringField<CustSalesPartnerFunc> = new StringField('PartnerCounter', CustSalesPartnerFunc, 'Edm.String')

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

Static PARTNER_FUNCTION

PARTNER_FUNCTION: StringField<CustSalesPartnerFunc> = new StringField('PartnerFunction', CustSalesPartnerFunc, 'Edm.String')

Static representation of the partnerFunction 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<CustSalesPartnerFunc> = new StringField('SalesOrganization', CustSalesPartnerFunc, '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 _allFields

_allFields: any[] = [CustSalesPartnerFunc.CUSTOMER,CustSalesPartnerFunc.SALES_ORGANIZATION,CustSalesPartnerFunc.DISTRIBUTION_CHANNEL,CustSalesPartnerFunc.DIVISION,CustSalesPartnerFunc.PARTNER_COUNTER,CustSalesPartnerFunc.PARTNER_FUNCTION,CustSalesPartnerFunc.BP_CUSTOMER_NUMBER,CustSalesPartnerFunc.CUSTOMER_PARTNER_DESCRIPTION,CustSalesPartnerFunc.DEFAULT_PARTNER,CustSalesPartnerFunc.AUTHORIZATION_GROUP]

All fields of the CustSalesPartnerFunc entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_CustSalesPartnerFunc"

Technical entity name for CustSalesPartnerFunc.

Static _keyFields

_keyFields: Array<Selectable<CustSalesPartnerFunc>> = [CustSalesPartnerFunc.CUSTOMER, CustSalesPartnerFunc.SALES_ORGANIZATION, CustSalesPartnerFunc.DISTRIBUTION_CHANNEL, CustSalesPartnerFunc.DIVISION, CustSalesPartnerFunc.PARTNER_COUNTER, CustSalesPartnerFunc.PARTNER_FUNCTION]

All key fields of the CustSalesPartnerFunc entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_BUSINESS_PARTNER"

Technical service name for CustSalesPartnerFunc.

Methods

Static builder

Static requestBuilder

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

    Returns CustSalesPartnerFuncRequestBuilder

    A CustSalesPartnerFunc request builder.