You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2008/12/03 07:03:26 UTC
svn commit: r722787 -
/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml
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>