Added a check for a null DocVersionAssociations and call to RefreshDocVersionAssociations()
This commit is contained in:
parent
25dc39cd75
commit
a331fb6cb5
@ -2713,6 +2713,8 @@ namespace VEPROMS
|
||||
string config = nd.Attributes.GetNamedItem("config").InnerText;
|
||||
string userid = nd.Attributes.GetNamedItem("userid").InnerText;
|
||||
DateTime dts = DateTime.Parse(nd.Attributes.GetNamedItem("dts").InnerText);
|
||||
if (MyDocVersion.DocVersionAssociations == null)
|
||||
MyDocVersion.RefreshDocVersionAssociations();
|
||||
ROFSTLookup lookup = MyDocVersion.DocVersionAssociations[0].MyROFst.GetROFSTLookup(MyDocVersion);
|
||||
string roval = lookup.GetRoValue(roid);
|
||||
if (roval == "?")
|
||||
|
Loading…
x
Reference in New Issue
Block a user