Changed how ROFSTLookup object was obtained based on correct DocVersion
Changed how RoFst date time is compared to actual ro.fst file date time
This commit is contained in:
@@ -478,9 +478,9 @@ namespace VEPROMS.CSLA.Library
|
||||
itemInfo.ActiveSection = sectionInfo;
|
||||
itemInfo.MyDocVersion = docVersionInfo;
|
||||
ROFstInfo rofstinfo = docVersionInfo.DocVersionAssociations[0].MyROFst;
|
||||
rofstinfo.docVer = docVersionInfo;
|
||||
ROFSTLookup lookup = rofstinfo.ROFSTLookup;
|
||||
lookup.DocVersionInfo = docVersionInfo;
|
||||
//rofstinfo.docVer = docVersionInfo;
|
||||
ROFSTLookup lookup = rofstinfo.GetROFSTLookup(docVersionInfo);
|
||||
lookup.MyDocVersionInfo = docVersionInfo;
|
||||
//DateTime dts = DateTime.Now;
|
||||
if (itemInfo.MyContent.ContentGridCount > 0)
|
||||
itemInfo.MyContent.LoadNonCachedGrid();
|
||||
@@ -2843,7 +2843,7 @@ namespace VEPROMS.CSLA.Library
|
||||
// is used as a separator and the following code will not impact other formats
|
||||
HighLevelStepTabPageList = @"\ul " + FormatStepData.TabData.IdentAltPrint.Substring(0, indxnewtab).Trim() + @"\ulnone " + tbformat;
|
||||
else
|
||||
HighLevelStepTabPageList = FormatStepData.TabData.IdentAltPrint.Substring(0, indxnewtab) + tbformat;
|
||||
HighLevelStepTabPageList = FormatStepData.TabData.IdentAltPrint.Substring(0, indxnewtab) + tbformat;
|
||||
_MyTab.AltPrintTab = newtab;
|
||||
if (tbformate != null && tbformate != "") tbformat = tbformate;
|
||||
}
|
||||
|
Reference in New Issue
Block a user