Compare commits
12 Commits
9e56422df8
...
3710e871a9
Author | SHA1 | Date | |
---|---|---|---|
3710e871a9 | |||
b3c6ce633d | |||
15048a317f | |||
527422876a | |||
11f307ec0d | |||
77706f22e4 | |||
faed1cdfd6 | |||
7d5997cd43 | |||
d55df8beb0 | |||
b2d238f8e1 | |||
2005eab8cb | |||
f3b5b425c0 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -4173,7 +4173,19 @@ namespace VEPROMS
|
||||
|
||||
if (glookFor != greplaceWith)
|
||||
{
|
||||
content.MyGrid.Data = content.MyGrid.Data.Replace(glookFor, greplaceWith);
|
||||
// B2024-011: For unit RO in grid, old grid data had the ROID in the #Link:ReferencedObject ending in '0000'
|
||||
// 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