probably need to create a loop inside the function...
# suitescript
m
probably need to create a loop inside the function and check if the external doesn't exist in the new row - then call function?