Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "CompanyCode" of service "C_TRIALBALANCE_CDS". This service is part of the following communication scenarios: Finance - Accounting Analytics Integration (SAP_COM_0303). See https://api.sap.com/api/C_TRIALBALANCE_CDS for more information.

Hierarchy

  • any
    • CompanyCode

Implements

Index

Properties

companyCode

companyCode: string

Company Code.

companyCodeText

companyCodeText: string

Company Code. Maximum length: 60.

nullable

Static COMPANY_CODE

COMPANY_CODE: StringField<CompanyCode> = new StringField('CompanyCode', CompanyCode, 'Edm.String')

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

Static COMPANY_CODE_TEXT

COMPANY_CODE_TEXT: StringField<CompanyCode> = new StringField('CompanyCodeText', CompanyCode, 'Edm.String')

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

Static _allFields

_allFields: any[] = [CompanyCode.COMPANY_CODE,CompanyCode.COMPANY_CODE_TEXT]

All fields of the CompanyCode entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "CompanyCode"

Technical entity name for CompanyCode.

Static _keyFields

_keyFields: Array<Selectable<CompanyCode>> = [CompanyCode.COMPANY_CODE]

All key fields of the CompanyCode entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "C_TRIALBALANCE_CDS"

Technical service name for CompanyCode.

Methods

Static builder

  • Returns an entity builder to construct instances CompanyCode.

    Returns EntityBuilderType<CompanyCode, CompanyCodeType>

    A builder that constructs instances of entity type CompanyCode.

Static requestBuilder

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

    Returns CompanyCodeRequestBuilder

    A CompanyCode request builder.