xTuple.com xTupleU Blog & News Customer Support

Apply Require SO/PO/WO project assignment to PR's

Is there a simple way to apply the necessity of assigning a project to Purchase Requests, the same way as one must choose a project to assign to Sales Orders, Purchase Orders and Work Orders?

This definitely can be done with a simple script.

Disconnect the _create button from it’s SLOT
Create your own function that checks _project.isValid() and then calls mywindow.sSave();
Create a new signal on _create butoon to instead call your new function.

1 Like

Got it, Thanks!