Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037680Retail ModulesWeb POSpublic2017-12-22 11:012018-01-25 11:07
JONHM 
rqueralta 
highmajorsometimes
closedfixed 
5
 
RR17Q3.3RR17Q3.3 
marvintm
No
0037680: Error in module script UpdateCashupReport because name column has 60 chars length
There is an error in module script UpdateCashupReport (insertCashManagementEvents method) when description field from 'fin_finacc_transaction' table have more than 60 chars, because 'name' column length from 'OBPOS_Paymentcashup_Events' table has only 60 chars.
update to 3.0RR17Q2 having descriptions in fin_finacc_transaction with more than 60 chars

It shows message: ERROR: value too long for type character varying(60)
Option 1) Change the 'name' column length of OBPOS_Paymentcashup_Events table from 60 to 255 chars

Option 2) Limit the lenght of the description to 60 chars when importing:
line 73: substr(trans.description, 60),

https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/tip/src-util/modulescript/src/org/openbravo/retail/posterminal/modulescript/UpdateCashupReport_data.xsql#l73 [^]
No tags attached.
blocks defect 0037543 closed rqueralta Error in module script UpdateCashupReport because name column has 60 chars length 
Issue History
2018-01-19 10:16marvintmTypedefect => backport
2018-01-19 10:16marvintmTarget Version => RR17Q3.3
2018-01-22 19:48hgbotCheckin
2018-01-22 19:48hgbotNote Added: 0101864
2018-01-22 19:48hgbotStatusscheduled => resolved
2018-01-22 19:48hgbotResolutionopen => fixed
2018-01-22 19:48hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2942fcbbaa9ba592b760e06d204f51add4238d0b [^] => http://code.openbravo.com/retail/backports/3.0RR17Q3.3/org.openbravo.retail.posterminal/rev/30ee68f47d5b4291542d7358afa3b5ba4aebab60 [^]
2018-01-25 11:07marvintmStatusresolved => closed
2018-01-25 11:07marvintmFixed in Version => RR17Q3.3

Notes
(0101864)
hgbot   
2018-01-22 19:48   
Repository: retail/backports/3.0RR17Q3.3/org.openbravo.retail.posterminal
Changeset: 30ee68f47d5b4291542d7358afa3b5ba4aebab60
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Tue Dec 26 11:44:54 2017 -0500
URL: http://code.openbravo.com/retail/backports/3.0RR17Q3.3/org.openbravo.retail.posterminal/rev/30ee68f47d5b4291542d7358afa3b5ba4aebab60 [^]

Fixed issue 37680: Error in module script UpdateCashupReport because name column
has 60 chars length

---
M build/classes/org/openbravo/retail/posterminal/modulescript/UpdateCashupReportData.class
M src-util/modulescript/src/org/openbravo/retail/posterminal/modulescript/UpdateCashupReport_data.xsql
---