<@UAAAN6Y0M> have you tried reloading the record, ...
# suitescript
n
@SimonC have you tried reloading the record, not ideal and may not work but if it's "to be generated" in the newRecord object I suspect it's not updated at all at that time and another process is updating it. (others may know better!)