details: https://code.openbravo.com/erp/devel/pi/rev/747770e24f02
changeset: 13681:747770e24f02
user: Mikel Irurita <mikel.irurita <at> openbravo.com>
date: Fri Sep 09 11:53:34 2011 +0200
summary: Fixes issue 18399: Multicurrency payment method config not loaded in
Financial Account
diffstat:
src/org/openbravo/erpCommon/ad_callouts/SE_PaymentMethod.java | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (39 lines):
diff -r b298840f1a24 -r 747770e24f02
src/org/openbravo/erpCommon/ad_callouts/SE_PaymentMethod.java
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_PaymentMethod.java Fri Sep
09 08:12:33 2011 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_PaymentMethod.java Fri Sep
09 11:53:34 2011 +0200
@@ -11,7 +11,7 @@
* under the License.
* The Original Code is Openbravo ERP.
* The Initial Developer of the Original Code is Openbravo SLU
- * All portions are Copyright (C) 2010 Openbravo SLU
+ * All portions are Copyright (C) 2010-2011 Openbravo SLU
* All Rights Reserved.
* Contributor(s): ______________________________________.
************************************************************************
@@ -37,6 +37,7 @@
strfinPaymentmethodId);
if (strfinFinaccPaymentmethodId.equals("")) {
try {
+ // IN
info.addResult("inppayinAllow", paymentMethod.isPayinAllow() ? "Y" :
"N");
info.addResult("inpautomaticReceipt",
paymentMethod.isAutomaticReceipt() ? "Y" : "N");
info.addResult("inpautomaticDeposit",
paymentMethod.isAutomaticDeposit() ? "Y" : "N");
@@ -51,6 +52,9 @@
: paymentMethod.getUponDepositUse());
info.addResult("inpinuponclearinguse",
paymentMethod.getINUponClearingUse() == null ? ""
: paymentMethod.getINUponClearingUse());
+ info.addResult("inppayinIsmulticurrency",
paymentMethod.isPayinIsMulticurrency() ? "Y"
+ : "N");
+ // OUT
info.addResult("inppayoutAllow", paymentMethod.isPayoutAllow() ? "Y" :
"N");
info.addResult("inpautomaticPayment",
paymentMethod.isAutomaticPayment() ? "Y" : "N");
info.addResult("inpautomaticWithdrawn",
paymentMethod.isAutomaticWithdrawn() ? "Y" : "N");
@@ -65,6 +69,8 @@
: paymentMethod.getUponWithdrawalUse());
info.addResult("inpoutuponclearinguse",
paymentMethod.getOUTUponClearingUse() == null ? ""
: paymentMethod.getOUTUponClearingUse());
+ info.addResult("inppayoutIsmulticurrency",
paymentMethod.isPayoutIsMulticurrency() ? "Y"
+ : "N");
} catch (Exception e) {
log4j.info("No default info for the selected payment method");
}
------------------------------------------------------------------------------
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT
space for its ease of implementation, lower cost, and increased
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits