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.
Hey Travis,

I thought I had only committed two files apOpenItem.cpp and
arOpenItem.cpp  but it looks like a previous merge has bought a whole
bunch of changes through.   Not sure where they have come from.

Should I cancel and try resubmitting the PR??

Dave


On 10/06/14 19:13, 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." ) );
>
> Ah, everything is moved to the left by one character.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/xtuple/qt-client/pull/376/files#r13580411>.
>