Thanks Ed. Yes, Orgid is declared as a BigInt in the Assignment Table and Vorgid is declared as a Bigint in the procedure.
I'm still building the procedure bit by bit so I haven't placed in what will happen when LevelCheck is not 1. I want to get what I've done so far working for valid entries before proceeding.
