B2021-145: For applicability, the tree view & pdf file name are not getting resolved when using any of the ‘OTHER’ tokens

This commit is contained in:
2021-12-08 14:38:13 +00:00
parent 4522b2a636
commit 6abc29457f
4 changed files with 25 additions and 13 deletions

View File

@@ -393,7 +393,7 @@ namespace VEPROMS.CSLA.Library
{
ProcedureInfo pi = ii as ProcedureInfo;
if (pi == null) return "";
string unitdes = "ID";
string unitdes = "ID";
string prefix = null;
string fromunitdes = null;
str = ItemInfo.ConvertToDisplayText(pi.MyContent.Number);
@@ -425,6 +425,15 @@ namespace VEPROMS.CSLA.Library
fromunitdes = DocVersionConfig.Unit_Name;
else if (unitdes == "TEXT")
fromunitdes = DocVersionConfig.Unit_Text;
// B2021-145: For applicability, the tree view & pdf file name are not getting resolved when using any of the <20>OTHER<45> tokens
else if (unitdes == "OTHERTEXT")
fromunitdes = DocVersionConfig.Other_Unit_Text;
else if (unitdes == "OTHERNUMBER")
fromunitdes = DocVersionConfig.Other_Unit_Number;
else if (unitdes == "OTHERNAME")
fromunitdes = DocVersionConfig.Other_Unit_Name;
else if (unitdes == "OTHERID")
fromunitdes = DocVersionConfig.Other_Unit_ID;
else
fromunitdes = DocVersionConfig.Unit_ID;