Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_CreditMemoReqPartner" of service "API_CREDIT_MEMO_REQUEST_SRV". This service is part of the following communication scenarios: Credit Memo Request Integration (SAP_COM_0158). See https://api.sap.com/api/API_CREDIT_MEMO_REQUEST_SRV for more information.

Hierarchy

  • any
    • CreditMemoReqPartner

Implements

Index

Properties

contactPerson

contactPerson: string

Number of contact person. The number that uniquely identifies the contact person. Maximum length: 10.

nullable

creditMemoRequest

creditMemoRequest: string

Sales and Distribution Document Number. The number that uniquely identifies the sales, delivery, or billing document. Maximum length: 10.

customer

customer: string

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

nullable

partnerFunction

partnerFunction: string

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

personnel

personnel: string

Personnel Number. The personnel number is the only feature within a client which is unique to an employee. You have to enter a personnel number before you can display and maintain an employee's master data and time data. Maximum length: 8.

nullable

supplier

supplier: string

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

nullable

toCreditMemoRequest

toCreditMemoRequest: CreditMemoRequest

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

Static ALL_FIELDS

ALL_FIELDS: any = new AllFields('*', CreditMemoReqPartner)

All fields selector.

Static CONTACT_PERSON

CONTACT_PERSON: StringField<CreditMemoReqPartner> = new StringField('ContactPerson', CreditMemoReqPartner, 'Edm.String')

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

Static CREDIT_MEMO_REQUEST

CREDIT_MEMO_REQUEST: StringField<CreditMemoReqPartner> = new StringField('CreditMemoRequest', CreditMemoReqPartner, 'Edm.String')

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

Static CUSTOMER

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

PARTNER_FUNCTION: StringField<CreditMemoReqPartner> = new StringField('PartnerFunction', CreditMemoReqPartner, '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 PERSONNEL

PERSONNEL: StringField<CreditMemoReqPartner> = new StringField('Personnel', CreditMemoReqPartner, 'Edm.String')

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

Static SUPPLIER

SUPPLIER: StringField<CreditMemoReqPartner> = new StringField('Supplier', CreditMemoReqPartner, '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_CREDIT_MEMO_REQUEST

TO_CREDIT_MEMO_REQUEST: OneToOneLink<CreditMemoReqPartner, CreditMemoRequest> = new OneToOneLink('to_CreditMemoRequest', CreditMemoReqPartner, CreditMemoRequest)

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

Static _allFields

_allFields: any[] = [CreditMemoReqPartner.CREDIT_MEMO_REQUEST,CreditMemoReqPartner.PARTNER_FUNCTION,CreditMemoReqPartner.CUSTOMER,CreditMemoReqPartner.SUPPLIER,CreditMemoReqPartner.PERSONNEL,CreditMemoReqPartner.CONTACT_PERSON,CreditMemoReqPartner.TO_CREDIT_MEMO_REQUEST]

All fields of the CreditMemoReqPartner entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_CreditMemoReqPartner"

Technical entity name for CreditMemoReqPartner.

Static _keyFields

_keyFields: Array<Selectable<CreditMemoReqPartner>> = [CreditMemoReqPartner.CREDIT_MEMO_REQUEST, CreditMemoReqPartner.PARTNER_FUNCTION]

All key fields of the CreditMemoReqPartner entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_CREDIT_MEMO_REQUEST_SRV"

Technical service name for CreditMemoReqPartner.

Methods

Static builder

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<CreditMemoReqPartner>

    A builder that constructs instances of entity type CreditMemoReqPartner.

Static requestBuilder

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

    Returns CreditMemoReqPartnerRequestBuilder

    A CreditMemoReqPartner request builder.