Best way to copy a field's content from Sales Orde...
# ask-stanley-ai
u
Best way to copy a field's content from Sales Order to Return Authorization
c
AI generated answer (using internal Slack threads):
The best way to copy a field's content from Sales Order to Return Authorization in NetSuite is by creating a custom field that uses sourcing. Here are the steps: 1. Navigate to Customization > Lists, Records, & Fields > Transaction Body Fields > New. 2. In the Label field, enter a name for the field. 3. In the Type field, select the type of data that the field will contain. 4. In the Store Value field, select Yes. 5. In the Applies To section, select Return Authorization. 6. In the Sourcing & Filtering tab, in the Source List field, select Sales Order. In the Source From field, select the field from the Sales Order that you want to copy. 7. Click Save. Now, when you create a Return Authorization from a Sales Order, the value of the selected field will be copied to the new custom field in the Return Authorization. In case you need to add this field to an Advanced PDF template, you can do so by adding the field's ID in the source code of the template. For example, if the ID of the custom field is
custbody_custom_field
, you can add it to the template like this:
Copy code
xml
<#if record.custbody_custom_field?has_content>
    ${record.custbody_custom_field}
</#if>
****** 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.819099
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.813410103
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.813185871
Please provide your feedback on this answer.