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.
My mistake obviously.  If you ignore or delete that PR I will get it sorted properly.




Regards,  Dave

-------- Original message --------
From Travis Webb <notifications@github.com> 
Date: 10/06/2014  19:55  (GMT+12:00) 
To xtuple/qt-client <qt-client@noreply.github.com> 
Cc Dave Anderson <dave@pentuple.co.nz> 
Subject Re: [qt-client] Handle orphaned documents when a taxed AP/AR Open  Item is cancelled (#376) 
 
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." ) );
There's no reason to ever merge into master locally. Branch directly from 4_6_x, or whichever branch you intend to eventually submit a PR against, e.g. handle-orphaned-documents, and always pull other branches into handle-orphaned-documents whenever there are updates you want to merge in, and do all your work on handle-orphaned-documents or whatever your incident is.

—
Reply to this email directly or view it on GitHub.