import { Entity, DefaultDeSerializers, DeSerializers, DeserializedType } from '@sap-cloud-sdk/odata-v2'; import { BuPaIdentification, BuPaIdentificationType } from './BuPaIdentification'; import { BuPaIndustry, BuPaIndustryType } from './BuPaIndustry'; import { BusinessPartnerAddress, BusinessPartnerAddressType } from './BusinessPartnerAddress'; import { BusinessPartnerBank, BusinessPartnerBankType } from './BusinessPartnerBank'; import { BusinessPartnerContact, BusinessPartnerContactType } from './BusinessPartnerContact'; import { BusinessPartnerRole, BusinessPartnerRoleType } from './BusinessPartnerRole'; import { BusinessPartnerTaxNumber, BusinessPartnerTaxNumberType } from './BusinessPartnerTaxNumber'; import { Customer, CustomerType } from './Customer'; import { Supplier, SupplierType } from './Supplier'; /** * This class represents the entity "A_BusinessPartner" of service "API_BUSINESS_PARTNER". */ export declare class BusinessPartner extends Entity implements BusinessPartnerType { /** * Technical entity name for BusinessPartner. */ static _entityName: string; /** * Default url path for the according service. */ static _defaultServicePath: string; /** * All key fields of the BusinessPartner entity */ static _keys: string[]; /** * Business Partner Number. * Key identifying a business partner in the SAP system. The key is unique within a client. * Maximum length: 10. */ businessPartner: DeserializedType; /** * Customer Number. * Gives an alphanumeric key, which clearly identifies the customer or vendor in the SAP system. * Maximum length: 10. * @nullable */ customer?: DeserializedType | null; /** * Account Number of Supplier. * Specifies an alphanumeric key that uniquely identifies the supplier in the SAP system. * Maximum length: 10. * @nullable */ supplier?: DeserializedType | null; /** * Academic Title: Key. * Key for academic title. * You can define a key for an academic title in Customizing. * Maximum length: 4. * @nullable */ academicTitle?: DeserializedType | null; /** * 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 */ authorizationGroup?: DeserializedType | null; /** * 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 */ businessPartnerCategory?: DeserializedType | null; /** * Business Partner Full Name. * Maximum length: 81. * @nullable */ businessPartnerFullName?: DeserializedType | null; /** * 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 */ businessPartnerGrouping?: DeserializedType | null; /** * Business Partner Name. * Maximum length: 81. * @nullable */ businessPartnerName?: DeserializedType | null; /** * Business Partner GUID. * @nullable */ businessPartnerUuid?: DeserializedType | null; /** * 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 */ correspondenceLanguage?: DeserializedType | null; /** * User who created the object. * Maximum length: 12. * @nullable */ createdByUser?: DeserializedType | null; /** * Date on which the object was created. * @nullable */ creationDate?: DeserializedType | null; /** * Time at which the object was created. * @nullable */ creationTime?: DeserializedType | null; /** * First name of business partner (person). * Maximum length: 40. * @nullable */ firstName?: DeserializedType | null; /** * 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 */ formOfAddress?: DeserializedType | null; /** * 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 */ industry?: DeserializedType | null; /** * 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 */ internationalLocationNumber1?: DeserializedType | null; /** * 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 */ internationalLocationNumber2?: DeserializedType | null; /** * Selection: Business partner is female. * @nullable */ isFemale?: DeserializedType | null; /** * Selection: Business partner is male. * @nullable */ isMale?: DeserializedType | null; /** * 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 */ isNaturalPerson?: DeserializedType | null; /** * Selection: Sex of business partner is not known. * @nullable */ isSexUnknown?: DeserializedType | null; /** * Gender of Business Partner (Person). * Maximum length: 1. * @nullable */ genderCodeName?: DeserializedType | null; /** * 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 */ language?: DeserializedType | null; /** * Date when object was last changed. * @nullable */ lastChangeDate?: DeserializedType | null; /** * Time at which object was last changed. * @nullable */ lastChangeTime?: DeserializedType | null; /** * Last user to change object. * Maximum length: 12. * @nullable */ lastChangedByUser?: DeserializedType | null; /** * Last name of business partner (person). * Maximum length: 40. * @nullable */ lastName?: DeserializedType | null; /** * 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 */ legalForm?: DeserializedType | null; /** * Name 1 of organization. * First name field for business partners in the Organization category. * Maximum length: 40. * @nullable */ organizationBpName1?: DeserializedType | null; /** * Name 2 of organization. * Second name field for business partners in the Organization category. * Maximum length: 40. * @nullable */ organizationBpName2?: DeserializedType | null; /** * Name 3 of organization. * Third name field for business partners in the Organization category. * Maximum length: 40. * @nullable */ organizationBpName3?: DeserializedType | null; /** * Name 4 of organization. * Fourth name field for business partners in the Organization category. * Maximum length: 40. * @nullable */ organizationBpName4?: DeserializedType | null; /** * 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 */ organizationFoundationDate?: DeserializedType | null; /** * Liquidation date of organization. * Term for the end of bankruptcy proceedings. * This date also indicates that the company no longer exists. * @nullable */ organizationLiquidationDate?: DeserializedType | null; /** * 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 */ searchTerm1?: DeserializedType | null; /** * Search Term 2 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 */ searchTerm2?: DeserializedType | null; /** * Other Last Name of a Person. * Maximum length: 40. * @nullable */ additionalLastName?: DeserializedType | null; /** * Date of Birth of Business Partner. * @nullable */ birthDate?: DeserializedType | null; /** * Date of Birth: Status. * If the Business partner's actual birthdate is unknown, a partial entry can be made or read. This field then indicates which part of the birthdate is unknown. Below are some examples (Dates are specified in format MM/DD/YYYY): * 01/01/0000 => 01/01/1880 Year unknown00/01/1911 => 01/01/1911 Month unknown05/00/1911 => 05/01/1911 Day unknown05/05/1911 => 05/05/1911 Fully known00/00/1911 => 05/05/1911 Day & Month unknown00/05/0000 => 05/05/1911 Month & Year unknown05/00/0000 => 05/05/1911 Day & Year unknown00/00/0000=> 05/05/1911 Fully unknown'Date of Birth: Status' field determines the unknown parts of birthdate.Enter a valid date under Birthdate. Future dates are not accepted. If any part/s of the date is/are unknown, select the nearest date.If year is unknown, select any random valid year. * Maximum length: 1. * @nullable */ businessPartnerBirthDateStatus?: DeserializedType | null; /** * Birthplace of business partner. * Maximum length: 40. * @nullable */ businessPartnerBirthplaceName?: DeserializedType | null; /** * Date of death of business partner. * @nullable */ businessPartnerDeathDate?: DeserializedType | null; /** * Central Block for Business Partner. * If the business partner is blocked centrally, certain activities cannot be executed. * @nullable */ businessPartnerIsBlocked?: DeserializedType | null; /** * 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 */ businessPartnerType?: DeserializedType | null; /** * E Tag. * Maximum length: 26. * @nullable */ eTag?: DeserializedType | null; /** * Name 1 (group). * First name field for business partners in the Group category. * Maximum length: 40. * @nullable */ groupBusinessPartnerName1?: DeserializedType | null; /** * Name 2 (group). * Second name field for business partners in the Group category. * Maximum length: 40. * @nullable */ groupBusinessPartnerName2?: DeserializedType | null; /** * 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 */ independentAddressId?: DeserializedType | null; /** * 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 */ internationalLocationNumber3?: DeserializedType | null; /** * Middle Name or Second Forename of a Person. * Maximum length: 40. * @nullable */ middleName?: DeserializedType | null; /** * Country/Region for Name Format Rule. * The country/region for the name format rule and the name format rule key together uniquely identify a formatting rule. * A country/region can have several formats which correspond to different rules. You need formatting rules to describe the composition of a person's name. * Maximum length: 3. * @nullable */ nameCountry?: DeserializedType | null; /** * Name format. * See Name format. * Maximum length: 2. * @nullable */ nameFormat?: DeserializedType | null; /** * 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 */ personFullName?: DeserializedType | null; /** * 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 */ personNumber?: DeserializedType | null; /** * 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 */ isMarkedForArchiving?: DeserializedType | null; /** * 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 */ businessPartnerIdByExtSystem?: DeserializedType | null; /** * Business Partner Print Format. * Attribute that determines the format for printing correspondence with a business partner. * The values you choose using the input help are used in subsequent processes. You can choose how the data should be printed or sent:In BrailleIn large print. * Maximum length: 1. * @nullable */ businessPartnerPrintFormat?: DeserializedType | null; /** * Occupation/group. * You can assign an occupation to business partners in the category "Person". This is for information purposes only. * InstallerTeacher. * Maximum length: 4. * @nullable */ businessPartnerOccupation?: DeserializedType | null; /** * Marital Status of Business Partner. * For business partners in the category 'Person', you can state the marital status. This is for information purposes only. * SingleMarriedDivorced. * Maximum length: 1. * @nullable */ busPartMaritalStatus?: DeserializedType | null; /** * Nationality. * Maximum length: 3. * @nullable */ busPartNationality?: DeserializedType | null; /** * Name at birth of business partner. * Maximum length: 40. * @nullable */ businessPartnerBirthName?: DeserializedType | null; /** * Name supplement, e.g. noble title (key). * Key for name prefix. * You can define a key for the name prefix in Customizing. * Maximum length: 4. * @nullable */ businessPartnerSupplementName?: DeserializedType | null; /** * Name of Employer of a Natural Person. * Maximum length: 35. * @nullable */ naturalPersonEmployerName?: DeserializedType | null; /** * Name Prefix (Key). * Key for name prefix. * You can define a key for the name prefix in Customizing. * Maximum length: 4. * @nullable */ lastNamePrefix?: DeserializedType | null; /** * 2nd name prefix (key). * Maximum length: 4. * @nullable */ lastNameSecondPrefix?: DeserializedType | null; /** * "Middle Initial" or personal initials. * Maximum length: 10. * @nullable */ initials?: DeserializedType | null; /** * Company ID of Trading Partner. * Company ID standard for the whole group. * Maximum length: 6. * @nullable */ tradingPartner?: DeserializedType | null; /** * One-to-many navigation property to the [[BuPaIdentification]] entity. */ toBuPaIdentification: BuPaIdentification[]; /** * One-to-many navigation property to the [[BuPaIndustry]] entity. */ toBuPaIndustry: BuPaIndustry[]; /** * One-to-many navigation property to the [[BusinessPartnerAddress]] entity. */ toBusinessPartnerAddress: BusinessPartnerAddress[]; /** * One-to-many navigation property to the [[BusinessPartnerBank]] entity. */ toBusinessPartnerBank: BusinessPartnerBank[]; /** * One-to-many navigation property to the [[BusinessPartnerContact]] entity. */ toBusinessPartnerContact: BusinessPartnerContact[]; /** * One-to-many navigation property to the [[BusinessPartnerRole]] entity. */ toBusinessPartnerRole: BusinessPartnerRole[]; /** * One-to-many navigation property to the [[BusinessPartnerTaxNumber]] entity. */ toBusinessPartnerTax: BusinessPartnerTaxNumber[]; /** * One-to-one navigation property to the [[Customer]] entity. */ toCustomer?: Customer | null; /** * One-to-one navigation property to the [[Supplier]] entity. */ toSupplier?: Supplier | null; } export interface BusinessPartnerType { businessPartner: DeserializedType; customer?: DeserializedType | null; supplier?: DeserializedType | null; academicTitle?: DeserializedType | null; authorizationGroup?: DeserializedType | null; businessPartnerCategory?: DeserializedType | null; businessPartnerFullName?: DeserializedType | null; businessPartnerGrouping?: DeserializedType | null; businessPartnerName?: DeserializedType | null; businessPartnerUuid?: DeserializedType | null; correspondenceLanguage?: DeserializedType | null; createdByUser?: DeserializedType | null; creationDate?: DeserializedType | null; creationTime?: DeserializedType | null; firstName?: DeserializedType | null; formOfAddress?: DeserializedType | null; industry?: DeserializedType | null; internationalLocationNumber1?: DeserializedType | null; internationalLocationNumber2?: DeserializedType | null; isFemale?: DeserializedType | null; isMale?: DeserializedType | null; isNaturalPerson?: DeserializedType | null; isSexUnknown?: DeserializedType | null; genderCodeName?: DeserializedType | null; language?: DeserializedType | null; lastChangeDate?: DeserializedType | null; lastChangeTime?: DeserializedType | null; lastChangedByUser?: DeserializedType | null; lastName?: DeserializedType | null; legalForm?: DeserializedType | null; organizationBpName1?: DeserializedType | null; organizationBpName2?: DeserializedType | null; organizationBpName3?: DeserializedType | null; organizationBpName4?: DeserializedType | null; organizationFoundationDate?: DeserializedType | null; organizationLiquidationDate?: DeserializedType | null; searchTerm1?: DeserializedType | null; searchTerm2?: DeserializedType | null; additionalLastName?: DeserializedType | null; birthDate?: DeserializedType | null; businessPartnerBirthDateStatus?: DeserializedType | null; businessPartnerBirthplaceName?: DeserializedType | null; businessPartnerDeathDate?: DeserializedType | null; businessPartnerIsBlocked?: DeserializedType | null; businessPartnerType?: DeserializedType | null; eTag?: DeserializedType | null; groupBusinessPartnerName1?: DeserializedType | null; groupBusinessPartnerName2?: DeserializedType | null; independentAddressId?: DeserializedType | null; internationalLocationNumber3?: DeserializedType | null; middleName?: DeserializedType | null; nameCountry?: DeserializedType | null; nameFormat?: DeserializedType | null; personFullName?: DeserializedType | null; personNumber?: DeserializedType | null; isMarkedForArchiving?: DeserializedType | null; businessPartnerIdByExtSystem?: DeserializedType | null; businessPartnerPrintFormat?: DeserializedType | null; businessPartnerOccupation?: DeserializedType | null; busPartMaritalStatus?: DeserializedType | null; busPartNationality?: DeserializedType | null; businessPartnerBirthName?: DeserializedType | null; businessPartnerSupplementName?: DeserializedType | null; naturalPersonEmployerName?: DeserializedType | null; lastNamePrefix?: DeserializedType | null; lastNameSecondPrefix?: DeserializedType | null; initials?: DeserializedType | null; tradingPartner?: DeserializedType | null; toBuPaIdentification: BuPaIdentificationType[]; toBuPaIndustry: BuPaIndustryType[]; toBusinessPartnerAddress: BusinessPartnerAddressType[]; toBusinessPartnerBank: BusinessPartnerBankType[]; toBusinessPartnerContact: BusinessPartnerContactType[]; toBusinessPartnerRole: BusinessPartnerRoleType[]; toBusinessPartnerTax: BusinessPartnerTaxNumberType[]; toCustomer?: CustomerType | null; toSupplier?: SupplierType | null; } //# sourceMappingURL=BusinessPartner.d.ts.map