Hi John
Usually that error means you are not in a place where you can (1) see the field (2) enter the field.
Can you please share the steps you are trying to run - including screen shots will help. Also, please run in Debug mode and share a screen shot of where the script gets lost - preferably debugging with more than 1 row.
For example, your script name is BP Change Contact Person Relationship, the but script contents is - I believe - creating a new BP of type organization.
One thing I noticed is that you are swapping into edit mode, but you only should do that for the first row/transaction, otherwise it turns it off again to display mode for the next row:

So put an IF First row around it like this:

Best Regards,
Sigrid
------------------------------
Sigrid Kok
Precisely Software Inc.
------------------------------