If any transaction have a department, class or location that have a parent, it will be shown on the pdf as "Parent Location : Sub Location".
And when I tried to show only the "Sub Location" with "$(record.location.name)" it gives an error.
What is the correct syntax to show just the sub segment name