is it possible to output a list of custom record entries on a transaction advanced PDF, if those custom records are associated to the transaction?
c
creece
11/03/2021, 4:10 PM
You can't include child records natively. You can do something like SA: 49137
creece
11/03/2021, 4:10 PM
Its a case of "custom pdf" or "static custom field"
a
al3xicon
11/03/2021, 4:13 PM
Right - JSON! I've done something similar before, thanks for the reminder
c
creece
11/03/2021, 5:36 PM
As long as the data being static is OK you should be OK. Otherwise you gotta put in some triggers to update the text
a
al3xicon
11/03/2021, 5:46 PM
I'm doing it with a non-stored transaction body field, driven by a summary search that uses NS_CONCAT to put together the data into a pseudo-JSON-esque structured text blob
al3xicon
11/03/2021, 5:46 PM
even though it's not stored, the PDF template reads it no problem and can parse it into an array