Table

MpsCTPRequest

CTP requests

Holds requests for capable-to-promise (CTP) calculations. Each request has a key, a planning job, an item and a status such as Ready, Calculating or Failed. It can link to an inventory transaction through a lot ID.

Table name
MpsCTPRequest
Module
Master planning
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
MPS
Primary index
None
Replacement key
None
Key fields
None
Model
MasterPlanningService

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AttemptsNumberCounter showing the number of attempts.low confidenceInteger
Counter
NoNone
BatchTaskRecIdSystem record ID of the batch task linked to the request.Int64
RecId
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventTransIdLot ID that points to the related inventory transaction origin or sales line.String (20)
TradeInventTransId
NoInventTransOrigin.InventTransIdSalesLine.InventTransIdNone
ItemIdItem that the request is for.String (20)
ItemId
YesInventTable.ItemIdNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PlanningJobKeyKey of the master planning job the request belongs to.String (38)
MpsMasterPlanningJobKey
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RequestKeyUnique ID of the CTP request.Guid
MpsCTPRequestKey
NoNone
StatusCurrent state of the request, for example Ready, Calculating or Failed.Enum
MpsCTPRequestStatus (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (4)

Relations (3)

Each relation joins MpsCTPRequest to another table on the fields shown.

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many MpsCTPRequest records → zero or one InventTable record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Zero or one MpsCTPRequest record → zero or one InventTransOrigin record

  • SalesLine → SalesLine

    Join on InventTransId = SalesLine.InventTransId

    Zero or one MpsCTPRequest record → exactly one SalesLine record

Get this data out

No public entity reads from MpsCTPRequest. Its data is only reachable through the application, a custom entity or a database export.

Need help with MpsCTPRequest in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk