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 descriptionType / EDT / enumMandatoryReferencesIn public entities
PlanActivityPoints to the plan activity this row belongs to.Int64
PlanActivityRefRecId
YesPlanActivity.RecIdNone
InventLocationDataAreaIdCompany of the warehouse record. Used together with the warehouse ID.String
DataAreaId
YesInventLocation.dataAreaIdNone
InventLocationIdWarehouse linked to the activity.String
InventLocationId
YesInventLocation.InventLocationIdWMSLocation.inventLocationIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WHSInventStatusIdInventory status linked to the activity.String
WHSInventStatusId
NoWHSInventStatus.InventStatusIdNone
WMSLocationDataAreaIdCompany of the location record. Used together with the location ID.String
DataAreaId
NoWMSLocation.dataAreaIdNone
WMSLocationIdLocation within the warehouse linked to the activity.String
WMSLocationId
NoWMSLocation.wMSLocationIdNone

Indexes (1)

  • PlanActivityIdxReplacement key

    PlanActivity

    Unique, alternate key.

Relations (4)

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

  • InventLocation → InventLocation

    Join on InventLocationDataAreaId = InventLocation.dataAreaId, InventLocationId = InventLocation.InventLocationId

    Many PlanActivityLocation records → exactly one InventLocation record

  • PlanActivity → PlanActivity

    Join on PlanActivity = PlanActivity.RecId

    Zero or one PlanActivityLocation record → exactly one PlanActivity record

  • WMSLocation → WMSLocation

    Join on WMSLocationDataAreaId = WMSLocation.dataAreaId, WMSLocationId = WMSLocation.wMSLocationId, InventLocationId = WMSLocation.inventLocationId

    Many PlanActivityLocation records → zero or one WMSLocation record

  • WHSInventStatusId → WHSInventStatus

    Join on WHSInventStatusId = WHSInventStatus.InventStatusId

    Many 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.

Email sales@drdynamics.co.uk