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.
I dont know.  I merged 4_5_x and 4_6_x into my local master before
creating the issue branch.

On 10/06/14 19:28, Travis Webb wrote:
>
> In guiclient/workOrder.cpp:
>
> > @@ -1614,15 +1614,53 @@ void workOrder::sDeleteMatl()
> >      }
> >      else
> >      {
> > -      QMessageBox::critical( this, tr("W/O Material Requirement cannot be Deleted"),
> > -                             tr("<p>This W/O Material Requirement cannot be "
> > -				"deleted as it has material issued to it. "
> > -                                "You must return this material to stock before "
> > -				"you can delete this Material Requirement." ) );
> > +      QMessageBox::critical(this, tr("W/O Material Requirement cannot be Deleted"),
> > +                            tr("<p>This W/O Material Requirement cannot be "
> > +                               "deleted as it has material issued to it. "
> > +                               "You must return this material to stock before "
> > +                               "you can delete this Material Requirement." ) );
>
> If you merged these changes in from somewhere, I'm not sure from what
> place would have code that isn't yet in |4_6_x| which is bleeding
> edge. Diffing your working copy with |4_6_x| locally might reveal
> what's going on.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/xtuple/qt-client/pull/376/files#r13580746>.
>