I had to do something similar to get the name from...
# suitescript
l
I had to do something similar to get the name from a sublist on an item receipt and used code like this. I do not know the ids for your setup