Author: jleroux
Date: Sun Aug 10 09:25:35 2008
New Revision: 684546

URL: http://svn.apache.org/viewvc?rev=684546&view=rev
Log:
Fix an issue expressed in user ML

Modified:
    
ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml

Modified: 
ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml?rev=684546&r1=684545&r2=684546&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml
 (original)
+++ 
ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml
 Sun Aug 10 09:25:35 2008
@@ -79,6 +79,9 @@
 
         <!-- If PartyAcctgPreference.useInvoiceIdForReturns is Y, get the ID 
from the getNextInvoiceId service -->
         <set field="partyAccountingPreferencesCallMap.organizationPartyId" 
from-field="parameters.toPartyId"/>
+        <set field="systemMap.userLoginId" value="system"/>
+        <find-by-primary-key  entity-name="UserLogin" map-name="systemMap" 
value-name="systemLogin"/>
+        <set field="partyAccountingPreferencesCallMap.userLogin" 
from-field="systemLogin"/> 
         <call-service service-name="getPartyAccountingPreferences" 
in-map-name="partyAccountingPreferencesCallMap">
              <result-to-field result-name="partyAccountingPreference" 
field-name="partyAcctgPreference"/>
         </call-service>


Reply via email to