Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "SupplyDemandItems" of service "API_MRP_MATERIALS_SRV_01". This service is part of the following communication scenarios: Production Planning Integration (SAP_COM_0104). See https://api.sap.com/api/API_MRP_MATERIALS_SRV_01 for more information.

Hierarchy

  • Entity
    • SupplyDemandItems

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • Returns SupplyDemandItems

Properties

Protected _customFields

_customFields: MapType<any>

A mapper representing custom fields in an entity. Custom fields are represented by their field names and the corresponding values. A custom field can be added or updated using setCustomField method.

Protected _versionIdentifier

_versionIdentifier: string

The current ETag version of the entity in the remote system. The ETag identified the version of the in the remote system. It will be automatically set in the "if-match" header of update requests and can be set as a custom header for delete requests. When no ETag is provided by the remote system the value of this variable defaults to "*".

demandCategoryGroup

demandCategoryGroup: string

Demand Category Group. Maximum length: 1.

demandCategoryGroupName

demandCategoryGroupName: string

Demand Category Group Name. Maximum length: 60.

exceptionMessageNumber

exceptionMessageNumber: string

Exception Message Number. Maximum length: 2.

exceptionMessageNumber2

exceptionMessageNumber2: string

Exception Message Number 2. Maximum length: 2.

exceptionMessageText

exceptionMessageText: string

Exception Message Text. Maximum length: 60.

exceptionMessageText2

exceptionMessageText2: string

Exception Message Text 2. Maximum length: 60.

material

material: string

Material. Maximum length: 40.

materialBaseUnit

materialBaseUnit: string

Material Base Unit. Maximum length: 3.

materialExternalId

materialExternalId: string

Material External Id. Maximum length: 40.

materialSafetyStockQty

materialSafetyStockQty: BigNumber

Material Safety Stock Qty.

materialShortageProfile

materialShortageProfile: string

Material Shortage Profile. Maximum length: 12.

mrpArea

mrpArea: string

Mrp Area. Maximum length: 10.

mrpAvailability

mrpAvailability: string

Mrp Availability. Maximum length: 1.

mrpAvailableQuantity

mrpAvailableQuantity: BigNumber

Mrp Available Quantity.

mrpController

mrpController: string

Mrp Controller. Maximum length: 3.

mrpElement

mrpElement: string

Mrp Element. Maximum length: 12.

mrpElementAvailyOrRqmtDate

mrpElementAvailyOrRqmtDate: Moment

UTC Time Stamp in Short Form (YYYYMMDDhhmmss). The UTC timestamp is the date and time relative to the UTC (Universal coordinated time). To normalize local times in a UTC time stamp and make them comparable, they must be converted using their time zone and the ABAP command convert.Although the time zone for the conversion can be fetched from customizing or master data, you should save it redundantly.The internal structure of the UTC time stamp is logically divided into a date and time part in packed number format <YYYYMMDDhhmmss>. There is also a high resolution UTC time stamp (10^-7 seconds).

mrpElementBusinessPartner

mrpElementBusinessPartner: string

Mrp Element Business Partner. Maximum length: 10.

mrpElementBusinessPartnerName

mrpElementBusinessPartnerName: string

Mrp Element Business Partner Name. Maximum length: 35.

mrpElementBusinessPartnerType

mrpElementBusinessPartnerType: string

Mrp Element Business Partner Type. Maximum length: 1.

mrpElementCategory

mrpElementCategory: string

Mrp Element Category. Maximum length: 2.

mrpElementCategoryName

mrpElementCategoryName: string

Mrp Element Category Name. Maximum length: 60.

mrpElementCategoryShortName

mrpElementCategoryShortName: string

Mrp Element Category Short Name. Maximum length: 10.

mrpElementDocumentType

mrpElementDocumentType: string

Mrp Element Document Type. Maximum length: 4.

mrpElementDocumentTypeName

mrpElementDocumentTypeName: string

Mrp Element Document Type Name. Maximum length: 60.

mrpElementIsPartiallyDelivered

mrpElementIsPartiallyDelivered: boolean

General Flag.

mrpElementIsReleased

mrpElementIsReleased: boolean

General Flag.

mrpElementItem

mrpElementItem: string

Mrp Element Item. Maximum length: 6.

mrpElementOpenQuantity

mrpElementOpenQuantity: BigNumber

Mrp Element Open Quantity.

mrpElementQuantityIsFirm

mrpElementQuantityIsFirm: boolean

General Flag.

mrpElementScheduleLine

mrpElementScheduleLine: string

Mrp Element Schedule Line. Maximum length: 4.

mrpPlanningSegment

mrpPlanningSegment: string

Mrp Planning Segment. Maximum length: 20.

mrpPlanningSegmentType

mrpPlanningSegmentType: string

Mrp Planning Segment Type. Maximum length: 2.

mrpPlant

mrpPlant: string

Mrp Plant. Maximum length: 4.

numberOfAggregatedItems

numberOfAggregatedItems: number

Signed INT2 / Edm.int16.

numberOfWorkdaysPerPeriod

numberOfWorkdaysPerPeriod: number

Signed INT2 / Edm.int16.

periodOrSegment

periodOrSegment: string

Period or Segment. Depending on the context here, you will either see the period for which the receipt quantities and the requirement quantities are accumulated orthe planning segment (for example individual customer segment (comprising number, item, delivery schedule), storage location segment, and so on). Maximum length: 22.

periodType

periodType: string

Period Type. Maximum length: 1.

productionVersion

productionVersion: string

Production Version. Maximum length: 4.

receiptCategoryGroup

receiptCategoryGroup: string

Receipt Category Group. Maximum length: 1.

receiptCategoryGroupName

receiptCategoryGroupName: string

Receipt Category Group Name. Maximum length: 60.

Protected remoteState

remoteState: object

The remote state of the entity. Remote state refers to the last known state of the entity on the remote system from which it has been retrieved or to which it has been posted. It is stored as map, where the keys are stored in the format of VDM properties.

Type declaration

  • [keys: string]: any

sourceMrpElement

sourceMrpElement: string

Source Mrp Element. Maximum length: 12.

sourceMrpElementCategory

sourceMrpElementCategory: string

Source Mrp Element Category. Maximum length: 2.

sourceMrpElementItem

sourceMrpElementItem: string

Source Mrp Element Item. Maximum length: 6.

sourceMrpElementScheduleLine

sourceMrpElementScheduleLine: string

Source Mrp Element Schedule Line. Maximum length: 4.

storageLocation

storageLocation: string

Storage Location. Maximum length: 4.

timeHorizonCode

timeHorizonCode: string

Time Horizon Code. Maximum length: 1.

unitOfMeasureName

unitOfMeasureName: string

Unit Of Measure Name. Maximum length: 6.

unitOfMeasureText

unitOfMeasureText: string

Unit Of Measure Text. Maximum length: 30.

versionIdentifier

versionIdentifier: string

ETag version identifier accessor.

returns

The ETag version identifier of the retrieved entity, returns undefined if not retrieved

Static ALL_FIELDS

ALL_FIELDS: AllFields<SupplyDemandItems> = new AllFields('*', SupplyDemandItems)

All fields selector.

Static DEMAND_CATEGORY_GROUP

DEMAND_CATEGORY_GROUP: StringField<SupplyDemandItems> = new StringField('DemandCategoryGroup', SupplyDemandItems, 'Edm.String')

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

Static DEMAND_CATEGORY_GROUP_NAME

DEMAND_CATEGORY_GROUP_NAME: StringField<SupplyDemandItems> = new StringField('DemandCategoryGroupName', SupplyDemandItems, 'Edm.String')

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

Static EXCEPTION_MESSAGE_NUMBER

EXCEPTION_MESSAGE_NUMBER: StringField<SupplyDemandItems> = new StringField('ExceptionMessageNumber', SupplyDemandItems, 'Edm.String')

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

Static EXCEPTION_MESSAGE_NUMBER_2

EXCEPTION_MESSAGE_NUMBER_2: StringField<SupplyDemandItems> = new StringField('ExceptionMessageNumber2', SupplyDemandItems, 'Edm.String')

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

Static EXCEPTION_MESSAGE_TEXT

EXCEPTION_MESSAGE_TEXT: StringField<SupplyDemandItems> = new StringField('ExceptionMessageText', SupplyDemandItems, 'Edm.String')

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

Static EXCEPTION_MESSAGE_TEXT_2

EXCEPTION_MESSAGE_TEXT_2: StringField<SupplyDemandItems> = new StringField('ExceptionMessageText2', SupplyDemandItems, 'Edm.String')

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

Static MATERIAL

MATERIAL: StringField<SupplyDemandItems> = new StringField('Material', SupplyDemandItems, 'Edm.String')

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

Static MATERIAL_BASE_UNIT

MATERIAL_BASE_UNIT: StringField<SupplyDemandItems> = new StringField('MaterialBaseUnit', SupplyDemandItems, 'Edm.String')

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

Static MATERIAL_EXTERNAL_ID

MATERIAL_EXTERNAL_ID: StringField<SupplyDemandItems> = new StringField('MaterialExternalID', SupplyDemandItems, 'Edm.String')

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

Static MATERIAL_SAFETY_STOCK_QTY

MATERIAL_SAFETY_STOCK_QTY: BigNumberField<SupplyDemandItems> = new BigNumberField('MaterialSafetyStockQty', SupplyDemandItems, 'Edm.Decimal')

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

Static MATERIAL_SHORTAGE_PROFILE

MATERIAL_SHORTAGE_PROFILE: StringField<SupplyDemandItems> = new StringField('MaterialShortageProfile', SupplyDemandItems, 'Edm.String')

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

Static MRP_AREA

MRP_AREA: StringField<SupplyDemandItems> = new StringField('MRPArea', SupplyDemandItems, 'Edm.String')

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

Static MRP_AVAILABILITY

MRP_AVAILABILITY: StringField<SupplyDemandItems> = new StringField('MRPAvailability', SupplyDemandItems, 'Edm.String')

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

Static MRP_AVAILABLE_QUANTITY

MRP_AVAILABLE_QUANTITY: BigNumberField<SupplyDemandItems> = new BigNumberField('MRPAvailableQuantity', SupplyDemandItems, 'Edm.Decimal')

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

Static MRP_CONTROLLER

MRP_CONTROLLER: StringField<SupplyDemandItems> = new StringField('MRPController', SupplyDemandItems, 'Edm.String')

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

Static MRP_ELEMENT

MRP_ELEMENT: StringField<SupplyDemandItems> = new StringField('MRPElement', SupplyDemandItems, 'Edm.String')

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

Static MRP_ELEMENT_AVAILY_OR_RQMT_DATE

MRP_ELEMENT_AVAILY_OR_RQMT_DATE: DateField<SupplyDemandItems> = new DateField('MRPElementAvailyOrRqmtDate', SupplyDemandItems, 'Edm.DateTime')

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

Static MRP_ELEMENT_BUSINESS_PARTNER

MRP_ELEMENT_BUSINESS_PARTNER: StringField<SupplyDemandItems> = new StringField('MRPElementBusinessPartner', SupplyDemandItems, 'Edm.String')

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

Static MRP_ELEMENT_BUSINESS_PARTNER_NAME

MRP_ELEMENT_BUSINESS_PARTNER_NAME: StringField<SupplyDemandItems> = new StringField('MRPElementBusinessPartnerName', SupplyDemandItems, 'Edm.String')

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

Static MRP_ELEMENT_BUSINESS_PARTNER_TYPE

MRP_ELEMENT_BUSINESS_PARTNER_TYPE: StringField<SupplyDemandItems> = new StringField('MRPElementBusinessPartnerType', SupplyDemandItems, 'Edm.String')

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

Static MRP_ELEMENT_CATEGORY

MRP_ELEMENT_CATEGORY: StringField<SupplyDemandItems> = new StringField('MRPElementCategory', SupplyDemandItems, 'Edm.String')

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

Static MRP_ELEMENT_CATEGORY_NAME

MRP_ELEMENT_CATEGORY_NAME: StringField<SupplyDemandItems> = new StringField('MRPElementCategoryName', SupplyDemandItems, 'Edm.String')

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

Static MRP_ELEMENT_CATEGORY_SHORT_NAME

MRP_ELEMENT_CATEGORY_SHORT_NAME: StringField<SupplyDemandItems> = new StringField('MRPElementCategoryShortName', SupplyDemandItems, 'Edm.String')

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

Static MRP_ELEMENT_DOCUMENT_TYPE

MRP_ELEMENT_DOCUMENT_TYPE: StringField<SupplyDemandItems> = new StringField('MRPElementDocumentType', SupplyDemandItems, 'Edm.String')

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

Static MRP_ELEMENT_DOCUMENT_TYPE_NAME

MRP_ELEMENT_DOCUMENT_TYPE_NAME: StringField<SupplyDemandItems> = new StringField('MRPElementDocumentTypeName', SupplyDemandItems, 'Edm.String')

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

Static MRP_ELEMENT_IS_PARTIALLY_DELIVERED

MRP_ELEMENT_IS_PARTIALLY_DELIVERED: BooleanField<SupplyDemandItems> = new BooleanField('MRPElementIsPartiallyDelivered', SupplyDemandItems, 'Edm.Boolean')

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

Static MRP_ELEMENT_IS_RELEASED

MRP_ELEMENT_IS_RELEASED: BooleanField<SupplyDemandItems> = new BooleanField('MRPElementIsReleased', SupplyDemandItems, 'Edm.Boolean')

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

Static MRP_ELEMENT_ITEM

MRP_ELEMENT_ITEM: StringField<SupplyDemandItems> = new StringField('MRPElementItem', SupplyDemandItems, 'Edm.String')

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

Static MRP_ELEMENT_OPEN_QUANTITY

MRP_ELEMENT_OPEN_QUANTITY: BigNumberField<SupplyDemandItems> = new BigNumberField('MRPElementOpenQuantity', SupplyDemandItems, 'Edm.Decimal')

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

Static MRP_ELEMENT_QUANTITY_IS_FIRM

MRP_ELEMENT_QUANTITY_IS_FIRM: BooleanField<SupplyDemandItems> = new BooleanField('MRPElementQuantityIsFirm', SupplyDemandItems, 'Edm.Boolean')

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

Static MRP_ELEMENT_SCHEDULE_LINE

MRP_ELEMENT_SCHEDULE_LINE: StringField<SupplyDemandItems> = new StringField('MRPElementScheduleLine', SupplyDemandItems, 'Edm.String')

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

Static MRP_PLANNING_SEGMENT

MRP_PLANNING_SEGMENT: StringField<SupplyDemandItems> = new StringField('MRPPlanningSegment', SupplyDemandItems, 'Edm.String')

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

Static MRP_PLANNING_SEGMENT_TYPE

MRP_PLANNING_SEGMENT_TYPE: StringField<SupplyDemandItems> = new StringField('MRPPlanningSegmentType', SupplyDemandItems, 'Edm.String')

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

Static MRP_PLANT

MRP_PLANT: StringField<SupplyDemandItems> = new StringField('MRPPlant', SupplyDemandItems, 'Edm.String')

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

Static NUMBER_OF_AGGREGATED_ITEMS

NUMBER_OF_AGGREGATED_ITEMS: NumberField<SupplyDemandItems> = new NumberField('NumberOfAggregatedItems', SupplyDemandItems, 'Edm.Int16')

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

Static NUMBER_OF_WORKDAYS_PER_PERIOD

NUMBER_OF_WORKDAYS_PER_PERIOD: NumberField<SupplyDemandItems> = new NumberField('NumberOfWorkdaysPerPeriod', SupplyDemandItems, 'Edm.Int16')

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

Static PERIOD_OR_SEGMENT

PERIOD_OR_SEGMENT: StringField<SupplyDemandItems> = new StringField('PeriodOrSegment', SupplyDemandItems, 'Edm.String')

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

Static PERIOD_TYPE

PERIOD_TYPE: StringField<SupplyDemandItems> = new StringField('PeriodType', SupplyDemandItems, 'Edm.String')

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

Static PRODUCTION_VERSION

PRODUCTION_VERSION: StringField<SupplyDemandItems> = new StringField('ProductionVersion', SupplyDemandItems, 'Edm.String')

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

Static RECEIPT_CATEGORY_GROUP

RECEIPT_CATEGORY_GROUP: StringField<SupplyDemandItems> = new StringField('ReceiptCategoryGroup', SupplyDemandItems, 'Edm.String')

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

Static RECEIPT_CATEGORY_GROUP_NAME

RECEIPT_CATEGORY_GROUP_NAME: StringField<SupplyDemandItems> = new StringField('ReceiptCategoryGroupName', SupplyDemandItems, 'Edm.String')

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

Static SOURCE_MRP_ELEMENT

SOURCE_MRP_ELEMENT: StringField<SupplyDemandItems> = new StringField('SourceMRPElement', SupplyDemandItems, 'Edm.String')

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

Static SOURCE_MRP_ELEMENT_CATEGORY

SOURCE_MRP_ELEMENT_CATEGORY: StringField<SupplyDemandItems> = new StringField('SourceMRPElementCategory', SupplyDemandItems, 'Edm.String')

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

Static SOURCE_MRP_ELEMENT_ITEM

SOURCE_MRP_ELEMENT_ITEM: StringField<SupplyDemandItems> = new StringField('SourceMRPElementItem', SupplyDemandItems, 'Edm.String')

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

Static SOURCE_MRP_ELEMENT_SCHEDULE_LINE

SOURCE_MRP_ELEMENT_SCHEDULE_LINE: StringField<SupplyDemandItems> = new StringField('SourceMRPElementScheduleLine', SupplyDemandItems, 'Edm.String')

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

Static STORAGE_LOCATION

STORAGE_LOCATION: StringField<SupplyDemandItems> = new StringField('StorageLocation', SupplyDemandItems, 'Edm.String')

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

Static TIME_HORIZON_CODE

TIME_HORIZON_CODE: StringField<SupplyDemandItems> = new StringField('TimeHorizonCode', SupplyDemandItems, 'Edm.String')

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

Static UNIT_OF_MEASURE_NAME

UNIT_OF_MEASURE_NAME: StringField<SupplyDemandItems> = new StringField('UnitOfMeasureName', SupplyDemandItems, 'Edm.String')

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

Static UNIT_OF_MEASURE_TEXT

UNIT_OF_MEASURE_TEXT: StringField<SupplyDemandItems> = new StringField('UnitOfMeasureText', SupplyDemandItems, 'Edm.String')

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

Static _allFields

_allFields: Array<StringField<SupplyDemandItems> | BigNumberField<SupplyDemandItems> | DateField<SupplyDemandItems> | BooleanField<SupplyDemandItems> | NumberField<SupplyDemandItems>> = [SupplyDemandItems.MATERIAL,SupplyDemandItems.MRP_AREA,SupplyDemandItems.MRP_PLANT,SupplyDemandItems.MRP_PLANNING_SEGMENT,SupplyDemandItems.MRP_PLANNING_SEGMENT_TYPE,SupplyDemandItems.MATERIAL_SHORTAGE_PROFILE,SupplyDemandItems.DEMAND_CATEGORY_GROUP,SupplyDemandItems.DEMAND_CATEGORY_GROUP_NAME,SupplyDemandItems.RECEIPT_CATEGORY_GROUP,SupplyDemandItems.RECEIPT_CATEGORY_GROUP_NAME,SupplyDemandItems.MATERIAL_BASE_UNIT,SupplyDemandItems.UNIT_OF_MEASURE_NAME,SupplyDemandItems.UNIT_OF_MEASURE_TEXT,SupplyDemandItems.MATERIAL_EXTERNAL_ID,SupplyDemandItems.MRP_AVAILABILITY,SupplyDemandItems.MATERIAL_SAFETY_STOCK_QTY,SupplyDemandItems.MRP_ELEMENT_OPEN_QUANTITY,SupplyDemandItems.MRP_AVAILABLE_QUANTITY,SupplyDemandItems.MRP_ELEMENT,SupplyDemandItems.MRP_ELEMENT_AVAILY_OR_RQMT_DATE,SupplyDemandItems.MRP_ELEMENT_BUSINESS_PARTNER,SupplyDemandItems.MRP_ELEMENT_BUSINESS_PARTNER_NAME,SupplyDemandItems.MRP_ELEMENT_BUSINESS_PARTNER_TYPE,SupplyDemandItems.MRP_ELEMENT_CATEGORY,SupplyDemandItems.MRP_ELEMENT_CATEGORY_SHORT_NAME,SupplyDemandItems.MRP_ELEMENT_CATEGORY_NAME,SupplyDemandItems.MRP_ELEMENT_DOCUMENT_TYPE,SupplyDemandItems.MRP_ELEMENT_DOCUMENT_TYPE_NAME,SupplyDemandItems.MRP_ELEMENT_IS_PARTIALLY_DELIVERED,SupplyDemandItems.MRP_ELEMENT_IS_RELEASED,SupplyDemandItems.MRP_ELEMENT_ITEM,SupplyDemandItems.MRP_ELEMENT_QUANTITY_IS_FIRM,SupplyDemandItems.MRP_ELEMENT_SCHEDULE_LINE,SupplyDemandItems.PRODUCTION_VERSION,SupplyDemandItems.SOURCE_MRP_ELEMENT,SupplyDemandItems.SOURCE_MRP_ELEMENT_CATEGORY,SupplyDemandItems.SOURCE_MRP_ELEMENT_ITEM,SupplyDemandItems.SOURCE_MRP_ELEMENT_SCHEDULE_LINE,SupplyDemandItems.STORAGE_LOCATION,SupplyDemandItems.TIME_HORIZON_CODE,SupplyDemandItems.EXCEPTION_MESSAGE_NUMBER,SupplyDemandItems.EXCEPTION_MESSAGE_TEXT,SupplyDemandItems.EXCEPTION_MESSAGE_NUMBER_2,SupplyDemandItems.EXCEPTION_MESSAGE_TEXT_2,SupplyDemandItems.PERIOD_TYPE,SupplyDemandItems.PERIOD_OR_SEGMENT,SupplyDemandItems.NUMBER_OF_WORKDAYS_PER_PERIOD,SupplyDemandItems.NUMBER_OF_AGGREGATED_ITEMS,SupplyDemandItems.MRP_CONTROLLER]

All fields of the SupplyDemandItems entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "SupplyDemandItems"

Technical entity name for SupplyDemandItems.

Static _keyFields

_keyFields: Array<Selectable<SupplyDemandItems>> = [SupplyDemandItems.MATERIAL, SupplyDemandItems.MRP_AREA, SupplyDemandItems.MRP_PLANT, SupplyDemandItems.MRP_PLANNING_SEGMENT, SupplyDemandItems.MRP_PLANNING_SEGMENT_TYPE, SupplyDemandItems.MATERIAL_SHORTAGE_PROFILE]

All key fields of the SupplyDemandItems entity.

Static _keys

_keys: object = SupplyDemandItems._keyFields.reduce((acc: { [keys: string]: Selectable<SupplyDemandItems> }, field: Selectable<SupplyDemandItems>) => {acc[field.fieldName] = field;return acc;}, {})

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

Type declaration

Static _serviceName

_serviceName: string = "API_MRP_MATERIALS_SRV_01"
deprecated

Since v1.0.1 Use _defaultServicePath instead. Technical service name for SupplyDemandItems.

Methods

Protected getCurrentMapKeys

  • getCurrentMapKeys(): Entity
  • Returns a map of all defined fields in entity to their current values.

    Returns Entity

    Entity with all defined entity fields

getCustomField

  • getCustomField(fieldName: string): any
  • Custom field value getter.

    Parameters

    • fieldName: string

      The name of the custom field

    Returns any

    The value of the corresponding custom field

getCustomFields

  • getCustomFields(): MapType<any>
  • Returns a map that contains all entity custom fields.

    Returns MapType<any>

    A map of all defined custom fields in the entity

getUpdatedCustomFields

  • getUpdatedCustomFields(): MapType<any>
  • Returns all updated custom field properties compared to the last known remote state.

    Returns MapType<any>

    A map containing all updated custom properties, with their new values

getUpdatedProperties

  • getUpdatedProperties(): Entity
  • Returns all changed properties compared to the last known remote state. The returned properties does not include custom fields. Use getUpdatedCustomFields, if updated custom fields are needed.

    Returns Entity

    Entity with all properties that changed

hasCustomField

  • hasCustomField(fieldName: string): boolean
  • Validates whether a custom field exists in the entity.

    Parameters

    • fieldName: string

      The name of the custom field to update

    Returns boolean

    A boolean value, that indicates whether a custom field is defined in entity

initializeCustomFields

  • initializeCustomFields(customFields: MapType<any>): this
  • Sets all retrieved custom fields in entity.

    Parameters

    • customFields: MapType<any>

      Extracted custom fields from a retrieved entity

    Returns this

    A boolean value, that indicates the existence of the field in entity

Protected isConflictingCustomField

  • isConflictingCustomField(customFieldName: string): boolean
  • Validates whether a field name does not conflict with an original field name and thus can be defined as custom fields.

    Parameters

    • customFieldName: string

      Field name to check

    Returns boolean

    Boolean value that describes whether a field name can be defined as custom field

setCustomField

  • setCustomField(fieldName: string, value: any): this
  • Sets a new custom field in the entity or updates it. Throws an error, if the provided custom field name is already defined by an original field in entity.

    Parameters

    • fieldName: string

      The name of the custom field to update

    • value: any

      The value of the field

    Returns this

    The entity itself, to facilitate method chaining

setOrInitializeRemoteState

  • setOrInitializeRemoteState(state?: MapType<any>): this
  • Initializes or sets the remoteState of the entity. This function is called on all read, create and update requests. This function should be called after initializeCustomFields, if custom fields are defined.

    deprecated

    Since 1.12.0. Will be removed in version 2.0.

    Parameters

    • Optional state: MapType<any>

      State to be set as remote state

    Returns this

    The entity itself, to facilitate method chaining

setVersionIdentifier

  • setVersionIdentifier(etag: string | undefined): this
  • Set the ETag version identifier of the retrieved entity.

    Parameters

    • etag: string | undefined

      The returned ETag version of the entity

    Returns this

    The entity itself, to facilitate method chaining

toJSON

  • toJSON(): object
  • Overwrites the default toJSON method so that all instance variables as well as all custom fields of the entity are returned.

    Returns object

    An object containing all instance variables + custom fields.

    • [key: string]: any

Static builder

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<SupplyDemandItems>

    A builder that constructs instances of entity type SupplyDemandItems.

Static Protected customFieldSelector

  • customFieldSelector<EntityT>(fieldName: string, entityConstructor: Constructable<EntityT>): CustomField<EntityT>
  • Type parameters

    • EntityT: Entity

    Parameters

    • fieldName: string
    • entityConstructor: Constructable<EntityT>

    Returns CustomField<EntityT>

Static Protected entityBuilder

  • entityBuilder<EntityT, EntityTypeForceMandatoryT>(entityConstructor: Constructable<EntityT, EntityTypeForceMandatoryT>): EntityBuilderType<EntityT, EntityTypeForceMandatoryT>
  • Type parameters

    • EntityT: Entity

    • EntityTypeForceMandatoryT

    Parameters

    • entityConstructor: Constructable<EntityT, EntityTypeForceMandatoryT>

    Returns EntityBuilderType<EntityT, EntityTypeForceMandatoryT>

Static requestBuilder

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

    Returns SupplyDemandItemsRequestBuilder

    A SupplyDemandItems request builder.