Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "CostCenterTextCollection" of service "FCO_PI_COST_CENTER". See https://api.sap.com/api/FCO_PI_COST_CENTER for more information.

Hierarchy

  • any
    • CostCenterText

Implements

Index

Properties

companyCode

companyCode: string

Company Code. Maximum length: 4.

costCenterDescription

costCenterDescription: string

Long Text. Maximum length: 40.

nullable

costCenterId

costCenterId: string

Cost Center. Maximum length: 10.

costCenterName

costCenterName: string

Name. Maximum length: 20.

nullable

language

language: string

Language Key. Maximum length: 2.

validityEndDate

validityEndDate: Moment

Valid To.

Static ALL_FIELDS

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

All fields selector.

Static COMPANY_CODE

COMPANY_CODE: StringField<CostCenterText> = new StringField('CompanyCode', CostCenterText, '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 COST_CENTER_DESCRIPTION

COST_CENTER_DESCRIPTION: StringField<CostCenterText> = new StringField('CostCenterDescription', CostCenterText, 'Edm.String')

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

Static COST_CENTER_ID

COST_CENTER_ID: StringField<CostCenterText> = new StringField('CostCenterID', CostCenterText, 'Edm.String')

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

Static COST_CENTER_NAME

COST_CENTER_NAME: StringField<CostCenterText> = new StringField('CostCenterName', CostCenterText, 'Edm.String')

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

Static LANGUAGE

LANGUAGE: StringField<CostCenterText> = new StringField('Language', CostCenterText, '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 VALIDITY_END_DATE

VALIDITY_END_DATE: DateField<CostCenterText> = new DateField('ValidityEndDate', CostCenterText, '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 _allFields

_allFields: any[] = [CostCenterText.COMPANY_CODE,CostCenterText.COST_CENTER_ID,CostCenterText.VALIDITY_END_DATE,CostCenterText.LANGUAGE,CostCenterText.COST_CENTER_NAME,CostCenterText.COST_CENTER_DESCRIPTION]

All fields of the CostCenterText entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "CostCenterTextCollection"

Technical entity name for CostCenterText.

Static _keyFields

_keyFields: Array<Selectable<CostCenterText>> = [CostCenterText.COMPANY_CODE, CostCenterText.COST_CENTER_ID, CostCenterText.VALIDITY_END_DATE, CostCenterText.LANGUAGE]

All key fields of the CostCenterText entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "FCO_PI_COST_CENTER"

Technical service name for CostCenterText.

Methods

Static builder

  • Returns an entity builder to construct instances CostCenterText.

    Returns EntityBuilderType<CostCenterText, CostCenterTextType>

    A builder that constructs instances of entity type CostCenterText.

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<CostCenterText>

    A builder that constructs instances of entity type CostCenterText.

Static requestBuilder

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

    Returns CostCenterTextRequestBuilder

    A CostCenterText request builder.