Changed the GL accounts in Manufacturing to go from Cost accounts to Assembly Account...
[fa-stable.git] / manufacturing / includes / db / work_order_produce_items_db.inc
index 38af2add9b98efd04427682b1d22abdcb67aa694..b37dd23c122fea83d8d3efa844784b425e1e4d23 100644 (file)
@@ -150,7 +150,8 @@ function void_work_order_produce($type_no)
                if (!is_service($issue["mb_flag"]))
                        $ivaccount = $issue["inventory_account"];
                else
-                       $ivaccount = $issue["cogs_account"];            
+                       //$ivaccount = $issue["cogs_account"];          
+                       $ivaccount = $issue["assembly_account"]; // changed 2015.10.14 by Petros .              
                
                if ($issue_cost != 0)
                {