[OFBiz] SVN: r6887 - trunk/applications/order/src/org/ofbiz/order/order
sichen@svn.ofbiz.org
sichen at svn.ofbiz.org
Wed Mar 1 19:50:49 CST 2006
Author: sichen
Date: 2006-03-01 19:50:41 -0600 (Wed, 01 Mar 2006)
New Revision: 6887
Modified:
trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java
Log:
Set the status of the payment for credit returns to PMNT_CONFIRMED instead of leaving it null
Modified: trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java
===================================================================
--- trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java 2006-03-02 01:45:01 UTC (rev 6886)
+++ trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java 2006-03-02 01:50:41 UTC (rev 6887)
@@ -597,6 +597,7 @@
payment.set("effectiveDate", now);
payment.set("amount", creditTotal);
payment.set("comments", "Return Credit");
+ payment.set("statusId", "PMNT_CONFIRMED"); // set the status to confirmed so nothing else can happen to the payment
try {
delegator.create(payment);
} catch (GenericEntityException e) {
More information about the Svn
mailing list