Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010646Openbravo ERPF. Localizationpublic2009-09-17 15:162011-03-29 12:52
apandolfi 
rmorley 
normalmajorN/A
feedbackopen 
20rPath Linux
2.50MP5 
 
Core
No
0010646: Accounting server modularization
i modified the accounting code of openbravo 2.40 (AcctServer.java - DocInvoice.java - DocLineInvoice.java - DocPayment.java - DocLine_Payment.java).
Now i'm trying to put those modifications into my module (italian accounting module). i achived to put into the module the java extension of classes: DocInvoice.java - DocLineInvoice.java - DocPayment.java - DocLine_Payment.java but the modification of the class AcctServer.java (the mother class, it calls the others) still remain into the core.

AcctServer cannot be modularized, isn't it?



The best solution is using a true AD Process for the "Posted" Button and for the Periodic Background server. Another solution is to use naming exeption also for java classes
No tags attached.
Issue History
2009-09-17 15:16apandolfiNew Issue
2009-09-17 15:16apandolfiAssigned To => rafaroda
2009-09-17 15:26rafarodaNote Added: 0020146
2009-09-17 15:26rafarodaAssigned Torafaroda => rmorley
2009-09-17 15:26rafarodaStatusnew => feedback
2009-09-17 16:59apandolfiNote Added: 0020149
2009-09-17 17:58apandolfiNote Added: 0020151
2009-09-22 10:17rafarodaNote Added: 0020254
2009-09-22 10:17rafarodaIssue Monitored: rafaroda
2011-03-29 12:47dalsasuaNote Added: 0035315
2011-03-29 12:52dalsasuaSeveritycritical => major

Notes
(0020146)
rafaroda   
2009-09-17 15:26   
Alessandro,

The AcctServer has been extended recently [1] [2] and Accruals and Deferrals module [3] is using this capability. Is this the functionality that you are looking for? If not, please detail it more.

Thanks.

[1] Extend existing postings https://issues.openbravo.com/view.php?id=0010017 [^]
[2] Add new postings https://issues.openbravo.com/view.php?id=10265 [^]
[3] http://forge.openbravo.com/projects/accrualsdeferrals [^]
(0020149)
apandolfi   
2009-09-17 16:59   
Thank you rafa. I'm taking a look to that code. It seems it could be used to add new precesses to accounting server: after the call of createFact you can add code implementing the acctservertemplate and putting the classname into AD.

I modified the accounting classes a lot. i think i cannot solve the problem only adding code. I have a completly different accounting server and posting process for invoices and payments. i'll try and give a feedback. thanks u

alessandro
(0020151)
apandolfi   
2009-09-17 17:58   
i looked at https://issues.openbravo.com/view.php?id=10265 [^] (new postings). A little modification to acctserver.java in the "pi" repository could solve my problem. See the get method: i propose to put the "else block" before the "swich block". In this way, it will be possible to modify each accounting flow and modularize it. i'll post the code (proposed) as soon as possible (i'm cloning pi), if you are ok.

alessandro
(0020254)
rafaroda   
2009-09-22 10:17   
You may also find interesting this project http://forge.openbravo.com/plugins/mwiki/index.php/Modordinvpost [^]
(0035315)
dalsasua   
2011-03-29 12:47   
Reduced the severity, according to our reporting guidelines[1], because a FR cannot be critical:
[1] http://wiki.openbravo.com/wiki/Bug_Reporting_Guidelines#How_to_Choose_the_Right_Severity [^]