how to source the delivery note number in the invo...
# ask-stanley-ai
y
how to source the delivery note number in the invoice record
c
AI generated answer (using internal Slack threads):
To source the delivery note number in the invoice record, you would need to create a custom field on the Sales Order and a script on the Item Fulfillment. Here are the steps: 1. Create a custom field on the Sales Order. This could be named "Related IF" or "Delivery Note Number". The type should be list/record > Transaction. Filter: Type = Item Fulfillment. 2. Write a script on the Item Fulfillment. This script should be triggered when the Item Fulfillment is saved. The script should set the "Created From's" "Related IF" or "Delivery Note Number" to the current Item Fulfillment. 3. Once the above steps are done, the delivery note number would be available on your search as "createdfrom.custbody_relatedif" or "createdfrom.custbody_deliverynotenumber". Please note that this solution requires scripting. There is no native way in NetSuite to achieve this without scripting. ****** 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.814035892
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.802424312
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.800816357
Please provide your feedback on this answer.