Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0031606Openbravo ERP09. Financial managementpublic2015-11-26 18:172015-11-26 18:17
vmromanos 
Triage Omni OMS 
normalmajoralways
newopen 
5
 
 
Core
No
0031606: Acct Server Background process and context organization
Right now (after fixing 0031265), the behavior of the Acct server background process is the following:

1. If the process is scheduled from the System client, then any table which is enabled for background process in any of the acct. schemas for any of the clients in the instance is taken into account.

2. If the process is scheduled inside a concrete client (different from System) and for the * org, then any table which is enabled for background process in any of the acct. schemas for this client is taken into account.

3. If the process is scheduled inside a concrete client (different from System) and for an organization different from *, then the process takes into account the tables that are enabled for the background process in any of the acct. schemas in the natural tree of the organization (parents and children).



It's true that this behavior covers multiple scenarios, but it's not consistent, and can lead to unexpected results depending on the way you configure it.
NA
A redesign of AcctServerProcess should be done.

The process should be launched in cascade for the selected organization and its children.

For each of the organizations (scenarios 2. and 3.), the process should take into account the accounting schemas that affect each organization (i.e. the acct schemas defined at its level or any upper level), and for each of them calculate the right tables according to the Disable for Background flag.

For scenario 1., the process should process in cascade all the organizations in each client available in the instance.
No tags attached.
related to defect 00312653.0PR16Q1 closed aferraz Acct Server Background process should only consider check "Disable for background" option for valid General Ledgers 
Issue History
2015-11-26 18:17vmromanosNew Issue
2015-11-26 18:17vmromanosAssigned To => Triage Finance
2015-11-26 18:17vmromanosModules => Core
2015-11-26 18:17vmromanosTriggers an Emergency Pack => No
2015-11-26 18:17vmromanosRelationship addedrelated to 0031265

There are no notes attached to this issue.