Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • Entity
    • BusinessPartner

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Returns BusinessPartner

Properties

Protected _customFields

_customFields: MapType<any>

A mapper representing custom fields in an entity. Custom fields are represented by their field names and the corresponding values. A custom field can be added or updated using setCustomField method.

Protected _versionIdentifier

_versionIdentifier: string

The current ETag version of the entity in the remote system. The ETag identified the version of the in the remote system. It will be automatically set in the "if-match" header of update requests and can be set as a custom header for delete requests. When no ETag is provided by the remote system the value of this variable defaults to "*".

Optional academicTitle

academicTitle: undefined | string

Academic Title: Key. Key for academic title. You can define a key for an academic title in Customizing. Maximum length: 4.

nullable

Optional additionalLastName

additionalLastName: undefined | string

Other Last Name of a Person. Maximum length: 40.

nullable

Optional authorizationGroup

authorizationGroup: undefined | string

Authorization Group. You can use authorization groups to stipulate which business partners a user is allowed to process. Use the following authorization object:'Business partners: authorization groups' (B_BUPA_GRP).The system only checks this authorization if you made an entry in the "Authorization group" field for the business partner. Otherwise, any user may process the business partner. Maximum length: 4.

nullable

Optional birthDate

birthDate: Moment

Date of Birth of Business Partner.

nullable

businessPartner

businessPartner: string

Business Partner Number. Key identifying a business partner in the SAP system. The key is unique within a client. Maximum length: 10.

Optional businessPartnerCategory

businessPartnerCategory: undefined | string

Business Partner Category. Category under which a business partner is classified. You can distinguish between the following business partner categories:OrganizationNatural personGroup of natural persons or organizationsThe processing screens for the business partner categories are set up differently.So, for example, the screen for an organization contains the field Legal form, but this is not needed in the screen for a natural person. Maximum length: 1.

nullable

Optional businessPartnerFullName

businessPartnerFullName: undefined | string

Business Partner Full Name. Maximum length: 81.

nullable

Optional businessPartnerGrouping

businessPartnerGrouping: undefined | string

Business Partner Grouping. Classification assigned when creating a business partner. Assign each business partner to a grouping when you create the business partner. The grouping determines the number range. You cannot change the assignment afterwards.You can define the groupings, their descriptions, the associated number range and other attributes in Customizing.You can define standard groupings for the internal and the external number assignment.For each grouping create a number range.When you create a business partner, the entry in the grouping field determines whether and how an entry is made in the business partner number field. Maximum length: 4.

nullable

Optional businessPartnerIdByExtSystem

businessPartnerIdByExtSystem: undefined | string

Business Partner Number in External System. Business partner number from an external system or a legacy system. If the current business partner is known under a different number in an external system, you can store this number here for information purposes.Direct input gives you the option of maintaining a business partner by specifying the external business partner number. If you maintain business partner data in your legacy system, you can transmit changes made to business partners to the SAP system without having to know the SAP business partner number in the legacy system. Maximum length: 20.

nullable

Optional businessPartnerIsBlocked

businessPartnerIsBlocked: undefined | false | true

Central Block for Business Partner. If the business partner is blocked centrally, certain activities cannot be executed.

nullable

Optional businessPartnerName

businessPartnerName: undefined | string

Business Partner Name. Maximum length: 81.

nullable

Optional businessPartnerType

businessPartnerType: undefined | string

Business Partner Type. You can use the business partner type to group business partners according to your own criteria in Customizing (IMG). In Customizing you can show or hide fields for data entry, depending on the requirements of the relevant business partner type.Select a business partner type. You can obtain help by pressing the F4 key. Maximum length: 4.

nullable

Optional businessPartnerUuid

businessPartnerUuid: undefined | string

Business Partner GUID.

nullable

Optional correspondenceLanguage

correspondenceLanguage: undefined | string

Business Partner: Correspondence Language. Correspondence language (written) for business partners in the 'Person' category. Maintain the correspondence language for business partners in the 'Organization' and 'Group' category with the address (communication). When transferring data (direct input), make sure that for a'Person', the field 'LANGU_CORR' and for an'Organization' or "Group" the field 'LANGU'has an entry. Maximum length: 2.

nullable

Optional createdByUser

createdByUser: undefined | string

User who created the object. Maximum length: 12.

nullable

Optional creationDate

creationDate: Moment

Date on which the object was created.

nullable

Optional creationTime

creationTime: Time

Time at which the object was created.

nullable

Optional customer

customer: undefined | string

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

nullable

Optional eTag

eTag: undefined | string

E Tag. Maximum length: 26.

nullable

Optional firstName

firstName: undefined | string

First Name of Business Partner (Person). Maximum length: 40.

nullable

Optional formOfAddress

formOfAddress: undefined | string

Form-of-Address Key. Key for form of address text. You can also define a form of address text in Customizing.The form of address text can be maintained in different languages. Maximum length: 4.

nullable

Optional groupBusinessPartnerName1

groupBusinessPartnerName1: undefined | string

Name 1 (group). First name field for business partners in the Group category. Maximum length: 40.

nullable

Optional groupBusinessPartnerName2

groupBusinessPartnerName2: undefined | string

Name 2 (group). Second name field for business partners in the Group category. Maximum length: 40.

nullable

Optional independentAddressId

independentAddressId: undefined | string

Address Number. Internal key for identifying the address for communication data that spans all addresses in Business Partner. For more information on the significance and usage of the address number, see the documentation for Business Address Services (BAS). Maximum length: 10.

nullable

Optional industry

industry: undefined | string

Industry sector. An industry sector is the term used to classify a company according to its main business activity. You can assign an industry sector to business partners in the category 'Organization'RetailBanksServicesIndustryHealth servicePublic sectorMedia. Maximum length: 10.

nullable

Optional internationalLocationNumber1

internationalLocationNumber1: undefined | string

International location number (part 1). Here you enter the first 7 digits of the international location number. The International Location Number (ILN) is assigned (in Germany by the Centrale for Coorganisation GmbH)) when a company is founded. It consists of 13 digits, the last digit being the check digit. There are two categories of location numbers:Participants who only need an ILN to cleary and unmistakably identify themselves for communication with the business partner are given a category 1 ILN. This cannot be used to identify articles by means of EAN.Participants who wish to assign the location numbers for their own enterprise areas are given a category 2 ILN. For a category 2 ILN, digits 1 to 7 are described as basis number. This is used as basis for the creation of article numbers (EAN). Maximum length: 7.

nullable

Optional internationalLocationNumber2

internationalLocationNumber2: undefined | string

International location number (Part 2). Here, you enter digits 8-12 of the 13-digit international location number. The international location number (ILN) is assigned when establishing a company (by the "Zentrale für Coorganisation GmbH" in Germany). It consists of 13 digits, the last of which is the check digit. There are two types of international location numbers:Subscribers who only need one ILN to identify themselves in communication with the business partner are given an ILN of type 1. These cannot be used for identifying articles by means of EAN.Subscribers who need to assign location numbers for their own company areas are given an ILN of type 2. Positions 1 through 7 of the ILN type 2 are known as the basis number. This basis number forms the basis for article numbers (EAN). Maximum length: 5.

nullable

Optional internationalLocationNumber3

internationalLocationNumber3: undefined | string

Check digit for the international location number. The check digit is derived from a special check digit procedure from digits of the previous international location numbers. In this way, you can check whether the ILN entered is actually valid. Maximum length: 1.

nullable

Optional isFemale

isFemale: undefined | false | true

Selection: Business partner is female.

nullable

Optional isMale

isMale: undefined | false | true

Selection: Business partner is male.

nullable

Optional isMarkedForArchiving

isMarkedForArchiving: undefined | false | true

Central Archiving Flag. Establishes if the business partner is meant to be archived. If the indicator is set, the relevant business partner can be archived from the view of the business partner administration.If the check of the data to be archived shows, for example, that there are still active business transactions the archiving of the business partner data is prevented even if the indicator is set.If the indicator is not set, the business partner will not be taken into consideration during archiving.

nullable

Optional isNaturalPerson

isNaturalPerson: undefined | string

Business Partner Is a Natural Person Under the Tax Laws. Indicator through which a distinction between natural and legal persons can be made during tax reporting. Is used in Italy and Mexico ,among other countries.Brasil: If the indicator is not set, 'CGC' is relevant in tax number 1. If the indicator is set, 'CPF' is relevant in tax number 2.Colombia: In the case of some natural persons, the NIT number does not have a check digit. In this case you should set this indicator and the check is deactivated. Maximum length: 1.

nullable

Optional isSexUnknown

isSexUnknown: undefined | false | true

Selection: Sex of business partner is not known.

nullable

Optional language

language: undefined | string

Business partner: Language. Language for verbal communication with a business partner. This language may differ from the language(s) defined for written correspondence. Maximum length: 2.

nullable

Optional lastChangeDate

lastChangeDate: Moment

Date when object was last changed.

nullable

Optional lastChangeTime

lastChangeTime: Time

Time at which object was last changed.

nullable

Optional lastChangedByUser

lastChangedByUser: undefined | string

Last user to change object. Maximum length: 12.

nullable

Optional lastName

lastName: undefined | string

Last Name of Business Partner (Person). Maximum length: 40.

nullable

Optional legalForm

legalForm: undefined | string

BP: Legal form of organization. Denotes certain legal norms that are of significance for the organization of a company. For business partners in the category "Organization", you can state the legal form of the company. This is for information purposes only.Stock corporation (AG in Germany)Limited liability company (GmbH in Germany). Maximum length: 2.

nullable

Optional middleName

middleName: undefined | string

Middle Name or Second Forename of a Person. Maximum length: 40.

nullable

Optional nameCountry

nameCountry: undefined | string

Country for Name Format Rule. The name format rule country and the name format rule key together uniquely identify a formatting rule. A country can have several formats which correspond to different rules. Formatting rules describe the format of a person name. Maximum length: 3.

nullable

Optional nameFormat

nameFormat: undefined | string

Name format. See Name format. Maximum length: 2.

nullable

Optional organizationBpName1

organizationBpName1: undefined | string

Name 1 of organization. First name field for business partners in the Organization category. Maximum length: 40.

nullable

Optional organizationBpName2

organizationBpName2: undefined | string

Name 2 of organization. Second name field for business partners in the Organization category. Maximum length: 40.

nullable

Optional organizationBpName3

organizationBpName3: undefined | string

Name 3 of organization. Third name field for business partners in the Organization category. Maximum length: 40.

nullable

Optional organizationBpName4

organizationBpName4: undefined | string

Name 4 of organization. Fourth name field for business partners in the Organization category. Maximum length: 40.

nullable

Optional organizationFoundationDate

organizationFoundationDate: Moment

Date organization founded. Indicates the official registration of a company in the Commercial Register. If a company is not officially registered in the Commercial Register, it has to use some type of text addition, such as foundation pending, when referring to the legal form.

nullable

Optional organizationLiquidationDate

organizationLiquidationDate: Moment

Liquidation date of organization. Term for the end of bankruptcy proceedings. This date also indicates that the company no longer exists.

nullable

Optional personFullName

personFullName: undefined | string

Full Name. States the complete name of a person. The complete name is generally generated and saved by the Business Address Services (BAS) according to country-specific rules from the individual name components (without the form of address).If, during the formatting of an address, you want to use an alternative name, you can manually format the alternative name here. Maximum length: 80.

nullable

Optional personNumber

personNumber: undefined | string

Person number. Internal key for identifying a person in Business Address Services. For more information about the meaning and use of the person number and Business Address Services concepts, see the function group SZA0 documentation. Maximum length: 10.

nullable

Protected remoteState

remoteState: object

The remote state of the entity. Remote state refers to the last known state of the entity on the remote system from which it has been retrieved or to which it has been posted. It is stored as map, where the keys are stored in the format of the original OData properties.

Type declaration

  • [keys: string]: any

Optional searchTerm1

searchTerm1: undefined | string

Search term 1 for business partner. Denotes the term that you define for a business partner, and via which you can restrict the search for a business partner in the business partner search or in the locator. Maximum length: 20.

nullable

Optional supplier

supplier: undefined | string

Account Number of Supplier. Specifies an alphanumeric key that uniquely identifies the supplier in the SAP system. Maximum length: 10.

nullable

toBuPaIdentification

toBuPaIdentification: BuPaIdentification[]

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

toBuPaIndustry

toBuPaIndustry: BuPaIndustry[]

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

toBusinessPartnerAddress

toBusinessPartnerAddress: BusinessPartnerAddress[]

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

toBusinessPartnerBank

toBusinessPartnerBank: BusinessPartnerBank[]

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

toBusinessPartnerContact

toBusinessPartnerContact: BusinessPartnerContact[]

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

toBusinessPartnerRole

toBusinessPartnerRole: BusinessPartnerRole[]

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

toBusinessPartnerTax

toBusinessPartnerTax: BusinessPartnerTaxNumber[]

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

toCustomer

toCustomer: Customer

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

toSupplier

toSupplier: Supplier

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

Optional tradingPartner

tradingPartner: undefined | string

Company ID of trading partner. Company ID standard for the whole group. Maximum length: 6.

nullable

Static ACADEMIC_TITLE

ACADEMIC_TITLE: StringField<BusinessPartner> = new StringField('AcademicTitle', BusinessPartner, 'Edm.String')

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

Static ADDITIONAL_LAST_NAME

ADDITIONAL_LAST_NAME: StringField<BusinessPartner> = new StringField('AdditionalLastName', BusinessPartner, 'Edm.String')

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

Static ALL_FIELDS

ALL_FIELDS: AllFields<BusinessPartner> = new AllFields('*', BusinessPartner)

All fields selector.

Static AUTHORIZATION_GROUP

AUTHORIZATION_GROUP: StringField<BusinessPartner> = new StringField('AuthorizationGroup', BusinessPartner, '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 BIRTH_DATE

BIRTH_DATE: DateField<BusinessPartner> = new DateField('BirthDate', BusinessPartner, 'Edm.DateTime')

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

Static BUSINESS_PARTNER

BUSINESS_PARTNER: StringField<BusinessPartner> = new StringField('BusinessPartner', BusinessPartner, 'Edm.String')

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

Static BUSINESS_PARTNER_CATEGORY

BUSINESS_PARTNER_CATEGORY: StringField<BusinessPartner> = new StringField('BusinessPartnerCategory', BusinessPartner, 'Edm.String')

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

Static BUSINESS_PARTNER_FULL_NAME

BUSINESS_PARTNER_FULL_NAME: StringField<BusinessPartner> = new StringField('BusinessPartnerFullName', BusinessPartner, 'Edm.String')

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

Static BUSINESS_PARTNER_GROUPING

BUSINESS_PARTNER_GROUPING: StringField<BusinessPartner> = new StringField('BusinessPartnerGrouping', BusinessPartner, 'Edm.String')

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

Static BUSINESS_PARTNER_ID_BY_EXT_SYSTEM

BUSINESS_PARTNER_ID_BY_EXT_SYSTEM: StringField<BusinessPartner> = new StringField('BusinessPartnerIDByExtSystem', BusinessPartner, 'Edm.String')

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

Static BUSINESS_PARTNER_IS_BLOCKED

BUSINESS_PARTNER_IS_BLOCKED: BooleanField<BusinessPartner> = new BooleanField('BusinessPartnerIsBlocked', BusinessPartner, 'Edm.Boolean')

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

Static BUSINESS_PARTNER_NAME

BUSINESS_PARTNER_NAME: StringField<BusinessPartner> = new StringField('BusinessPartnerName', BusinessPartner, 'Edm.String')

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

Static BUSINESS_PARTNER_TYPE

BUSINESS_PARTNER_TYPE: StringField<BusinessPartner> = new StringField('BusinessPartnerType', BusinessPartner, 'Edm.String')

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

Static BUSINESS_PARTNER_UUID

BUSINESS_PARTNER_UUID: StringField<BusinessPartner> = new StringField('BusinessPartnerUUID', BusinessPartner, 'Edm.Guid')

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

Static CORRESPONDENCE_LANGUAGE

CORRESPONDENCE_LANGUAGE: StringField<BusinessPartner> = new StringField('CorrespondenceLanguage', BusinessPartner, 'Edm.String')

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

Static CREATED_BY_USER

CREATED_BY_USER: StringField<BusinessPartner> = new StringField('CreatedByUser', BusinessPartner, 'Edm.String')

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

Static CREATION_DATE

CREATION_DATE: DateField<BusinessPartner> = new DateField('CreationDate', BusinessPartner, 'Edm.DateTime')

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

Static CREATION_TIME

CREATION_TIME: TimeField<BusinessPartner> = new TimeField('CreationTime', BusinessPartner, 'Edm.Time')

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

Static CUSTOMER

CUSTOMER: StringField<BusinessPartner> = new StringField('Customer', BusinessPartner, '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 E_TAG

E_TAG: StringField<BusinessPartner> = new StringField('ETag', BusinessPartner, 'Edm.String')

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

Static FIRST_NAME

FIRST_NAME: StringField<BusinessPartner> = new StringField('FirstName', BusinessPartner, 'Edm.String')

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

Static FORM_OF_ADDRESS

FORM_OF_ADDRESS: StringField<BusinessPartner> = new StringField('FormOfAddress', BusinessPartner, 'Edm.String')

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

Static GROUP_BUSINESS_PARTNER_NAME_1

GROUP_BUSINESS_PARTNER_NAME_1: StringField<BusinessPartner> = new StringField('GroupBusinessPartnerName1', BusinessPartner, 'Edm.String')

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

Static GROUP_BUSINESS_PARTNER_NAME_2

GROUP_BUSINESS_PARTNER_NAME_2: StringField<BusinessPartner> = new StringField('GroupBusinessPartnerName2', BusinessPartner, 'Edm.String')

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

Static INDEPENDENT_ADDRESS_ID

INDEPENDENT_ADDRESS_ID: StringField<BusinessPartner> = new StringField('IndependentAddressID', BusinessPartner, 'Edm.String')

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

Static INDUSTRY

INDUSTRY: StringField<BusinessPartner> = new StringField('Industry', BusinessPartner, 'Edm.String')

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

Static INTERNATIONAL_LOCATION_NUMBER_1

INTERNATIONAL_LOCATION_NUMBER_1: StringField<BusinessPartner> = new StringField('InternationalLocationNumber1', BusinessPartner, 'Edm.String')

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

Static INTERNATIONAL_LOCATION_NUMBER_2

INTERNATIONAL_LOCATION_NUMBER_2: StringField<BusinessPartner> = new StringField('InternationalLocationNumber2', BusinessPartner, 'Edm.String')

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

Static INTERNATIONAL_LOCATION_NUMBER_3

INTERNATIONAL_LOCATION_NUMBER_3: StringField<BusinessPartner> = new StringField('InternationalLocationNumber3', BusinessPartner, 'Edm.String')

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

Static IS_FEMALE

IS_FEMALE: BooleanField<BusinessPartner> = new BooleanField('IsFemale', BusinessPartner, 'Edm.Boolean')

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

Static IS_MALE

IS_MALE: BooleanField<BusinessPartner> = new BooleanField('IsMale', BusinessPartner, 'Edm.Boolean')

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

Static IS_MARKED_FOR_ARCHIVING

IS_MARKED_FOR_ARCHIVING: BooleanField<BusinessPartner> = new BooleanField('IsMarkedForArchiving', BusinessPartner, 'Edm.Boolean')

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

Static IS_NATURAL_PERSON

IS_NATURAL_PERSON: StringField<BusinessPartner> = new StringField('IsNaturalPerson', BusinessPartner, 'Edm.String')

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

Static IS_SEX_UNKNOWN

IS_SEX_UNKNOWN: BooleanField<BusinessPartner> = new BooleanField('IsSexUnknown', BusinessPartner, 'Edm.Boolean')

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

Static LANGUAGE

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

LAST_CHANGED_BY_USER: StringField<BusinessPartner> = new StringField('LastChangedByUser', BusinessPartner, 'Edm.String')

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

Static LAST_CHANGE_DATE

LAST_CHANGE_DATE: DateField<BusinessPartner> = new DateField('LastChangeDate', BusinessPartner, 'Edm.DateTime')

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

Static LAST_CHANGE_TIME

LAST_CHANGE_TIME: TimeField<BusinessPartner> = new TimeField('LastChangeTime', BusinessPartner, 'Edm.Time')

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

Static LAST_NAME

LAST_NAME: StringField<BusinessPartner> = new StringField('LastName', BusinessPartner, 'Edm.String')

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

Static LEGAL_FORM

LEGAL_FORM: StringField<BusinessPartner> = new StringField('LegalForm', BusinessPartner, 'Edm.String')

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

Static MIDDLE_NAME

MIDDLE_NAME: StringField<BusinessPartner> = new StringField('MiddleName', BusinessPartner, 'Edm.String')

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

Static NAME_COUNTRY

NAME_COUNTRY: StringField<BusinessPartner> = new StringField('NameCountry', BusinessPartner, 'Edm.String')

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

Static NAME_FORMAT

NAME_FORMAT: StringField<BusinessPartner> = new StringField('NameFormat', BusinessPartner, 'Edm.String')

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

Static ORGANIZATION_BP_NAME_1

ORGANIZATION_BP_NAME_1: StringField<BusinessPartner> = new StringField('OrganizationBPName1', BusinessPartner, 'Edm.String')

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

Static ORGANIZATION_BP_NAME_2

ORGANIZATION_BP_NAME_2: StringField<BusinessPartner> = new StringField('OrganizationBPName2', BusinessPartner, 'Edm.String')

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

Static ORGANIZATION_BP_NAME_3

ORGANIZATION_BP_NAME_3: StringField<BusinessPartner> = new StringField('OrganizationBPName3', BusinessPartner, 'Edm.String')

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

Static ORGANIZATION_BP_NAME_4

ORGANIZATION_BP_NAME_4: StringField<BusinessPartner> = new StringField('OrganizationBPName4', BusinessPartner, 'Edm.String')

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

Static ORGANIZATION_FOUNDATION_DATE

ORGANIZATION_FOUNDATION_DATE: DateField<BusinessPartner> = new DateField('OrganizationFoundationDate', BusinessPartner, 'Edm.DateTime')

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

Static ORGANIZATION_LIQUIDATION_DATE

ORGANIZATION_LIQUIDATION_DATE: DateField<BusinessPartner> = new DateField('OrganizationLiquidationDate', BusinessPartner, 'Edm.DateTime')

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

Static PERSON_FULL_NAME

PERSON_FULL_NAME: StringField<BusinessPartner> = new StringField('PersonFullName', BusinessPartner, 'Edm.String')

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

Static PERSON_NUMBER

PERSON_NUMBER: StringField<BusinessPartner> = new StringField('PersonNumber', BusinessPartner, 'Edm.String')

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

Static SEARCH_TERM_1

SEARCH_TERM_1: StringField<BusinessPartner> = new StringField('SearchTerm1', BusinessPartner, 'Edm.String')

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

Static SUPPLIER

SUPPLIER: StringField<BusinessPartner> = new StringField('Supplier', BusinessPartner, 'Edm.String')

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

Static TO_BUSINESS_PARTNER_ADDRESS

TO_BUSINESS_PARTNER_ADDRESS: Link<BusinessPartner, BusinessPartnerAddress> = new Link('to_BusinessPartnerAddress', BusinessPartner, BusinessPartnerAddress)

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

Static TO_BUSINESS_PARTNER_BANK

TO_BUSINESS_PARTNER_BANK: Link<BusinessPartner, BusinessPartnerBank> = new Link('to_BusinessPartnerBank', BusinessPartner, BusinessPartnerBank)

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

Static TO_BUSINESS_PARTNER_CONTACT

TO_BUSINESS_PARTNER_CONTACT: Link<BusinessPartner, BusinessPartnerContact> = new Link('to_BusinessPartnerContact', BusinessPartner, BusinessPartnerContact)

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

Static TO_BUSINESS_PARTNER_ROLE

TO_BUSINESS_PARTNER_ROLE: Link<BusinessPartner, BusinessPartnerRole> = new Link('to_BusinessPartnerRole', BusinessPartner, BusinessPartnerRole)

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

Static TO_BUSINESS_PARTNER_TAX

TO_BUSINESS_PARTNER_TAX: Link<BusinessPartner, BusinessPartnerTaxNumber> = new Link('to_BusinessPartnerTax', BusinessPartner, BusinessPartnerTaxNumber)

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

Static TO_BU_PA_IDENTIFICATION

TO_BU_PA_IDENTIFICATION: Link<BusinessPartner, BuPaIdentification> = new Link('to_BuPaIdentification', BusinessPartner, BuPaIdentification)

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

Static TO_BU_PA_INDUSTRY

TO_BU_PA_INDUSTRY: Link<BusinessPartner, BuPaIndustry> = new Link('to_BuPaIndustry', BusinessPartner, BuPaIndustry)

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

Static TO_CUSTOMER

TO_CUSTOMER: OneToOneLink<BusinessPartner, Customer> = new OneToOneLink('to_Customer', BusinessPartner, Customer)

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

Static TO_SUPPLIER

TO_SUPPLIER: OneToOneLink<BusinessPartner, Supplier> = new OneToOneLink('to_Supplier', BusinessPartner, Supplier)

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

Static TRADING_PARTNER

TRADING_PARTNER: StringField<BusinessPartner> = new StringField('TradingPartner', BusinessPartner, 'Edm.String')

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

Static _allFields

_allFields: Array<StringField<BusinessPartner> | DateField<BusinessPartner> | TimeField<BusinessPartner> | BooleanField<BusinessPartner> | Link<BusinessPartner, BuPaIdentification> | Link<BusinessPartner, BuPaIndustry> | Link<BusinessPartner, BusinessPartnerAddress> | Link<BusinessPartner, BusinessPartnerBank> | Link<BusinessPartner, BusinessPartnerContact> | Link<BusinessPartner, BusinessPartnerRole> | Link<BusinessPartner, BusinessPartnerTaxNumber> | OneToOneLink<BusinessPartner, Customer> | OneToOneLink<BusinessPartner, Supplier>> = [BusinessPartner.BUSINESS_PARTNER,BusinessPartner.CUSTOMER,BusinessPartner.SUPPLIER,BusinessPartner.ACADEMIC_TITLE,BusinessPartner.AUTHORIZATION_GROUP,BusinessPartner.BUSINESS_PARTNER_CATEGORY,BusinessPartner.BUSINESS_PARTNER_FULL_NAME,BusinessPartner.BUSINESS_PARTNER_GROUPING,BusinessPartner.BUSINESS_PARTNER_NAME,BusinessPartner.BUSINESS_PARTNER_UUID,BusinessPartner.CORRESPONDENCE_LANGUAGE,BusinessPartner.CREATED_BY_USER,BusinessPartner.CREATION_DATE,BusinessPartner.CREATION_TIME,BusinessPartner.FIRST_NAME,BusinessPartner.FORM_OF_ADDRESS,BusinessPartner.INDUSTRY,BusinessPartner.INTERNATIONAL_LOCATION_NUMBER_1,BusinessPartner.INTERNATIONAL_LOCATION_NUMBER_2,BusinessPartner.IS_FEMALE,BusinessPartner.IS_MALE,BusinessPartner.IS_NATURAL_PERSON,BusinessPartner.IS_SEX_UNKNOWN,BusinessPartner.LANGUAGE,BusinessPartner.LAST_CHANGE_DATE,BusinessPartner.LAST_CHANGE_TIME,BusinessPartner.LAST_CHANGED_BY_USER,BusinessPartner.LAST_NAME,BusinessPartner.LEGAL_FORM,BusinessPartner.ORGANIZATION_BP_NAME_1,BusinessPartner.ORGANIZATION_BP_NAME_2,BusinessPartner.ORGANIZATION_BP_NAME_3,BusinessPartner.ORGANIZATION_BP_NAME_4,BusinessPartner.ORGANIZATION_FOUNDATION_DATE,BusinessPartner.ORGANIZATION_LIQUIDATION_DATE,BusinessPartner.SEARCH_TERM_1,BusinessPartner.ADDITIONAL_LAST_NAME,BusinessPartner.BIRTH_DATE,BusinessPartner.BUSINESS_PARTNER_IS_BLOCKED,BusinessPartner.BUSINESS_PARTNER_TYPE,BusinessPartner.E_TAG,BusinessPartner.GROUP_BUSINESS_PARTNER_NAME_1,BusinessPartner.GROUP_BUSINESS_PARTNER_NAME_2,BusinessPartner.INDEPENDENT_ADDRESS_ID,BusinessPartner.INTERNATIONAL_LOCATION_NUMBER_3,BusinessPartner.MIDDLE_NAME,BusinessPartner.NAME_COUNTRY,BusinessPartner.NAME_FORMAT,BusinessPartner.PERSON_FULL_NAME,BusinessPartner.PERSON_NUMBER,BusinessPartner.IS_MARKED_FOR_ARCHIVING,BusinessPartner.BUSINESS_PARTNER_ID_BY_EXT_SYSTEM,BusinessPartner.TRADING_PARTNER,BusinessPartner.TO_BU_PA_IDENTIFICATION,BusinessPartner.TO_BU_PA_INDUSTRY,BusinessPartner.TO_BUSINESS_PARTNER_ADDRESS,BusinessPartner.TO_BUSINESS_PARTNER_BANK,BusinessPartner.TO_BUSINESS_PARTNER_CONTACT,BusinessPartner.TO_BUSINESS_PARTNER_ROLE,BusinessPartner.TO_BUSINESS_PARTNER_TAX,BusinessPartner.TO_CUSTOMER,BusinessPartner.TO_SUPPLIER]

All fields of the BusinessPartner entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_BusinessPartner"

Technical entity name for BusinessPartner.

Static _keyFields

_keyFields: Array<Selectable<BusinessPartner>> = [BusinessPartner.BUSINESS_PARTNER]

All key fields of the BusinessPartner entity.

Static _keys

_keys: object = BusinessPartner._keyFields.reduce((acc: { [keys: string]: Selectable<BusinessPartner> }, field: Selectable<BusinessPartner>) => {acc[field._fieldName] = field;return acc;}, {})

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

Type declaration

Static _serviceName

_serviceName: string = "API_BUSINESS_PARTNER"
deprecated

Since v1.0.1 Use _defaultServicePath instead. Technical service name for BusinessPartner.

Accessors

versionIdentifier

  • get versionIdentifier(): string
  • ETag version identifier accessor.

    Returns string

    The ETag version identifier of the retrieved entity, returns undefined if not retrieved

Methods

Protected getCurrentMapKeys

  • getCurrentMapKeys(): this
  • Returns a map of all defined fields in entity to their current values.

    Returns this

    Entity with all defined entity fields

getCustomField

  • getCustomField(fieldName: string): any
  • Custom field value getter.

    Parameters

    • fieldName: string

      The name of the custom field

    Returns any

    The value of the corresponding custom field

getCustomFields

  • getCustomFields(): MapType<any>
  • Returns a map that contains all entity custom fields.

    Returns MapType<any>

    A map of all defined custom fields in the entity

getUpdatedCustomFields

  • getUpdatedCustomFields(): MapType<any>
  • Returns all updated custom field properties compared to the last known remote state.

    Returns MapType<any>

    A map containing all updated custom properties, with their new values

getUpdatedProperties

  • getUpdatedProperties(): this
  • Returns all changed properties compared to the last known remote state. The returned properties does not include custom fields. Use getUpdatedCustomFields, if updated custom fields are needed.

    Returns this

    Entity with all properties that changed

hasCustomField

  • hasCustomField(fieldName: string): boolean
  • Validates whether a custom field exists in the entity.

    Parameters

    • fieldName: string

      The name of the custom field to update

    Returns boolean

    A boolean value, that indicates whether a custom field is defined in entity

initializeCustomFields

  • initializeCustomFields(customFields: MapType<any>): this
  • Sets all retrieved custom fields in entity.

    Parameters

    • customFields: MapType<any>

      Extracted custom fields from a retrieved entity

    Returns this

    A boolean value, that indicates the existence of the field in entity

Protected isConflictingCustomField

  • isConflictingCustomField(customFieldName: string): boolean
  • Validates whether a field name does not conflict with an original field name and thus can be defined as custom fields.

    Parameters

    • customFieldName: string

      Field name to check

    Returns boolean

    Boolean value that describes whether a field name can be defined as custom field

setCustomField

  • setCustomField(fieldName: string, value: any): this
  • Sets a new custom field in the entity or updates it. Throws an error, if the provided custom field name is already defined by an original field in entity.

    Parameters

    • fieldName: string

      The name of the custom field to update

    • value: any

      The value of the field

    Returns this

    The entity itself, to facilitate method chaining

setOrInitializeRemoteState

  • setOrInitializeRemoteState(state?: MapType<any>): this
  • Initializes or sets the remoteState of the entity. This function is called on all read, create and update requests. This function should be called after initializeCustomFields, if custom fields are defined.

    deprecated

    Since 1.12.0. Will be removed in version 2.0.

    Parameters

    • Optional state: MapType<any>

      State to be set as remote state

    Returns this

    The entity itself, to facilitate method chaining

setVersionIdentifier

  • setVersionIdentifier(etag: string | undefined): this
  • Set the ETag version identifier of the retrieved entity.

    Parameters

    • etag: string | undefined

      The returned ETag version of the entity

    Returns this

    The entity itself, to facilitate method chaining

toJSON

  • toJSON(): object
  • Overwrites the default toJSON method so that all instance variables as well as all custom fields of the entity are returned.

    Returns object

    An object containing all instance variables + custom fields.

    • [key: string]: any

Static builder

  • Returns an entity builder to construct instances BusinessPartner.

    Returns EntityBuilderType<BusinessPartner, BusinessPartnerTypeForceMandatory>

    A builder that constructs instances of entity type BusinessPartner.

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<BusinessPartner>

    A builder that constructs instances of entity type BusinessPartner.

Static Protected customFieldSelector

  • customFieldSelector<EntityT>(fieldName: string, entityConstructor: Constructable<EntityT>): CustomField<EntityT>
  • Type parameters

    • EntityT: Entity

    Parameters

    • fieldName: string
    • entityConstructor: Constructable<EntityT>

    Returns CustomField<EntityT>

Static Protected entityBuilder

  • entityBuilder<EntityT, EntityTypeForceMandatoryT>(entityConstructor: Constructable<EntityT, EntityTypeForceMandatoryT>): EntityBuilderType<EntityT, EntityTypeForceMandatoryT>
  • Type parameters

    • EntityT: Entity

    • EntityTypeForceMandatoryT

    Parameters

    • entityConstructor: Constructable<EntityT, EntityTypeForceMandatoryT>

    Returns EntityBuilderType<EntityT, EntityTypeForceMandatoryT>

Static requestBuilder

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

    Returns BusinessPartnerRequestBuilder

    A BusinessPartner request builder.