Can't copy and paste...code is on a dev machine.

@statusCode could be 99, @currentStatus is a bit (comes in from .Net app as True or False), @applicationType could be 4.
Again, the error is: Line 1: Incorrect syntax near 'applcation_delet'
[EDIT]@AOG - that was just a typo[/EDIT]