Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023858Openbravo ERP04. Warehouse managementpublic2013-05-20 18:222013-06-20 02:07
VictorVillar 
ioritzCia 
urgentmajoralways
closedfixed 
5
pi 
3.0MP25 
VictorVillar
Core
No
0023858: wrong length for errormsg column (ad_pinstance table) and v_Message variable in m_generate_average_costs function
wrong length for errormsg column (ad_pinstance table) and v_Message variable in m_generate_average_costs function.

When the user launches the 'Generate average cost' process, and gets the @CannotCalcCosts@ plus @CannotCalcPrevCost@ plus Business Partner name plus Product name, and the number of messages could be 20 (max), so the number of characters could be around 4500, and the v_Message variable and the errormsg column are defined as 2000, it is not enough.

It should be take into account this number of characters, as v_ResultStr and v_CheckResultStr
wrong length for errormsg column (ad_pinstance table) and v_Message variable in m_generate_average_costs function.

When the user launches the 'Generate average cost' process, and gets the @CannotCalcCosts@ plus @CannotCalcPrevCost@ plus Business Partner name plus Product name, and the number of messages could be 20 (max), so the number of characters could be around 4500, and the v_Message variable and the errormsg column are defined as 2000, it is not enough.

It should be take into account this number of characters, as v_ResultStr and v_CheckResultStr
No tags attached.
Issue History
2013-05-20 18:22VictorVillarNew Issue
2013-05-20 18:22VictorVillarAssigned To => dmiguelez
2013-05-20 18:22VictorVillarModules => Core
2013-05-20 18:22VictorVillarResolution time => 1371160800
2013-05-20 18:22VictorVillarTriggers an Emergency Pack => No
2013-05-20 18:22VictorVillarIssue Monitored: networkb
2013-05-21 09:39dmiguelezAssigned Todmiguelez => jonalegriaesarte
2013-05-23 14:54jonalegriaesarteTarget Version3.0MP24 => 3.0MP25
2013-06-03 09:56ioritzCiaAssigned Tojonalegriaesarte => ioritzCia
2013-06-03 10:59ioritzCiaStatusnew => scheduled
2013-06-03 10:59ioritzCiafix_in_branch => pi
2013-06-04 09:24hgbotCheckin
2013-06-04 09:24hgbotNote Added: 0059141
2013-06-04 09:24hgbotStatusscheduled => resolved
2013-06-04 09:24hgbotResolutionopen => fixed
2013-06-04 09:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1688e0b66abb6cdd266e21c41ba9b59275ec7c4f [^]
2013-06-05 08:58VictorVillarReview Assigned To => VictorVillar
2013-06-05 08:58VictorVillarNote Added: 0059175
2013-06-05 08:58VictorVillarStatusresolved => closed
2013-06-20 02:07hudsonbotCheckin
2013-06-20 02:07hudsonbotNote Added: 0059535

Notes
(0059141)
hgbot   
2013-06-04 09:24   
Repository: erp/devel/pi
Changeset: 1688e0b66abb6cdd266e21c41ba9b59275ec7c4f
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Mon Jun 03 11:02:19 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/1688e0b66abb6cdd266e21c41ba9b59275ec7c4f [^]

Fixes issue 23858: v_Message variable in m_generate_average_costs function.

---
M src-db/database/model/functions/M_GENERATE_AVERAGE_COSTS.xml
---
(0059175)
VictorVillar   
2013-06-05 08:58   
Verified
(0059535)
hudsonbot   
2013-06-20 02:07   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/5caf871044ad [^]

Maturity status: Test