Cannot find Ucode in report using scripting

Document ID : KB000094163
Last Modified Date : 16/05/2018
Show Technical Document Details
A script that looks for Ucodes in a report does not work after an upgrade from version 10 to 12. 
This is due to the fact that the number of leading zeros has increased for Ucodes between version 10 and version 12. 

Add another 0 to the Ucode in the script.

Result: The report finds strings containing the desired Ucode. 

Example: a Ucode of 0123357 would now be 00123357.