Table
MpsMultiSourcePolicyAssignment
Multisource policy assignment
Assigns a multisource policy to an item and inventory dimension combination for a date range. The key is item, inventory dimension and valid-from date.
- Table name
MpsMultiSourcePolicyAssignment- Module
Master planning- Table group
Reference- Table type
Regular- Data per company
Yes- Configuration key
MPS- Primary index
PolicyAssignmentIdx- Replacement key
None- Key fields
ItemId, InventDimId, ValidFromDate- Model
MasterPlanningService
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ItemIdItem the policy is assigned to. | String (20)ItemId | Yes | InventTable.ItemId | MpsMultiSourcePolicyAssignmentEntity |
InventDimIdInventory dimensions the assignment applies to. | String (20)InventDimId | Yes | InventDim.inventDimId | None |
ValidFromDateFirst date the assignment is active. | DateMpsMultiSourcePolicyAssignmentValidFromDate | No | MpsMultiSourcePolicyAssignmentEntity | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | 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 | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
MultiSourcePolicyRecord ID of the multisource policy that is assigned. | Int64MpsMultiSourcePolicyRefRecId | Yes | MpsMultiSourcePolicy.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ValidToDateLast date the assignment is active. | DateMpsMultiSourcePolicyAssignmentValidToDate | No | MpsMultiSourcePolicyAssignmentEntity |
Indexes (3)
PolicyAssignmentIdxPrimary indexItemId,InventDimId,ValidFromDateUnique, alternate key.
MpsMultiSourcePolicyIdxNot unique.
ValidToDateIdxNot unique.
Relations (4)
Each relation joins MpsMultiSourcePolicyAssignment to another table on the fields shown.
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany MpsMultiSourcePolicyAssignment records → zero or one InventTable record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany MpsMultiSourcePolicyAssignment records → zero or one InventDim record
MpsMultiSourcePolicy→MpsMultiSourcePolicyJoin on
MultiSourcePolicy = MpsMultiSourcePolicy.RecIdMany MpsMultiSourcePolicyAssignment records → exactly one MpsMultiSourcePolicy record
MpsMultiSourcePolicyEntry→MpsMultiSourcePolicyEntryJoin on
MultiSourcePolicy = MpsMultiSourcePolicyEntry.MultiSourcePolicyMany MpsMultiSourcePolicyAssignment records → exactly one MpsMultiSourcePolicyEntry record
Get this data out
Tables are not exposed directly. These public entities read from MpsMultiSourcePolicyAssignment; use one of them in Power BI, Power Platform or a data management project.
MpsMultiSourcePolicyAssignmentEntity· 3 fields from this table
Need help with MpsMultiSourcePolicyAssignment in a report, an integration or a migration? Talk to Dr Dynamics.