The dialog is using `N/ui/dialog` that part works ...
# suitescript
w
The dialog is using
N/ui/dialog
that part works fine. Does your code affect an Item record even though the main script is on a Purchase Order record? That's why I figured I needed to
record.load
to get access to the Item record so I can set values and then save.