Making modifications to customer statements, I thi...
# advancedpdf
s
Making modifications to customer statements, I think i already know the answer but is the PDF referencing the Customer Record when it says
record.xxxx
right?
like where is
<http://record.lines.xxx|record.lines.xxx>
?
s
Customer fields are referenced using the customer variable. The record variable here is referring to the fields available to the statement, which is not a real record at all. It is likely generated by a combination of searches. The lines (record.lines) are the transactions that affect the customer’s balance (invoices, payments, credit memos, etc.). These are just the labels for each column in the statement lines. These line fields don’t exist on the customer or any actual record.
s
Well thats unfortunate. My goal is to show have a column to show the PO field for each line (if it even exists on the line)
s
The WYSIWYG editor shows what fields are available for each line. you don’t have to use the editor to make changes, but for Statements it is an invaluable tool to see what you can access.
👍 1
try using
${record.lines.otherrefnum@label}
and
${line.otherrefnum}
according to the editor, that should be the PO/Check # field
s
Never though to look at the WYSIWYG editor to see what fields are available for the record. Good idea!