Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016557
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2011-03-30 16:282011-04-09 00:00
ReportermiruritaView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision96ea551e4d00
ProjectionnoneETAnoneTarget Version3.0RC6
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0016557: Document Number not properly generated, not taking in account sequence defined for default document type

DescriptionDocument Number (DocumentNo) field is not taking in account the sequence defined for the default document type of the window. It takes (if exists) the standard DocumentNO_tablename sequence.

In org.openbravo.client.kernel.reference.UIDefinition class line 148 the documentno field is treated as special case.

String docTypeTarget = rq.getRequestParameter("inp"
       + Sqlc.TransformaNombreColumna("C_DocTypeTarget_ID"));
if (docTypeTarget == null)
  docTypeTarget = "";
String docType = rq.getRequestParameter("inp"
       + Sqlc.TransformaNombreColumna("C_DocType_ID"));
if (docType == null)
  docType = "";


The problem is when taking the value of the c_doctype_id the default value of this field hasn't been calculated yet, that's why it's not taking in account the sequence of the document type.
Steps To Reproduce1) Go to AR Payment document type and look for the associated sequence
2) Go to Payment In and click on new. realize that it's not taking in account this sequence.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0035410)
hgbot (developer)
2011-03-31 12:24

Repository: erp/devel/pi
Changeset: 96ea551e4d00fa05265ceb255a9ac3984d70a3b9
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Mar 31 11:32:53 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/96ea551e4d00fa05265ceb255a9ac3984d70a3b9 [^]

Fixed issue 16557. DocumentNo columns will be computed at the end, so that the doctypes have been already set

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
---
(0035802)
iperdomo (reporter)
2011-04-08 18:24

Tested on pi @ rev ab8b8b1cc6be

- Issue History
Date Modified Username Field Change
2011-03-30 16:28 mirurita New Issue
2011-03-30 16:28 mirurita Assigned To => marvintm
2011-03-30 16:28 mirurita Modules => Core
2011-03-31 08:19 alostale Status new => scheduled
2011-03-31 08:19 alostale fix_in_branch => pi
2011-03-31 12:24 hgbot Checkin
2011-03-31 12:24 hgbot Note Added: 0035410
2011-03-31 12:24 hgbot Status scheduled => resolved
2011-03-31 12:24 hgbot Resolution open => fixed
2011-03-31 12:24 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/96ea551e4d00fa05265ceb255a9ac3984d70a3b9 [^]
2011-04-08 18:24 iperdomo Note Added: 0035802
2011-04-08 18:24 iperdomo Status resolved => closed
2011-04-09 00:00 anonymous sf_bug_id 0 => 3281273


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker