Does anyone know of a way to change the Invoice st...
# ask-stanley-ai
s
Does anyone know of a way to change the Invoice status message for an invoice. Customer doesn't like to see "Fully Paid" when the invoice was cleared by a Credit Memo.
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems that changing the Invoice status message from "Fully Paid" to something else when the invoice was cleared by a Credit Memo is not directly possible in NetSuite. However, there are a few workarounds that might help: 1. Custom Field and Advanced PDF/HTML Template: You can create a custom checkbox field on the invoice record that indicates whether a Credit Memo was applied. Then, in your Advanced PDF/HTML template, you can include a conditional statement that checks this field and changes the status message accordingly. Here's a simplified example of how you might do this in your template:
Copy code
html
<#if record.custbody_credit_memo_applied?has_content>
    <div>Status: Cleared by Credit Memo</div>
<#else>
    <div>Status: ${record.status}</div>
</#if>
2. Scripting: If you have the ability to use SuiteScript, you could potentially create a script that changes the status message based on whether a Credit Memo was applied. However, this would likely be more complex and would require a good understanding of SuiteScript. Please note that these are just potential solutions and might not work perfectly for your specific situation. Always test thoroughly before implementing any changes in your live environment. ****** 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.853913605
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.84565872
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.84481132
Please provide your feedback on this answer.