Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_BusinessPartnerContact" 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
    • BusinessPartnerContact

Implements

Index

Properties

businessPartnerCompany

businessPartnerCompany: string

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

businessPartnerPerson

businessPartnerPerson: string

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

isStandardRelationship

isStandardRelationship: boolean

Standard Relationship. States whether the relationship is a standard relationship. If several relationships of the BP relationship category contact person have been defined for, you can set the indicator standard relationship for one of these relationships.A relationship that is marked as a standard relationship can be used whenA certain scenario automatically selects a contact personThe contact person responsible is not knownYou can give this indicator to only one business partner relationship of a BP relationship category for a particular period. Another relationship of the same relationship category can be indicated as the standard relationship only if the periods for the relationship do not overlap or coincide.

nullable

relationshipCategory

relationshipCategory: string

Business Partner Relationship Category. A relationship may exist between two business partners. The business partner relationship category characterizes the features of the relationship. A distinction is made between a one-way and an undirected business partner relationship category. In a one-way relationship category, the relationship extends from one partner to another, but not vice versa.Marriage (undirected)Employee (one-way)Contact person (one-way). Maximum length: 6.

nullable

relationshipNumber

relationshipNumber: string

BP Relationship Number. The business partner relationship number is an internal number that identifies the business partner relationship set. Maximum length: 12.

toContactAddress

toContactAddress: BpContactToAddress[]

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

toContactRelationship

toContactRelationship: BpContactToFuncAndDept

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

validityEndDate

validityEndDate: Moment

Validity Date (Valid To).

validityStartDate

validityStartDate: Moment

Validity Date (Valid From).

nullable

Static BUSINESS_PARTNER_COMPANY

BUSINESS_PARTNER_COMPANY: StringField<BusinessPartnerContact> = new StringField('BusinessPartnerCompany', BusinessPartnerContact, 'Edm.String')

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

Static BUSINESS_PARTNER_PERSON

BUSINESS_PARTNER_PERSON: StringField<BusinessPartnerContact> = new StringField('BusinessPartnerPerson', BusinessPartnerContact, 'Edm.String')

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

Static IS_STANDARD_RELATIONSHIP

IS_STANDARD_RELATIONSHIP: BooleanField<BusinessPartnerContact> = new BooleanField('IsStandardRelationship', BusinessPartnerContact, 'Edm.Boolean')

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

Static RELATIONSHIP_CATEGORY

RELATIONSHIP_CATEGORY: StringField<BusinessPartnerContact> = new StringField('RelationshipCategory', BusinessPartnerContact, 'Edm.String')

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

Static RELATIONSHIP_NUMBER

RELATIONSHIP_NUMBER: StringField<BusinessPartnerContact> = new StringField('RelationshipNumber', BusinessPartnerContact, 'Edm.String')

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

Static TO_CONTACT_ADDRESS

TO_CONTACT_ADDRESS: Link<BusinessPartnerContact, BpContactToAddress> = new Link('to_ContactAddress', BusinessPartnerContact, BpContactToAddress)

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

Static TO_CONTACT_RELATIONSHIP

TO_CONTACT_RELATIONSHIP: OneToOneLink<BusinessPartnerContact, BpContactToFuncAndDept> = new OneToOneLink('to_ContactRelationship', BusinessPartnerContact, BpContactToFuncAndDept)

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

Static VALIDITY_END_DATE

VALIDITY_END_DATE: DateField<BusinessPartnerContact> = new DateField('ValidityEndDate', BusinessPartnerContact, 'Edm.DateTime')

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

Static VALIDITY_START_DATE

VALIDITY_START_DATE: DateField<BusinessPartnerContact> = new DateField('ValidityStartDate', BusinessPartnerContact, 'Edm.DateTime')

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

Static _allFields

_allFields: any[] = [BusinessPartnerContact.RELATIONSHIP_NUMBER,BusinessPartnerContact.BUSINESS_PARTNER_COMPANY,BusinessPartnerContact.BUSINESS_PARTNER_PERSON,BusinessPartnerContact.VALIDITY_END_DATE,BusinessPartnerContact.VALIDITY_START_DATE,BusinessPartnerContact.IS_STANDARD_RELATIONSHIP,BusinessPartnerContact.RELATIONSHIP_CATEGORY,BusinessPartnerContact.TO_CONTACT_ADDRESS,BusinessPartnerContact.TO_CONTACT_RELATIONSHIP]

All fields of the BusinessPartnerContact entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_BusinessPartnerContact"

Technical entity name for BusinessPartnerContact.

Static _keyFields

_keyFields: Array<Selectable<BusinessPartnerContact>> = [BusinessPartnerContact.RELATIONSHIP_NUMBER, BusinessPartnerContact.BUSINESS_PARTNER_COMPANY, BusinessPartnerContact.BUSINESS_PARTNER_PERSON, BusinessPartnerContact.VALIDITY_END_DATE]

All key fields of the BusinessPartnerContact entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_BUSINESS_PARTNER"

Technical service name for BusinessPartnerContact.

Methods

Static builder

Static requestBuilder

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

    Returns BusinessPartnerContactRequestBuilder

    A BusinessPartnerContact request builder.