how do add the return authorization button for non...
# ask-stanley-ai
n
how do add the return authorization button for non-inventory on the sales orders
c
AI generated answer (using internal Slack threads):
To add the return authorization button for non-inventory items on the sales orders, you would need to create a custom SuiteScript. Unfortunately, the "Authorize Return" button only appears after an Invoice has been created off a Sales Order in NetSuite's standard functionality. Here's a high-level overview of how you might approach this: 1. Create a User Event script that is triggered on the Sales Order record type. 2. In the
beforeLoad
function of the script, add a custom button to the form. 3. This button should be linked to a Suitelet script. 4. The Suitelet script should then transform the Sales Order into a Return Authorization record. Please note that this is a high-level overview and the actual implementation may vary based on your specific business requirements and NetSuite setup. ****** 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.836313248
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.834825575
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.819443941
Please provide your feedback on this answer.