When I attempt to print a custom record, the PDF f...
# advancedpdf
s
When I attempt to print a custom record, the PDF fails to retrieve the sublist of child records associated with that custom record. Does anyone faced similar issue? I have a custom record with its associated sublist. My goal is to display this on an advanced PDF. Although the ID of the sublist and its fields are visible, when I input this into the template, neither the fields nor the table appear. Despite the list being defined, it seems to be not functioning as expected. It’s important to note that the sublist is based on a parent-child relationship.
s
Can you show your Adv PDF code? Which record types are the parent and child? Generally only native sublists are supported in Advanced PDF. if you are only printing, for other sublists, I usually compile this data in beforeLoad/Print context JSON object in a "custpage_jsondata" field. Of course, this only works if you are only printing the document from the UI. Other tricks are needed if you want to email using the native email function as this will not trigger the print UE context.