I have a requirement to update shipdate which I can do in Aftersubmit, but if it is an existing record I need to update and show value in edit/ view mode.
In case of edit mode I can use client script and update value in page init, where I don't have issue. But Incase of view mode as client script will not work I am left with UE Script only.
When I am trying to update shipdate value in before Load it is not updating or throwing any exception,, where as some custom body fields are updating as expected.
After searching for sometime , understood that we can't update existing record values in UE before Load and suggested to bind client script to UE to accomplish this.
https://blog.prolecto.com/2012/07/28/bind-netsuite-suitescript-client-side-code-in-form-view-mode/
Is there any other alternative solution for this? Or the suggested approach is fine. (Many thanks to answer provided in blog, but trying to understand is there any alternatives).