Hi, I am trying to get the address of the subsidia...
# advancedpdf
m
Hi, I am trying to get the address of the subsidiary using this:
Copy code
${record.subsidiary.mainaddress_text}
but it returns this error
ERROR: Field 'subsidiary.mainaddress_text' Not Found
And when I try to check the available fields using this:
Copy code
<#list record.subsidiary?keys as key>
  ${key}
</#list>
it returns this error
For "?keys" left-hand operand: Expected an extended hash, but this has evaluated to a hash+string
I am not sure what does
hash+string
means What is the right way to do it?
r
${subsidiary.mainaddress_text} is all i use in my forms (Sales, Commercial, Invoice, Customer Statements etc,,) . As example: <td colspan="6">${subsidiary.mainaddress_text}<br/><br/>Company Reg No. ${subsidiary.custrecord_emea_company_reg_num}</td> Try removing that #list section as i don't think thats need after checking those forms in my environment. Not seen it referenced once.