Added code to store the xml representation of the approved version of the procedure in the database for future support of temp mods, etc.

Added code to support handling of Floating Foldouts, implement inclusion of audit reocords and converting invalid referenced objects and invalid transitions to text during import/export operations
Added code to support storage of email addresses and cell phone numbers of users which are used as part of the batch refresh process.
This commit is contained in:
Rich
2015-02-05 03:48:21 +00:00
parent 3f945b04c5
commit 4ea2dbbe1d
3 changed files with 418 additions and 57 deletions

View File

@@ -1138,7 +1138,15 @@ namespace VEPROMS
int selectedSlave = pi.MyDocVersion.DocVersionConfig.SelectedSlave;
pi.MyDocVersion.DocVersionConfig.SelectedSlave = 0;
if (si.IsApproved == 1)
{
dlgExportImport dlg = new dlgExportImport("Export", pi);
System.Xml.XmlDocument xd = new System.Xml.XmlDocument();
dlg.ExportItem(xd, pi, "procedure");
version.ApprovedXML = xd.OuterXml;
version.Save();
dlg.Dispose();
UpdateProcedureConfig(pi, ap.RevNumber, ap.RevDate, DateTime.Now, selectedSlave);
}
else
UpdateProcedureConfig(pi, ap.RevNumber, ap.RevDate, myDTS, selectedSlave);
//UpdateProcedureDTS(pi, DateTime.Now);