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:
@@ -1607,7 +1607,7 @@ namespace VEPROMS.CSLA.Library
|
||||
if (cont.ContentRoUsageCount > 0)
|
||||
{
|
||||
ROFstInfo myrofst = tmp.MyContent.ContentItems[0].MyProcedure.MyDocVersion.DocVersionAssociations[0].MyROFst;
|
||||
ROFSTLookup mylookup = myrofst.ROFSTLookup;
|
||||
ROFSTLookup mylookup = myrofst.GetROFSTLookup(tmp.MyContent.ContentItems[0].MyProcedure.MyDocVersion);
|
||||
foreach (ContentRoUsage ro in cont.ContentRoUsages)
|
||||
{
|
||||
RoUsageInfo rou = RoUsageInfo.Get(ro.ROUsageID);
|
||||
@@ -1807,7 +1807,7 @@ namespace VEPROMS.CSLA.Library
|
||||
ctmp.Save();
|
||||
}
|
||||
ROFstInfo myrofst = tmp.ContentItems[0].MyProcedure.MyDocVersion.DocVersionAssociations[0].MyROFst;
|
||||
ROFSTLookup mylookup = myrofst.ROFSTLookup;
|
||||
ROFSTLookup mylookup = myrofst.GetROFSTLookup(tmp.ContentItems[0].MyProcedure.MyDocVersion);
|
||||
foreach(RoUsageInfo rou in tmp.ContentRoUsages)
|
||||
{
|
||||
ROFSTLookup.rochild rocc = mylookup.GetRoChild12(rou.ROID);
|
||||
|
Reference in New Issue
Block a user