YASSER
01/11/2025, 7:41 PMCeligo AI
01/11/2025, 7:41 PMAI generated answer (using internal Slack threads):Based on the conversations, it seems like you're trying to access a custom field 'custrecord_locality' in the invoice printout but encountering an error. This could be due to the field not being correctly referenced or not being available in the context of the invoice printout. In NetSuite, to access custom fields in the Advanced PDF/HTML templates, you need to use the correct syntax. For example, if you're trying to access a custom field from the invoice record, you would use
${record.custbody_customfield}
. If you're trying to access a custom field from the customer record related to the invoice, you would use ${record.entity.custentity_customfield}
.
In your case, if 'custrecord_locality' is a custom field on the customer record, you should be able to access it in the invoice printout using ${record.entity.custrecord_locality}
. If 'custrecord_locality' is a custom field on the invoice record, you should be able to access it using ${record.custrecord_locality}
.
If you're still encountering the error, it could be that the 'custrecord_locality' field is not available in the context of the invoice printout. You might need to add the field to the invoice record or customer record, depending on where you want to source the field from.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
01/11/2025, 7:42 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.81079
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.808228135
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.8078776
Celigo AI
01/11/2025, 7:42 PM