Yes, but the error message occurs after the first line of code. I don’t mention the &rpt.rel.newqty until the 2nd line.
I can delete all the subsequent lines and still get the error following the first if existsline.
if (exists"asm_mbr_qtyoverride") then
error Relation has an error.
newqty = asm_mbr_qtyoverride
else
newqty = rpt_qty
endif
I suspect a syntax error in my IF line?