if you can have on after submit, you can simply cr...
# suitescript
p
if you can have on after submit, you can simply create a transaction search that will return the item name.