svn commit: r722787 - /ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r722787 - /ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml

hansbak-2
Author: hansbak
Date: Tue Dec  2 22:03:25 2008
New Revision: 722787

URL: http://svn.apache.org/viewvc?rev=722787&view=rev
Log:
correction on R722753: did not expect that clear-field still would clear the fields in the database and could not find a way to nullify fields

Modified:
    ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml

Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml?rev=722787&r1=722786&r2=722787&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml (original)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml Tue Dec  2 22:03:25 2008
@@ -495,10 +495,9 @@
                         <field-map field-name="invoiceId" env-name="parameters.invoiceId"/>
                     </entity-and>
                     <iterate entry-name="entry" list-name="entries">
-                        <remove-value value-name="entry"/>
                         <clear-field field-name="entry.invoiceId"/>                        
                         <clear-field field-name="entry.invoiceItemSeqId"/>
-                        <create-value value-name="entry"/>
+                        <store-value value-name="entry"/>
                     </iterate>
                 </if-compare>
             </else>