Author: jacopoc
Date: Sat Aug  5 08:53:23 2006
New Revision: 429009

URL: http://svn.apache.org/viewvc?rev=429009&view=rev
Log:
Added out parameter useful for ecas.

Modified:
    
incubator/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml
    
incubator/ofbiz/trunk/applications/manufacturing/servicedef/services_production_run.xml

Modified: 
incubator/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml
URL: 
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml?rev=429009&r1=429008&r2=429009&view=diff
==============================================================================
--- 
incubator/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml
 (original)
+++ 
incubator/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml
 Sat Aug  5 08:53:23 2006
@@ -230,6 +230,7 @@
 
     <simple-method method-name="issueInventoryItemToWorkEffort" 
short-description="Issue one InventoryItem to a WorkEffort">
         <set field="inventoryItem" from-field="parameters.inventoryItem"/>
+        <field-to-result field-name="inventoryItem.productId" 
result-name="finishedProductId"/>
         <if-compare value="SERIALIZED_INV_ITEM" operator="equals" 
field-name="inventoryItem.inventoryItemTypeId">
             <if-compare value="INV_AVAILABLE" operator="equals" 
field-name="inventoryItem.statusId">
                 <!-- change status on inventoryItem -->

Modified: 
incubator/ofbiz/trunk/applications/manufacturing/servicedef/services_production_run.xml
URL: 
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/manufacturing/servicedef/services_production_run.xml?rev=429009&r1=429008&r2=429009&view=diff
==============================================================================
--- 
incubator/ofbiz/trunk/applications/manufacturing/servicedef/services_production_run.xml
 (original)
+++ 
incubator/ofbiz/trunk/applications/manufacturing/servicedef/services_production_run.xml
 Sat Aug  5 08:53:23 2006
@@ -144,6 +144,7 @@
         <attribute name="inventoryItem" type="GenericValue" mode="IN" 
optional="false"/>
         <attribute name="quantity" type="Double" mode="IN" optional="true"/>
         <attribute name="quantityIssued" type="Double" mode="OUT" 
optional="false"/>
+        <attribute name="finishedProductId" type="String" mode="OUT" 
optional="false"/>
     </service>
     <service name="productionRunProduce" engine="java"
             
location="org.ofbiz.manufacturing.jobshopmgt.ProductionRunServices" 
invoke="productionRunProduce" auth="true">


Reply via email to