Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "PartnerCostCenter" 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
    • PartnerCostCenter

Implements

Index

Properties

additionalMasterDataSource

additionalMasterDataSource: string

Master Data Source. Maximum length: 10.

nullable

controllingArea

controllingArea: string

Controlling Area. Uniquely identifies a controlling area. The controlling area is the highest organizational unit in Controlling.Whether controlling area and company code are in a 1:1 relationship or a 1:n relationship, the number of posting periods in both controlling area and company code(s) must be identical. However, special periods may vary. Maximum length: 4.

costCenter

costCenter: string

Cost Center. A key that uniquely identifies a cost center. Maximum length: 10.

costCenterText

costCenterText: string

Cost Center Name. Maximum length: 20.

nullable

toCnsldtnPartnerCostCtrHier

toCnsldtnPartnerCostCtrHier: PartnerCostCenterHier[]

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

toCnsldtnPartnerCostCtrT

toCnsldtnPartnerCostCtrT: PartnerCostCenterText[]

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

Static ADDITIONAL_MASTER_DATA_SOURCE

ADDITIONAL_MASTER_DATA_SOURCE: StringField<PartnerCostCenter> = new StringField('AdditionalMasterDataSource', PartnerCostCenter, '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 ALL_FIELDS

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

All fields selector.

Static CONTROLLING_AREA

CONTROLLING_AREA: StringField<PartnerCostCenter> = new StringField('ControllingArea', PartnerCostCenter, 'Edm.String')

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

Static COST_CENTER

COST_CENTER: StringField<PartnerCostCenter> = new StringField('CostCenter', PartnerCostCenter, 'Edm.String')

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

Static COST_CENTER_TEXT

COST_CENTER_TEXT: StringField<PartnerCostCenter> = new StringField('CostCenter_Text', PartnerCostCenter, 'Edm.String')

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

Static TO_CNSLDTN_PARTNER_COST_CTR_HIER

TO_CNSLDTN_PARTNER_COST_CTR_HIER: Link<PartnerCostCenter, PartnerCostCenterHier> = new Link('to_CnsldtnPartnerCostCtrHier', PartnerCostCenter, PartnerCostCenterHier)

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

Static TO_CNSLDTN_PARTNER_COST_CTR_T

TO_CNSLDTN_PARTNER_COST_CTR_T: Link<PartnerCostCenter, PartnerCostCenterText> = new Link('to_CnsldtnPartnerCostCtrT', PartnerCostCenter, PartnerCostCenterText)

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

Static _allFields

_allFields: any[] = [PartnerCostCenter.COST_CENTER,PartnerCostCenter.COST_CENTER_TEXT,PartnerCostCenter.CONTROLLING_AREA,PartnerCostCenter.ADDITIONAL_MASTER_DATA_SOURCE,PartnerCostCenter.TO_CNSLDTN_PARTNER_COST_CTR_HIER,PartnerCostCenter.TO_CNSLDTN_PARTNER_COST_CTR_T]

All fields of the PartnerCostCenter entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "PartnerCostCenter"

Technical entity name for PartnerCostCenter.

Static _keyFields

_keyFields: Array<Selectable<PartnerCostCenter>> = [PartnerCostCenter.COST_CENTER, PartnerCostCenter.CONTROLLING_AREA]

All key fields of the PartnerCostCenter entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_GRMASTERDATA_SRV"

Technical service name for PartnerCostCenter.

Methods

Static builder

  • Returns an entity builder to construct instances PartnerCostCenter.

    Returns EntityBuilderType<PartnerCostCenter, PartnerCostCenterType>

    A builder that constructs instances of entity type PartnerCostCenter.

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<PartnerCostCenter>

    A builder that constructs instances of entity type PartnerCostCenter.

Static requestBuilder

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

    Returns PartnerCostCenterRequestBuilder

    A PartnerCostCenter request builder.