Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_PurgCatPlannedSpend" of service "API_PURCHASING_CATEGORY_SRV". This service is part of the following communication scenarios: Purchasing Category Integration (SAP_COM_0123). See https://api.sap.com/api/API_PURCHASING_CATEGORY_SRV for more information.

Hierarchy

  • any
    • PurgCatPlannedSpend

Implements

Index

Properties

purgCatPlndSpendAmount

purgCatPlndSpendAmount: BigNumber

Amount of Planned Spend.

nullable

purgCatPlndSpendCurrency

purgCatPlndSpendCurrency: string

Currency of Planned Spend. Maximum length: 5.

nullable

purgCatPlndSpendUuid

purgCatPlndSpendUuid: string

Planned Spend for a Purchasing Category.

purgCatPlndSpendValidFromDate

purgCatPlndSpendValidFromDate: Moment

"Valid From" Date of Planned Spend.

nullable

purgCatPlndSpendValidToDate

purgCatPlndSpendValidToDate: Moment

"Valid To" Date of Planned Spend.

nullable

purgCatUuid

purgCatUuid: string

Purchasing Category UUID.

nullable

Static ALL_FIELDS

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

All fields selector.

Static PURG_CAT_PLND_SPEND_AMOUNT

PURG_CAT_PLND_SPEND_AMOUNT: BigNumberField<PurgCatPlannedSpend> = new BigNumberField('PurgCatPlndSpendAmount', PurgCatPlannedSpend, 'Edm.Decimal')

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

Static PURG_CAT_PLND_SPEND_CURRENCY

PURG_CAT_PLND_SPEND_CURRENCY: StringField<PurgCatPlannedSpend> = new StringField('PurgCatPlndSpendCurrency', PurgCatPlannedSpend, 'Edm.String')

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

Static PURG_CAT_PLND_SPEND_UUID

PURG_CAT_PLND_SPEND_UUID: StringField<PurgCatPlannedSpend> = new StringField('PurgCatPlndSpendUUID', PurgCatPlannedSpend, 'Edm.Guid')

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

Static PURG_CAT_PLND_SPEND_VALID_FROM_DATE

PURG_CAT_PLND_SPEND_VALID_FROM_DATE: DateField<PurgCatPlannedSpend> = new DateField('PurgCatPlndSpendValidFromDate', PurgCatPlannedSpend, 'Edm.DateTime')

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

Static PURG_CAT_PLND_SPEND_VALID_TO_DATE

PURG_CAT_PLND_SPEND_VALID_TO_DATE: DateField<PurgCatPlannedSpend> = new DateField('PurgCatPlndSpendValidToDate', PurgCatPlannedSpend, 'Edm.DateTime')

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

Static PURG_CAT_UUID

PURG_CAT_UUID: StringField<PurgCatPlannedSpend> = new StringField('PurgCatUUID', PurgCatPlannedSpend, 'Edm.Guid')

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

Static _allFields

_allFields: any[] = [PurgCatPlannedSpend.PURG_CAT_PLND_SPEND_UUID,PurgCatPlannedSpend.PURG_CAT_UUID,PurgCatPlannedSpend.PURG_CAT_PLND_SPEND_VALID_FROM_DATE,PurgCatPlannedSpend.PURG_CAT_PLND_SPEND_VALID_TO_DATE,PurgCatPlannedSpend.PURG_CAT_PLND_SPEND_AMOUNT,PurgCatPlannedSpend.PURG_CAT_PLND_SPEND_CURRENCY]

All fields of the PurgCatPlannedSpend entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_PurgCatPlannedSpend"

Technical entity name for PurgCatPlannedSpend.

Static _keyFields

_keyFields: Array<Selectable<PurgCatPlannedSpend>> = [PurgCatPlannedSpend.PURG_CAT_PLND_SPEND_UUID]

All key fields of the PurgCatPlannedSpend entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_PURCHASING_CATEGORY_SRV"

Technical service name for PurgCatPlannedSpend.

Methods

Static builder

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<PurgCatPlannedSpend>

    A builder that constructs instances of entity type PurgCatPlannedSpend.

Static requestBuilder

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

    Returns PurgCatPlannedSpendRequestBuilder

    A PurgCatPlannedSpend request builder.