I would like to include the invoice number of any ...
# ask-stanley-ai
l
I would like to include the invoice number of any invoices a supplier payment has been applied to in a remittance email template is this possible
c
AI generated answer (using internal Slack threads):
Yes, it is possible to include the invoice number of any invoices a supplier payment has been applied to in a remittance email template. You can use the
${apply.refnum}
merge field in your email template to reference the invoice number. However, please note that if you are using the "Email Template" (not advanced PDF) under "Documents", there might be some issues with the configuration if the "Reference number" is not on the "Bill Payment" form. You might need to adjust your configuration to ensure this field is available. Also, keep in mind that customer payments can have multiple invoices on them. The invoice related information is found on the apply sublist of the customer payment. Sublists are represented as sequences, so you need to use different syntax to access them. If you are using a workflow to automatically send an email to the vendor once a "bill payment" is generated out of NetSuite, you can create a search that captures the Invoices you want to email, create a Scheduled Workflow using the above search, and then use the State - Action - Send Email, Apply your template and Attach PDF. ****** 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.855038702
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.835932076
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.820315421
Please provide your feedback on this answer.