Table
PlanActivityLocation
Plan activity locations
Stores the warehouse, location and inventory status linked to a plan activity. The key is the plan activity, so there is one row per activity. It points to warehouses, locations and inventory statuses.
- Table name
PlanActivityLocation- Module
Master planning- Table group
Main- Table type
Regular- Data per company
No- Configuration key
LeanManufacturing- Primary index
None- Replacement key
PlanActivityIdx- Key fields
PlanActivity- Model
Foundation
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PlanActivityPoints to the plan activity this row belongs to. | Int64PlanActivityRefRecId | Yes | PlanActivity.RecId | None |
InventLocationDataAreaIdCompany of the warehouse record. Used together with the warehouse ID. | StringDataAreaId | Yes | InventLocation.dataAreaId | None |
InventLocationIdWarehouse linked to the activity. | StringInventLocationId | Yes | InventLocation.InventLocationIdWMSLocation.inventLocationId | 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 | |
WHSInventStatusIdInventory status linked to the activity. | StringWHSInventStatusId | No | WHSInventStatus.InventStatusId | None |
WMSLocationDataAreaIdCompany of the location record. Used together with the location ID. | StringDataAreaId | No | WMSLocation.dataAreaId | None |
WMSLocationIdLocation within the warehouse linked to the activity. | StringWMSLocationId | No | WMSLocation.wMSLocationId | None |
Indexes (1)
PlanActivityIdxReplacement keyUnique, alternate key.
Relations (4)
Each relation joins PlanActivityLocation to another table on the fields shown.
InventLocation→InventLocationJoin on
InventLocationDataAreaId = InventLocation.dataAreaId,InventLocationId = InventLocation.InventLocationIdMany PlanActivityLocation records → exactly one InventLocation record
PlanActivity→PlanActivityJoin on
PlanActivity = PlanActivity.RecIdZero or one PlanActivityLocation record → exactly one PlanActivity record
WMSLocation→WMSLocationJoin on
WMSLocationDataAreaId = WMSLocation.dataAreaId,WMSLocationId = WMSLocation.wMSLocationId,InventLocationId = WMSLocation.inventLocationIdMany PlanActivityLocation records → zero or one WMSLocation record
WHSInventStatusId→WHSInventStatusJoin on
WHSInventStatusId = WHSInventStatus.InventStatusIdMany PlanActivityLocation records → zero or one WHSInventStatus record
Get this data out
No public entity reads from PlanActivityLocation. Its data is only reachable through the application, a custom entity or a database export.
Need help with PlanActivityLocation in a report, an integration or a migration? Talk to Dr Dynamics.