webERP Forum
Delete locations with PO's - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (http://www.weberp.org/forum/forumdisplay.php?fid=1)
+--- Forum: Problems / Bugs? (http://www.weberp.org/forum/forumdisplay.php?fid=8)
+---- Forum: RESOLVED - Bugs/Problems (http://www.weberp.org/forum/forumdisplay.php?fid=15)
+---- Thread: Delete locations with PO's (/showthread.php?tid=13)



Delete locations with PO's - asperatus - 01-18-2012

If you create a new location and then create a few Purchase orders, and then delete the location, the purchase orders become orphans.

Suggested change:
Before deleting a location include a check to make sure that there are no open purchase orders.

Scope of problem:-
Minor impact after creating a new location and before transactions posted on the location.

Workaround:-

Recreate the location and then change the location on the PO.

- Update: If you have sales orders on the location you cannot delete the location. This should be valid for PO's as well.



RE: Delete locations with PO's - phil - 01-18-2012

Good idea ... will add a check of purchase orders before allowing deletion of a location


RE: Delete locations with PO's - phil - 01-19-2012

I've addded this check to the code ... will commit to svn later today.