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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Record cache problem?
Hi guys, hoping you can give me some help here. I am performing an update on a record using client script. Here is the basic flow:
On Save Record:
[LIST=1]
[*]Load a related record (RecordB)
[*]Display custom field value via an alert from RecordB
[*]Adjust RecordB's custom field value
[*]Save RecordB
[/LIST]
This works as expected. Viewing RecordB in the UI will show the new adjusted value.
If I repeat the above steps (fully refreshing the page) within a close period of time (i.e. within about 5 minutes), the alert (step 2) will actually display the original value instead of the current one. If I give it awhile, the new value will start to show.
0