Handle orphaned documents when a taxed AP/AR Open Item is cancelled

Handle orphaned documents when a taxed AP/AR Open Item is cancelled.  Clear database entry.