Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "Customer" of service "API_GRMASTERDATA_SRV". This service is part of the following communication scenarios: Finance - Cloud Consolidation Data Collection Integration (SAP_COM_0241), Finance - Cloud Consolidation Master Data for Group Reporting Integration (SAP_COM_0336). See https://api.sap.com/api/API_GRMASTERDATA_SRV for more information.

Hierarchy

  • any
    • Customer

Implements

Index

Properties

additionalMasterDataSource

additionalMasterDataSource: string

Master Data Source. Maximum length: 10.

nullable

customer

customer: string

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

customerText

customerText: string

Name of Customer. Maximum length: 80.

nullable

toCnsldtnCustomerHier

toCnsldtnCustomerHier: CustomerHier[]

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

toCnsldtnCustomerT

toCnsldtnCustomerT: CustomerText[]

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

Static ADDITIONAL_MASTER_DATA_SOURCE

ADDITIONAL_MASTER_DATA_SOURCE: StringField<Customer> = new StringField('AdditionalMasterDataSource', Customer, 'Edm.String')

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

Static CUSTOMER

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

CUSTOMER_TEXT: StringField<Customer> = new StringField('Customer_Text', Customer, 'Edm.String')

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

Static TO_CNSLDTN_CUSTOMER_HIER

TO_CNSLDTN_CUSTOMER_HIER: Link<Customer, CustomerHier> = new Link('to_CnsldtnCustomerHier', Customer, CustomerHier)

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

Static TO_CNSLDTN_CUSTOMER_T

TO_CNSLDTN_CUSTOMER_T: Link<Customer, CustomerText> = new Link('to_CnsldtnCustomerT', Customer, CustomerText)

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

Static _allFields

_allFields: any[] = [Customer.CUSTOMER,Customer.CUSTOMER_TEXT,Customer.ADDITIONAL_MASTER_DATA_SOURCE,Customer.TO_CNSLDTN_CUSTOMER_HIER,Customer.TO_CNSLDTN_CUSTOMER_T]

All fields of the Customer entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "Customer"

Technical entity name for Customer.

Static _keyFields

_keyFields: Array<Selectable<Customer>> = [Customer.CUSTOMER]

All key fields of the Customer entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_GRMASTERDATA_SRV"

Technical service name for Customer.

Methods

Static builder

  • Returns an entity builder to construct instances Customer.

    Returns EntityBuilderType<Customer, CustomerType>

    A builder that constructs instances of entity type Customer.

Static requestBuilder

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

    Returns CustomerRequestBuilder

    A Customer request builder.