Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0020327 | Openbravo ERP | 00. Application dictionary | public | 2012-04-23 13:11 | 2012-04-26 10:33 | |||||||
Reporter | dmiguelez | |||||||||||
Assigned To | dmiguelez | |||||||||||
Priority | immediate | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 20 | OS Version | Community Appliance | ||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | 3.0MP12 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | No | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0020327: API Change in FACT_ACCT.FACTACCTTYPE | |||||||||||
Description | Change: The definition of FACT_ACCT.FACTACCTTYPE is as of today as yes/no reference in the AD and a char of 1 in the database. But this is wrong, and has generated some issues. It should be defined as a list reference in the AD and as a varchar of 60 in the database. Why the change is needed: Right now through DAL, since it is a yes/no reference, only 'Y' or 'N' values can be inserted or retrieved. But it was expected that other values were possible to be inserted, so it has generated some issues that, in the end, can result in an incorrect accounting balance. Possible risks: Since the description of the database is going to change, we already know that some views that are retrieving information from this table must be changed. We also know that the module 'https://code.openbravo.com/erp/pmods/org.openbravo.acctTab/' [^] has plenty of views that must be changed. All the modules that were using DAL to retrieve information will be affected too, but since it was not working properly to begin with, we assume that the risk taken is not that huge. | |||||||||||
Steps To Reproduce | Login as Openbravo/openbravo Change the rol to System Administrator. Go to Tables and Columns. Select the row with the DB Table Name: Fact_Acct Go the Column Tab. Select the row with the DB Table Name: FactAcctType Realize that the Reference is defined as YesNo | |||||||||||
Proposed Solution | Change the AD definition to a list reference. Change the Database definition to varchar of 60. Change the AD definition of the views that are affected and belong to core. Raise an issue to change the AD definitions of the views present in the accounting tab module. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2012-04-23 13:11 | dmiguelez | New Issue | ||||||||||
2012-04-23 13:11 | dmiguelez | Assigned To | => iciordia | |||||||||
2012-04-23 13:11 | dmiguelez | Modules | => Core | |||||||||
2012-04-23 13:11 | dmiguelez | OBNetwork customer | => No | |||||||||
2012-04-23 13:11 | dmiguelez | Relationship added | related to 0011411 | |||||||||
2012-04-23 13:38 | iciordia | Note Added: 0047877 | ||||||||||
2012-04-25 09:45 | dmiguelez | Note Added: 0047944 | ||||||||||
2012-04-25 09:45 | dmiguelez | Note Edited: 0047944 | bug_revision_view_page.php?bugnote_id=0047944#r3399 | |||||||||
2012-04-25 12:39 | iciordia | Note Added: 0047959 | ||||||||||
2012-04-25 12:40 | iciordia | Assigned To | iciordia => dmiguelez | |||||||||
2012-04-25 16:41 | dmiguelez | Status | new => acknowledged | |||||||||
2012-04-25 16:41 | dmiguelez | Status | acknowledged => scheduled | |||||||||
2012-04-25 16:41 | dmiguelez | fix_in_branch | => pi | |||||||||
2012-04-25 18:11 | hgbot | Checkin | ||||||||||
2012-04-25 18:11 | hgbot | Note Added: 0047972 | ||||||||||
2012-04-25 18:11 | hgbot | Status | scheduled => resolved | |||||||||
2012-04-25 18:11 | hgbot | Resolution | open => fixed | |||||||||
2012-04-25 18:11 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/api-checks/rev/e22cf4269bbf6d0344ed5d126a5e92e8160e3cc0 [^] | |||||||||
2012-04-26 08:58 | hgbot | Checkin | ||||||||||
2012-04-26 08:58 | hgbot | Note Added: 0047986 | ||||||||||
2012-04-26 10:33 | mirurita | Note Added: 0047992 | ||||||||||
2012-04-26 10:33 | mirurita | Status | resolved => closed | |||||||||
2012-04-26 10:33 | mirurita | Fixed in Version | => 3.0MP12 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|