[OFBiz] SVN: r6968 - trunk/applications/product/servicedef

sichen@svn.ofbiz.org sichen at svn.ofbiz.org
Fri Mar 10 11:33:32 CST 2006


Author: sichen
Date: 2006-03-10 11:33:30 -0600 (Fri, 10 Mar 2006)
New Revision: 6968

Modified:
   trunk/applications/product/servicedef/secas_shipment.xml
Log:
Adds condition to make sure that the sales shipment SECAs for PACKED shipments are only run when it is really a sales shipment, thanks to Bradley Plies's suggestion OFBIZ-780

Modified: trunk/applications/product/servicedef/secas_shipment.xml
===================================================================
--- trunk/applications/product/servicedef/secas_shipment.xml	2006-03-10 17:29:27 UTC (rev 6967)
+++ trunk/applications/product/servicedef/secas_shipment.xml	2006-03-10 17:33:30 UTC (rev 6968)
@@ -23,6 +23,7 @@
     <eca service="updateShipment" event="commit">
         <condition-field field-name="statusId" operator="not-equals" to-field-name="oldStatusId"/>
         <condition field-name="statusId" operator="equals" value="SHIPMENT_PACKED"/>
+        <condition field-name="shipmentTypeId" operator="equals" value="SALES_SHIPMENT"/>
         <action service="prepareShipmentStaging" mode="sync"/>
         <action service="createInvoicesFromShipment" mode="sync"/>        
     </eca>



More information about the Svn mailing list