P/O Authorization overwrites previous comments - 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) +--- Thread: P/O Authorization overwrites previous comments (/showthread.php?tid=2408) |
P/O Authorization overwrites previous comments - agaluski - 03-14-2015 If there are multiple P/O's waiting authorization and you only change the status of 1 P/O, they all get updated with the comment that they were authorised. But only the status get changed to authorised if you change the drop down. And the stat_comments get seriously messed up, overwriting any previous values in that field. All P/O's pending authorization are updated with the last P/O in the lists's previous comments + the authorized comments. because the form doesn't have a hidden field for each P/O's comments - just 1 field. Unless you can go back through Audit history you lose history. And if you view the P/Os that weren't authorised, they look funny because they contain an authorisation comment but are still pending. PHP Code: if (isset($_POST['UpdateAll'])) { |