@M Cook Advanced PDF Template errors do not always point to the right line number when errors are found... there is a line number disconnect between the PDF Template and NetSuite visual editor, you may want to go over your latest changes and remove them one by one until you find your pain point... is more like a blind process...