Patrick Roth tackles a Failed eConnect document that leaves orphaned records
Failed eConnect document leaves orphaned records – Developing for Dynamics GP
Archived post from 2012. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.