Thanks Kevin for the info. I upgraded to 2021.2.5 and confirmed this issue had been resolved. This is from the release notes:
2021.2 Tools and Technologies ICE-CustomizationEngine |
CUST
Resolved Issue ERPS-162253 Customization script compiler points to the incorrect line
number, making it very complicated to troubleshoot the code
PRB0234843