If you put what is inside record.notes inside sing...
# advancedpdf
a
If you put what is inside record.notes inside single quotes in the field inself not the PDF then from the PDF when you call ${record.notes} it should work... did you try that?