Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_ProfileAssignedToPlant" of service "cds_api_buffer_profile_srv". This service is part of the following communication scenarios: Buffer Profile Integration (SAP_COM_0349). See https://api.sap.com/api/API_BUFFER_PROFILE_SRV for more information.

Hierarchy

  • any
    • ProfileAssignedToPlant

Implements

Index

Properties

bufferProfileSetId

bufferProfileSetId: string

Set of Profiles. A set of buffer control parameters. They are assigned to DD-relevant materials based on their classification with respect to lead time, variability and procurement type. The identifier for a buffer profile. Maximum length: 10.

nullable

onHandAlertThldFctr

onHandAlertThldFctr: BigNumber

On-hand alert threshold factor.

nullable

plant

plant: string

Plant. Key uniquely identifying a plant. Maximum length: 4.

spikeHorizonConstant

spikeHorizonConstant: BigNumber

Spike Horizon Constant (SHC). A constant, usually measured in days, which helps calculate the Order Spike Horizon when summed with the product of the Spike Horizon DLT Multiplier (SHM) and the Decoupled Lead Time (DLT). Order Spike Horizon = (SHM x DLT) + SHC.

nullable

spikeHorizonMultiplier

spikeHorizonMultiplier: BigNumber

Spike Horizon DLT Multiplier (SHM). A multiplicative factor that when multiplied with the Decoupled Lead Time (DLT) and summed with a Spike Horizon Constant (SHC) helps calculate the order spike horizon, which helps identify order spikes. Order Spike Horizon = (SHM x DLT) + SHC.

nullable

spikeThresholdFactor

spikeThresholdFactor: BigNumber

Spike Threshold Factor. A selected quantity that in combination with the Order Spike Horizon qualifies an order spike.

nullable

toProfileDetails

toProfileDetails: ProfileDetails[]

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

Static ALL_FIELDS

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

All fields selector.

Static BUFFER_PROFILE_SET_ID

BUFFER_PROFILE_SET_ID: StringField<ProfileAssignedToPlant> = new StringField('BufferProfileSetId', ProfileAssignedToPlant, 'Edm.String')

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

Static ON_HAND_ALERT_THLD_FCTR

ON_HAND_ALERT_THLD_FCTR: BigNumberField<ProfileAssignedToPlant> = new BigNumberField('OnHandAlertThldFctr', ProfileAssignedToPlant, 'Edm.Decimal')

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

Static PLANT

PLANT: StringField<ProfileAssignedToPlant> = new StringField('Plant', ProfileAssignedToPlant, 'Edm.String')

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

Static SPIKE_HORIZON_CONSTANT

SPIKE_HORIZON_CONSTANT: BigNumberField<ProfileAssignedToPlant> = new BigNumberField('SpikeHorizonConstant', ProfileAssignedToPlant, 'Edm.Decimal')

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

Static SPIKE_HORIZON_MULTIPLIER

SPIKE_HORIZON_MULTIPLIER: BigNumberField<ProfileAssignedToPlant> = new BigNumberField('SpikeHorizonMultiplier', ProfileAssignedToPlant, 'Edm.Decimal')

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

Static SPIKE_THRESHOLD_FACTOR

SPIKE_THRESHOLD_FACTOR: BigNumberField<ProfileAssignedToPlant> = new BigNumberField('SpikeThresholdFactor', ProfileAssignedToPlant, 'Edm.Decimal')

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

Static TO_PROFILE_DETAILS

TO_PROFILE_DETAILS: Link<ProfileAssignedToPlant, ProfileDetails> = new Link('to_ProfileDetails', ProfileAssignedToPlant, ProfileDetails)

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

Static _allFields

_allFields: any[] = [ProfileAssignedToPlant.PLANT,ProfileAssignedToPlant.BUFFER_PROFILE_SET_ID,ProfileAssignedToPlant.SPIKE_HORIZON_CONSTANT,ProfileAssignedToPlant.SPIKE_HORIZON_MULTIPLIER,ProfileAssignedToPlant.SPIKE_THRESHOLD_FACTOR,ProfileAssignedToPlant.ON_HAND_ALERT_THLD_FCTR,ProfileAssignedToPlant.TO_PROFILE_DETAILS]

All fields of the ProfileAssignedToPlant entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_ProfileAssignedToPlant"

Technical entity name for ProfileAssignedToPlant.

Static _keyFields

_keyFields: Array<Selectable<ProfileAssignedToPlant>> = [ProfileAssignedToPlant.PLANT]

All key fields of the ProfileAssignedToPlant entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "cds_api_buffer_profile_srv"

Technical service name for ProfileAssignedToPlant.

Methods

Static builder

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<ProfileAssignedToPlant>

    A builder that constructs instances of entity type ProfileAssignedToPlant.

Static requestBuilder

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

    Returns ProfileAssignedToPlantRequestBuilder

    A ProfileAssignedToPlant request builder.