Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d76c81a9d8 | |||
| 143a3622dd | |||
| 75992293c6 | |||
| 0e004828b3 | |||
| 714751f404 | |||
| 27576e946e |
@@ -24753,7 +24753,7 @@ BEGIN
|
|||||||
select Docs.DocID, UnitID, SectionID = MIN(SectionID)
|
select Docs.DocID, UnitID, SectionID = MIN(SectionID)
|
||||||
FROM
|
FROM
|
||||||
(SELECT DISTINCT [DocID]
|
(SELECT DISTINCT [DocID]
|
||||||
FROM [VEPROMS_Barakah].[dbo].[tblDocuments]) Docs
|
FROM [tblDocuments]) Docs
|
||||||
INNER JOIN Entries on Docs.DocID = Entries.DocID
|
INNER JOIN Entries on Docs.DocID = Entries.DocID
|
||||||
INNER JOIN Contents on Entries.ContentID = Contents.ContentID
|
INNER JOIN Contents on Entries.ContentID = Contents.ContentID
|
||||||
inner join Items on Items.ContentID = Contents.ContentID
|
inner join Items on Items.ContentID = Contents.ContentID
|
||||||
|
|||||||
@@ -947,14 +947,16 @@ namespace VEPROMS
|
|||||||
pi = AddProcedure(xd.DocumentElement, dvi, pi);
|
pi = AddProcedure(xd.DocumentElement, dvi, pi);
|
||||||
GC.Collect(); // need to cleanup memory after importing each procedure due to use of Regular Expressions in processing RO and Transition links
|
GC.Collect(); // need to cleanup memory after importing each procedure due to use of Regular Expressions in processing RO and Transition links
|
||||||
}
|
}
|
||||||
DirectoryInfo di = new DirectoryInfo(PEIPath);
|
|
||||||
DirectoryInfo[] dis = di.GetDirectories();
|
|
||||||
for (int d = 0; d < dis.Length; d++)
|
|
||||||
dis[d].Delete(true);
|
|
||||||
lblImportStatus.Text = "Updating Transitions";
|
lblImportStatus.Text = "Updating Transitions";
|
||||||
AddTransitions();
|
AddTransitions();
|
||||||
FixFloatingFoldouts();
|
FixFloatingFoldouts();
|
||||||
SaveTransitionAndItemContentIDs();
|
SaveTransitionAndItemContentIDs();
|
||||||
|
// B2026-034 remove the folders created from un-ziping the import set file - this was done prior to updating transitions
|
||||||
|
// so if there was an issue deleting these temporay folders and files, the actual importing will be completed
|
||||||
|
DirectoryInfo di = new DirectoryInfo(PEIPath);
|
||||||
|
DirectoryInfo[] dis = di.GetDirectories();
|
||||||
|
for (int d = 0; d < dis.Length; d++)
|
||||||
|
dis[d].Delete(true);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user