You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2007/03/20 09:40:33 UTC

svn commit: r520324 - in /ofbiz/trunk/applications/manufacturing: servicedef/services_mrp.xml webapp/manufacturing/WEB-INF/controller.xml

Author: jacopoc
Date: Tue Mar 20 01:40:33 2007
New Revision: 520324

URL: http://svn.apache.org/viewvc?view=rev&rev=520324
Log:
Now the mrp screen used to manually run the MRP will submit the job as async since it can be a long running job; the user can now monitor the status of the process from the new screen in the WorkEffort application.

Modified:
    ofbiz/trunk/applications/manufacturing/servicedef/services_mrp.xml
    ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml

Modified: ofbiz/trunk/applications/manufacturing/servicedef/services_mrp.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/servicedef/services_mrp.xml?view=diff&rev=520324&r1=520323&r2=520324
==============================================================================
--- ofbiz/trunk/applications/manufacturing/servicedef/services_mrp.xml (original)
+++ ofbiz/trunk/applications/manufacturing/servicedef/services_mrp.xml Tue Mar 20 01:40:33 2007
@@ -26,7 +26,8 @@
 
     <!-- MRP services -->
     <service name="executeMrp" engine="java"
-            location="org.ofbiz.manufacturing.mrp.MrpServices" invoke="executeMrp" auth="true" use-transaction="false">
+            location="org.ofbiz.manufacturing.mrp.MrpServices" invoke="executeMrp" auth="true"
+            transaction-timeout="7200" max-retry="0" use-transaction="false">
         <description>Performs a run of Mrp</description>
         <attribute name="facilityGroupId" type="String" mode="IN" optional="true"/>
         <attribute name="facilityId" type="String" mode="IN" optional="true"/>

Modified: ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml?view=diff&rev=520324&r1=520323&r2=520324
==============================================================================
--- ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml Tue Mar 20 01:40:33 2007
@@ -463,7 +463,7 @@
     </request-map>
     <request-map uri="runMrpGo">
         <security https="true" auth="true"/>
-        <event type="service" invoke="executeMrp"/>
+        <event type="service" invoke="executeMrp" path="async"/>
         <response name="success" type="view" value="MrpExecution"/>
         <response name="error" type="view" value="MrpExecution"/>
     </request-map>