Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Problem with setting default field values for Transfer Order
I have a suitescript to facilitate users who want to create a Transfer Order from an Item Receipt.
How it works:
- Custom button on Item Receipt that says "Create TO" which basically launches a new TO record page, but with a custparam in the URL which contains the Item Receipt ID
- On BeforeLoad user event for TOs, I check if that custparam is in the URL. If yes, I use nlapiSetFieldValue to set some of the TO fields based on the Item Receipt field values
This all works fine and I can see the fields in the TO get populated as the page loads, however as the TO page finishes loading, some of the fields (From Location, Department, Rate (in Item sublist)) get reset back to blank values.
0