Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • any
    • CostCenter

Implements

Index

Properties

category

category: string

CCtr Category. Maximum length: 1.

nullable

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

costCenterTexts

costCenterTexts: CostCenterText[]

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

language

language: string

Language Key. Maximum length: 2.

nullable

lastChangeDateTime

lastChangeDateTime: Moment

Time Stamp.

nullable

status

status: string

Character Field Length = 10. Maximum length: 10.

nullable

validityEndDate

validityEndDate: Moment

Valid To.

validityStartDate

validityStartDate: Moment

Valid From.

nullable

Static CATEGORY

CATEGORY: StringField<CostCenter> = new StringField('Category', CostCenter, 'Edm.String')

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

Static COMPANY_CODE

COMPANY_CODE: StringField<CostCenter> = new StringField('CompanyCode', CostCenter, '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<CostCenter> = new StringField('CostCenterDescription', CostCenter, '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<CostCenter> = new StringField('CostCenterID', CostCenter, '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<CostCenter> = new StringField('CostCenterName', CostCenter, '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 COST_CENTER_TEXTS

COST_CENTER_TEXTS: Link<CostCenter, CostCenterText> = new Link('CostCenterTexts', CostCenter, CostCenterText)

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

Static LANGUAGE

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

LAST_CHANGE_DATE_TIME: DateField<CostCenter> = new DateField('LastChangeDateTime', CostCenter, 'Edm.DateTime')

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

Static STATUS

STATUS: StringField<CostCenter> = new StringField('Status', CostCenter, 'Edm.String')

Static representation of the status 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<CostCenter> = new DateField('ValidityEndDate', CostCenter, '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 VALIDITY_START_DATE

VALIDITY_START_DATE: DateField<CostCenter> = new DateField('ValidityStartDate', CostCenter, 'Edm.DateTime')

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

Static _allFields

_allFields: any[] = [CostCenter.COMPANY_CODE,CostCenter.COST_CENTER_ID,CostCenter.VALIDITY_END_DATE,CostCenter.VALIDITY_START_DATE,CostCenter.STATUS,CostCenter.CATEGORY,CostCenter.LANGUAGE,CostCenter.COST_CENTER_NAME,CostCenter.COST_CENTER_DESCRIPTION,CostCenter.LAST_CHANGE_DATE_TIME,CostCenter.COST_CENTER_TEXTS]

All fields of the CostCenter entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "CostCenterCollection"

Technical entity name for CostCenter.

Static _keyFields

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

All key fields of the CostCenter entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "FCO_PI_COST_CENTER"

Technical service name for CostCenter.

Methods

Static builder

  • Returns an entity builder to construct instances CostCenter.

    Returns EntityBuilderType<CostCenter, CostCenterType>

    A builder that constructs instances of entity type CostCenter.

Static requestBuilder

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

    Returns CostCenterRequestBuilder

    A CostCenter request builder.