details: https://code.openbravo.com/erp/devel/pi/rev/0748646d63bb
changeset: 19423:0748646d63bb
user: Jon AlegrÃa <jon.alegria <at> openbravo.com>
date: Thu Jan 24 11:40:04 2013 +0100
summary: Fixes issue 0022783: Error in "Generate Payment" process
diffstat:
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
| 2 +-
src-util/modulescript/src/org/openbravo/modulescript/InitializeAcctDimensionsInClient_data.xsql
| 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diffs (31 lines):
diff -r 388822223199 -r 0748646d63bb
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
---
a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
Thu Jan 24 10:58:21 2013 +0100
+++
b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
Thu Jan 24 11:40:04 2013 +0100
@@ -264,7 +264,7 @@
description.append(strRefundCredit).append("\n");
String truncateDescription = (description.length() > 255) ?
description
- .substring(0, 252).concat("...").toString() :
description.toString();
+ .substring(0, 251).concat("...").toString() :
description.toString();
payment.setDescription(truncateDescription);
}
diff -r 388822223199 -r 0748646d63bb
src-util/modulescript/src/org/openbravo/modulescript/InitializeAcctDimensionsInClient_data.xsql
---
a/src-util/modulescript/src/org/openbravo/modulescript/InitializeAcctDimensionsInClient_data.xsql
Thu Jan 24 10:58:21 2013 +0100
+++
b/src-util/modulescript/src/org/openbravo/modulescript/InitializeAcctDimensionsInClient_data.xsql
Thu Jan 24 11:40:04 2013 +0100
@@ -597,7 +597,7 @@
</Sql>
<Parameter name="client"/>
</SqlMethod>
-SqlMethod name="updateoosoo" type="preparedStatement" return="rowcount">
+<SqlMethod name="updateoosoo" type="preparedStatement" return="rowcount">
<SqlMethodComment></SqlMethodComment>
<Sql>
<![CDATA[
@@ -607,4 +607,4 @@
</Sql>
<Parameter name="client"/>
</SqlMethod>
-</SqlClass>
\ No newline at end of file
+</SqlClass>
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits