If i am not wrong you could access the deployment ...
# suitescript
a
If i am not wrong you could access the deployment record through script