Author: apatel
Date: Fri Jul 13 10:31:30 2007
New Revision: 556074
URL:
http://svn.apache.org/viewvc?view=rev&rev=556074Log:
Applied bug fix patch from Abhijit.
Modified:
ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml
ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/finaccount/FinAccountServices.java
Modified: ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml?view=diff&rev=556074&r1=556073&r2=556074==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml Fri Jul 13 10:31:30 2007
@@ -199,7 +199,7 @@
location="org.ofbiz.accounting.finaccount.FinAccountServices" invoke="createAccountAndCredit" auth="true">
<attribute name="finAccountId" type="String" mode="INOUT" optional="true"/>
<attribute name="finAccountName" type="String" mode="IN" optional="true"/>
- <attribute name="comment" type="String" mode="IN" optional="true"/>
+ <attribute name="comments" type="String" mode="IN" optional="true"/>
<attribute name="partyId" type="String" mode="IN" optional="false"/>
<attribute name="amount" type="Double" mode="IN" optional="false"/>
<attribute name="replenishPaymentId" type="String" mode="IN" optional="true"/>
Modified: ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/finaccount/FinAccountServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/finaccount/FinAccountServices.java?view=diff&rev=556074&r1=556073&r2=556074==============================================================================
--- ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/finaccount/FinAccountServices.java (original)
+++ ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/finaccount/FinAccountServices.java Fri Jul 13 10:31:30 2007
@@ -148,7 +148,7 @@
Map creditTransResult = dispatcher.runSync("createFinAccountTrans",
UtilMisc.toMap("finAccountTransTypeId", "ADJUSTMENT", "finAccountId",
creditAccount.getString("finAccountId"), "partyId", partyId, "amount",
- context.get("amount"), "comment", context.get("comment"), "userLogin", userLogin));
+ context.get("amount"), "comments", context.get("comments"), "userLogin", userLogin));
if (ServiceUtil.isError(creditTransResult) || ServiceUtil.isFailure(creditTransResult)) {
return creditTransResult;