webERP Forum
Units Conversion Issue - PO From SO - SOLVED - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (/forumdisplay.php?fid=1)
+--- Forum: Problems / Bugs? (/forumdisplay.php?fid=8)
+--- Thread: Units Conversion Issue - PO From SO - SOLVED (/showthread.php?tid=7974)



Units Conversion Issue - PO From SO - SOLVED - VortecCPI - 12-12-2017 04:32 AM

When placing a PO for an item Units Conversion works as expected. However, when generating a PO from form a Sales Order Units Conversion appears to be working backwards. It should be decreasing "Price Our Units" but instead is leaving that price and increasing "Order Price Supp Units" by the factor.

Looking into it now...

Below is what I changed in SelectSalesOrder.php to repair the issue:

[attachment=608]

See below for before-and-after results for creating a PO from a SO for items with units conversion.

Before:
[attachment=610]

After:
[attachment=611]


RE: Units Conversion Issue - PO From SO - SOLVED - TurboPT - 01-07-2018 04:28 PM

Paul, do you recall which file that those changes were applied?

I started committing your changes around Dec 11th, but realize that there are others around the same time (such as this one), and others that go back to Nov. 17th (about the time that you started posting), that may have NOT yet been committed. (Trying to cover these others now for I feel that another release may be coming soon)


RE: Units Conversion Issue - PO From SO - SOLVED - VortecCPI - 01-07-2018 11:03 PM

(01-07-2018 04:28 PM)TurboPT Wrote:  Paul, do you recall which file that those changes were applied?

I started committing your changes around Dec 11th, but realize that there are others around the same time (such as this one), and others that go back to Nov. 17th (about the time that you started posting), that may have NOT yet been committed. (Trying to cover these others now for I feel that another release may be coming soon)

Looking at what I brought down from SVN it appears this has been covered during SelectSalesOrder.php commits.


RE: Units Conversion Issue - PO From SO - SOLVED - TurboPT - 01-08-2018 04:11 AM

Ok, thanks!