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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AttemptsNumberCounter showing the number of attempts.low confidence | IntegerCounter | No | None | |
BatchTaskRecIdSystem record ID of the batch task linked to the request. | Int64RecId | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventTransIdLot ID that points to the related inventory transaction origin or sales line. | String (20)TradeInventTransId | No | InventTransOrigin.InventTransIdSalesLine.InventTransId | None |
ItemIdItem that the request is for. | String (20)ItemId | Yes | InventTable.ItemId | None |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PlanningJobKeyKey of the master planning job the request belongs to. | String (38)MpsMasterPlanningJobKey | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RequestKeyUnique ID of the CTP request. | GuidMpsCTPRequestKey | No | None | |
StatusCurrent state of the request, for example Ready, Calculating or Failed. | EnumMpsCTPRequestStatus (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (4)
StatusIdxNot unique.
InventTransIdItemIdxNot unique.
RequestKeyIdxNot unique.
BatchTaskAndStatusIdxNot unique.
Relations (3)
Each relation joins MpsCTPRequest to another table on the fields shown.
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany MpsCTPRequest records → zero or one InventTable record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdZero or one MpsCTPRequest record → zero or one InventTransOrigin record
SalesLine→SalesLineJoin on
InventTransId = SalesLine.InventTransIdZero 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.