Compare commits
No commits in common. "d55df8beb08c18d2fbdfa19a0872fcc0dbb97247" and "2005eab8cbe722c24040326e090a91b105ee3303" have entirely different histories.
d55df8beb0
...
2005eab8cb
@ -4173,19 +4173,7 @@ namespace VEPROMS
|
|||||||
|
|
||||||
if (glookFor != greplaceWith)
|
if (glookFor != greplaceWith)
|
||||||
{
|
{
|
||||||
// B2024-011: For unit RO in grid, old grid data had the ROID in the #Link:ReferencedObject ending in '0000'
|
content.MyGrid.Data = content.MyGrid.Data.Replace(glookFor, greplaceWith);
|
||||||
// so when compared with the newer format "0041" it was not found and not replaced with updated rousageid
|
|
||||||
bool hasNewROID = (content.MyGrid.Data.Contains(glookFor));
|
|
||||||
if (hasNewROID)
|
|
||||||
content.MyGrid.Data = content.MyGrid.Data.Replace(glookFor, greplaceWith);
|
|
||||||
else if (!hasNewROID && glookFor.Contains("0041") && glookFor.Contains("FFFF"))
|
|
||||||
{
|
|
||||||
string newGlookFor = glookFor;
|
|
||||||
newGlookFor = newGlookFor.Replace("0041", "0000");
|
|
||||||
if (content.MyGrid.Data.Contains(newGlookFor))
|
|
||||||
content.MyGrid.Data = content.MyGrid.Data.Replace(newGlookFor, greplaceWith);
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user