C2025-024 #590

Merged
jjenko merged 18 commits from C2025-024 into Development 2025-08-08 10:19:00 -04:00
52 changed files with 2134 additions and 4099 deletions
Showing only changes of commit ec25f6426a - Show all commits

View File

@@ -1829,15 +1829,17 @@ namespace VEPROMS
//use overridden method to set the location for ROs
protected void SetROLocation(ref XmlElement xindivid, string roid, int rodbid)
{
ROFSTLookup lookup = MyDocVersion.DocVersionAssociations[0].MyROFst.GetROFSTLookup(MyDocVersion);
using (RODbInfo myRODB = RODbInfoList.Get().FirstOrDefault(x => x.RODbID == rodbid))
if (MyDocVersion != null)
{
roid = ROFSTLookup.FormatRoidKey(roid, true);
ROFSTLookup.rochild roc = lookup.GetRoChild(roid);
SetROLocation(ref xindivid, roc, myRODB, roc.type != 8);
}
ROFSTLookup lookup = MyDocVersion.DocVersionAssociations[0].MyROFst.GetROFSTLookup(MyDocVersion);
using (RODbInfo myRODB = RODbInfoList.Get().FirstOrDefault(x => x.RODbID == rodbid))
{
roid = ROFSTLookup.FormatRoidKey(roid, true);
ROFSTLookup.rochild roc = lookup.GetRoChild(roid);
SetROLocation(ref xindivid, roc, myRODB, roc.type != 8);
}
}
}
private void ExportItemAudits(XmlElement xn, ItemInfo ii)