I have a button on an SO that redirects the user t...
# suitescript
l
I have a button on an SO that redirects the user to a suitelet when clicked. Within the same suitelet, I have a button to that is supposed to open a new Inventory Transfer form based on the SO details. I am having issues with the inventory detail as the script is throwing an error that the inventory detail is non-existent. Claude says it's not possible, that I have to autocreate the inventory transfer and redirect the user to the inventory transfer in edit (which I can because all the require details are available in the SO) but I'd rather not save the inventory transfer automatically. Thanks in advance
m
You could create a record (custom record) instead. Script a button on that custom record if you want to transform it to an actual inv transfer.
b
The closest you can get via pure suitescript is deploying a script on the inventory detail and manipulating the subrecord from the client script
a working solution to your automation sounds like it would require the addition of minor dom manipulation to click the inventory detail button from the inventory transfer and then later the save button on the inventory detail
l
Thanks for your inputs. So if I understand correctly, I can't populate the inventory detail (without saving the record) unless I have another client script or manipulate the DOM?
Is this documented anywhere for future reference?
b