Steve Endow tackles Dynamics GP Run-time Error 1007: Unsafe Operation.
Dynamics GP Land: Dynamics GP Run-time Error 1007: Unsafe Operation
Archived post from 2013. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.