We've found the following note which appears to be the exact issue were having. I'm working on getting this implemented and I'll let you know what happens.
Note:
1816350 - 731SP8:Syntax errors in routines or Assertion failed during activation of transformation