Options
All
  • Public
  • Public/Protected
  • All
Menu

Business Partner Contact

Hierarchy

  • Entity
    • 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.

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 VDM properties.

Type declaration

  • [keys: string]: any

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<BusinessPartnerContact>('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<BusinessPartnerContact>('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<BusinessPartnerContact>('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<BusinessPartnerContact>('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<BusinessPartnerContact>('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<BusinessPartnerContact, BpContactToAddress>('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<BusinessPartnerContact, BpContactToFuncAndDept>('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<BusinessPartnerContact>('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<BusinessPartnerContact>('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: (StringField<BusinessPartnerContact> | DateField<BusinessPartnerContact> | BooleanField<BusinessPartnerContact> | Link<BusinessPartnerContact, BpContactToAddress> | OneToOneLink<BusinessPartnerContact, BpContactToFuncAndDept>)[] = [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: object = BusinessPartnerContact._keyFields.reduce((prev, field) => {prev[field.fieldName] = field;return prev;}, {})

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

Type declaration

Static _serviceName

_serviceName: string = "API_BUSINESS_PARTNER"

Technical service name for BusinessPartnerContact.

Methods

Protected getCurrentMapKeys

  • getCurrentMapKeys(): this
  • Returns this

getUpdatedProperties

  • getUpdatedProperties(): this
  • Returns all changed properties compared to the last known remote state.

    Returns this

    Entity with all properties that changed

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.

    Parameters

    • Optional state: MapType<any>

      State to be set as remote state

    Returns this

    The entity itself, to facilitate method chaining

Static builder

Static Protected entityBuilder

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

    • EntityT: Entity

    • JsonT

    Parameters

    • entityConstructor: Constructable<EntityT>

    Returns EntityBuilderType<EntityT, JsonT>

Static requestBuilder

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

    Returns BusinessPartnerContactRequestBuilder

    A BusinessPartnerContact request builder.