<#if record.recmachcustrecord77?has_content>...
# ask-stanley-ai
n
<#if record.recmachcustrecord77?has_content> the recmachcustrecord77 is a subrecord of the main record however in the advanced pdf it returns that it has no content even though it has content and it is a sublist of that record sublists":{"recmachcustrecord77
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems that the
recmachcustrecord77
is a sublist of a parent record due to a parent-child relationship. The
recmach
prefix indicates this relationship. In the context of advanced PDFs, it's important to ensure that the sublist is correctly referenced. For example, if
custrecord_sb_ship
is a child record, it should be referenced as
record.custrecord_sb_ship as sublist1
in the advanced PDF. If you're encountering an issue where the advanced PDF is returning that the sublist has no content, even though it does, it could be due to incorrect referencing. Make sure you're using the correct sublist ID and that the child record allows editing. Here's an example of how to reference a sublist in an advanced PDF:
Copy code
<#if (record.custrecord_sb_ship)?has_content>
<#list record.custrecord_tbq_threshold as sublist1>${sublist1}</#list>
<#else>
no CR value!
</#if>
****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.84753418
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.847106814
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.82598865
Please provide your feedback on this answer.