Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_PartnerCompany" of service "API_PARTNERCOMPANY_SRV". This service is part of the following communication scenarios: SAP Business Objects Cloud for Planning Integration (SAP_COM_0087). See https://api.sap.com/api/API_PARTNERCOMPANY_SRV for more information.

Hierarchy

  • any
    • PartnerCompany

Implements

Index

Properties

companyName

companyName: string

Company name. Name of a company, can be defined by user. Maximum length: 30.

nullable

language

language: string

Language Key. The language key indicates

  • the language in which texts are displayed,
  • the language in which you enter texts,
  • the language in which the system prints texts. Maximum length: 2.
nullable

partnerCompany

partnerCompany: string

Company. Unique company ID of a company within your corporate group. Maximum length: 6.

Static COMPANY_NAME

COMPANY_NAME: StringField<PartnerCompany> = new StringField('CompanyName', PartnerCompany, 'Edm.String')

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

Static LANGUAGE

LANGUAGE: StringField<PartnerCompany> = new StringField('Language', PartnerCompany, 'Edm.String')

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

Static PARTNER_COMPANY

PARTNER_COMPANY: StringField<PartnerCompany> = new StringField('PartnerCompany', PartnerCompany, 'Edm.String')

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

Static _allFields

_allFields: any[] = [PartnerCompany.PARTNER_COMPANY,PartnerCompany.COMPANY_NAME,PartnerCompany.LANGUAGE]

All fields of the PartnerCompany entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_PartnerCompany"

Technical entity name for PartnerCompany.

Static _keyFields

_keyFields: Array<Selectable<PartnerCompany>> = [PartnerCompany.PARTNER_COMPANY]

All key fields of the PartnerCompany entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_PARTNERCOMPANY_SRV"

Technical service name for PartnerCompany.

Methods

Static builder

  • Returns an entity builder to construct instances PartnerCompany.

    Returns EntityBuilderType<PartnerCompany, PartnerCompanyType>

    A builder that constructs instances of entity type PartnerCompany.

Static requestBuilder

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

    Returns PartnerCompanyRequestBuilder

    A PartnerCompany request builder.