Issue:
· After making 3 successful change management runs I started to test the task progressing. I noticed that many of the tasks in the table “TASKS_ConstructionTasks_with_XAtts” in the SQL database was duplicated. I checked the work details.mdb in both VPMData and in VPMData-SQL Connect to see if the task were duplicated there and they were not.
· I then went into that table in SQL and deleted all of the contents and then re-run a full commit using the Executive. Again these tasks were duplicated, many times.
· I then deleted the SQL DB and re-ran set up utility to start fresh. I re-instated my VPMData and left the VPMData-SQL connect empty. I ran phase 4 in the executive. I checked the table and it was duplicated again.
Work Around:
The problem is with the “vw_WPACK_List_Tasks_All” View in the SQL Database. This View links the “dbo.VPM_ConstructionTaskTable” to the “dbo.VPM_ActivityTypes” table by “RefActivityKey” field only.
The problem is that in the “dbo.VPM_ActivityTypes” table contains five entries with a “RefActivityKey” of “Install” one for each of the following “RefCraftFilter”:
1. Pipe
2. Supports
3. Instrumentation
4. Foundations
5. Equipment
To fix this modify the “vw_WPACK_List_Tasks_All” View and link “dbo.VPM_ConstructionTaskTable” to the “dbo.VPM_ActivityTypes” table by “RefActivityKey” and “REFCRAFTKEY” in “dbo.VPM_ConstructionTaskTable” to “RefCraftFilter” in “dbo.VPM_ActivityTypes”. See attached.
This issue is not showing up in CSST.mdb because the “VPM_ActivityTypes” table in CSST-Data.mdb is empty.