Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010265Openbravo ERP09. Financial managementpublic2009-08-13 13:502011-05-24 10:57
gorkaion 
gorkaion 
normalmajorhave not tried
closedfixed 
5
 
 
Core
No
0010265: Make possible to account a module's table using the standard processes
At this moment it is not possible to add a new table by a module to be automatically accounted by the background process. The problem is in the org.openbravo.erpCommon.ad_forms.AcctServer class that has some hardcoded code for the current tables that are posted.
Modify the AcctServer class to generalize the get method. Ideally the switch statement should be removed and gotten the necessary data from the application dictionary. necessary data is the accounting date column of the table and the name of the accounting process of the table.

As a first approach it can be kept that statement and only retrieve the necessary information when the table_id is not from core.
closingMay2011, main
Issue History
2009-08-13 13:50gorkaionNew Issue
2009-08-13 13:50gorkaionAssigned To => rafaroda
2009-08-13 14:20rafarodaAssigned Torafaroda => pjuvara
2009-08-28 13:04hgbotCheckin
2009-08-28 13:04hgbotNote Added: 0019261
2009-08-28 13:04hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ab3da41841b160b59e6d381ae51a0653866fea97 [^]
2009-08-28 13:05gorkaionStatusnew => scheduled
2009-08-28 13:05gorkaionAssigned Topjuvara => gorkaion
2009-08-28 13:05gorkaionfix_in_branch => pi
2009-08-28 13:05gorkaionStatusscheduled => resolved
2009-08-28 13:05gorkaionResolutionopen => fixed
2009-10-22 19:26psarobeTag Attached: main
2011-05-24 09:59dalsasuaTag Attached: closingMay2011
2011-05-24 10:57dalsasuaStatusresolved => closed

Notes
(0019261)
hgbot   
2009-08-28 13:04   
Repository: erp/devel/pi
Changeset: ab3da41841b160b59e6d381ae51a0653866fea97
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Fri Aug 28 13:03:32 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ab3da41841b160b59e6d381ae51a0653866fea97 [^]

Fix issue 10265. Core enhancement to enable the posting of new tables.

---
M src-db/database/model/tables/AD_TABLE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_TABLE.xml
M src/org/openbravo/erpCommon/ad_forms/AcctServer.java
M src/org/openbravo/erpCommon/ad_forms/AcctServer_data.xsql
---