C2025-024 Electronic Procedures Phase 2 - XML Export

Export code cleanup and initial set RO Location code
This commit is contained in:
Matthew Schill 2025-07-15 13:43:19 -04:00
parent 00283b4f28
commit ec25f6426a

View File

@ -1828,6 +1828,8 @@ namespace VEPROMS
//C2025-024 Electronic Procedures Phase 2 - XML Export //C2025-024 Electronic Procedures Phase 2 - XML Export
//use overridden method to set the location for ROs //use overridden method to set the location for ROs
protected void SetROLocation(ref XmlElement xindivid, string roid, int rodbid) protected void SetROLocation(ref XmlElement xindivid, string roid, int rodbid)
{
if (MyDocVersion != null)
{ {
ROFSTLookup lookup = MyDocVersion.DocVersionAssociations[0].MyROFst.GetROFSTLookup(MyDocVersion); ROFSTLookup lookup = MyDocVersion.DocVersionAssociations[0].MyROFst.GetROFSTLookup(MyDocVersion);
@ -1837,7 +1839,7 @@ namespace VEPROMS
ROFSTLookup.rochild roc = lookup.GetRoChild(roid); ROFSTLookup.rochild roc = lookup.GetRoChild(roid);
SetROLocation(ref xindivid, roc, myRODB, roc.type != 8); SetROLocation(ref xindivid, roc, myRODB, roc.type != 8);
} }
}
} }
private void ExportItemAudits(XmlElement xn, ItemInfo ii) private void ExportItemAudits(XmlElement xn, ItemInfo ii)