your variable relatedPoId is also string, so why a...
# suitescript
i
your variable relatedPoId is also string, so why are you converting only the poId?