Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009984Openbravo ERP01. General setuppublic2009-07-21 20:152009-09-08 00:00
plujan 
iperdomo 
urgentmajoralways
closedfixed 
5
pi 
2.50MP6 
Core
No
0009984: Defined background accounting process only applies to System
Background process that is supposed to run continuously, it is actually running for System client only. That means that, for example, SmallBazaar client will not get any GL posting until a new process were created.
That leaves the default process useless.
Login into a fresh installation and check that SmallBazaar completed invoices are not posted
No tags attached.
related to defect 0001108 closed alostale Process background dont accounting 
Issue History
2009-07-21 20:15plujanNew Issue
2009-07-21 20:15plujanAssigned To => rafaroda
2009-07-21 20:16plujanRelationship addedrelated to 0001108
2009-07-30 11:39psarobeAssigned Torafaroda => iperdomo
2009-07-30 11:39psarobeStatusnew => scheduled
2009-08-03 07:15iperdomoNote Added: 0018780
2009-08-30 11:42iperdomoNote Added: 0019279
2009-08-30 16:12hgbotCheckin
2009-08-30 16:12hgbotNote Added: 0019280
2009-08-30 16:12hgbotStatusscheduled => resolved
2009-08-30 16:12hgbotResolutionopen => fixed
2009-08-30 16:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7cc39dc3d36dfbefa78db2be790054faf808b697 [^]
2009-08-31 14:35hgbotCheckin
2009-08-31 14:35hgbotNote Added: 0019344
2009-08-31 14:35hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/7cc39dc3d36dfbefa78db2be790054faf808b697 [^] => http://code.openbravo.com/erp/devel/pi/rev/e60855cb68054c7f93a3c5937a6dc3a1f9f2df45 [^]
2009-09-07 13:28sureshbabuStatusresolved => closed
2009-09-07 13:28sureshbabuNote Added: 0019483
2009-09-07 13:28sureshbabuFixed in Version => 2.50MP6
2009-09-08 00:00anonymoussf_bug_id0 => 2853887

Notes
(0018780)
iperdomo   
2009-08-03 07:15   
There are several approaches to solve it:

1. Modify the background process defined in the System client to process all the clients in the instance. Stepping through all the clients defined and processing the accounting. This has a disadvantage to be less customizable, e.g. I want automatic posting in one client, and manual in other.

2. Create a new process request in the 'Initial Client Setup' for the newly created client. This approach modifies the initial client setup process, but the accounting process remains the same.

3. Modify the background process implementation to: process all clients if is defined at System level or process just one client if is defined in the client level (not System). With this approach you can define at System level to process all clients, or disable this process request and create a new one on each client where you want automatic accounting posting.
(0019279)
iperdomo   
2009-08-30 11:42   
This issue will be solved using option 3. By default background accounting process is defined and scheduled on client System, this will process all clients in the instance. If you want to disable the accounting process for an specific client, you must disable the process request on client System and create a new process request for the clients that require accounting.
(0019280)
hgbot   
2009-08-30 16:12   
Repository: erp/devel/pi
Changeset: 7cc39dc3d36dfbefa78db2be790054faf808b697
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Sun Aug 30 16:09:25 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7cc39dc3d36dfbefa78db2be790054faf808b697 [^]

Fixes issue 9984: Added support to process all clients on instance

---
M src/org/openbravo/erpCommon/ad_process/AcctServerProcess.java
---
(0019344)
hgbot   
2009-08-31 14:35   
Repository: erp/devel/pi
Changeset: e60855cb68054c7f93a3c5937a6dc3a1f9f2df45
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Mon Aug 31 14:35:03 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e60855cb68054c7f93a3c5937a6dc3a1f9f2df45 [^]

Fixes issue 9984: Added client filter to selectDocuments method

---
M src/org/openbravo/erpCommon/ad_forms/AcctServer.java
M src/org/openbravo/erpCommon/ad_forms/AcctServer_data.xsql
M src/org/openbravo/erpCommon/ad_process/AcctServerProcess.java
---
(0019483)
sureshbabu   
2009-09-07 13:28   
Verified, background process is working fine