When I create a sales order I want to grab the sales order number which is 'To be generated' when inputting a new SO.
I have tried using the after submit function on a UserEventScript but the value still returns null when saving a new SO.
The only way I have been able to get the SO# is to save the record and then go back int edit on that record but this is not useful to me.