Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011533Openbravo ERPF. Localizationpublic2009-11-27 19:132011-07-20 18:18
dalsasua 
jonalegriaesarte 
highmajoralways
newopen 
20Ubuntu 9.04
pi 
pi 
Core
No
0011533: Regularization entry calculation improvement
In order to fit the Spanish authorities requirements, the closing fiscal year process must be changed, as some special accounts have been added. The accounts under groups 8 and 9 are incomes and expenses accounts related to operations with owner's equity. When closing takes place, these accounts must be reset (as normal incomes and expenses accounts does). Each of them must move its amount to one account in Balance Sheet. Each account can map to a different balance sheet account.
In the element value window add:

 - One subaccount selector "Customized Regularization Subaccount", where any subaccount of the element can be selected, or leave the selector empty. This selector should only be available for elementvalues with subaccount level.

In the Create_Reg_Fact_Acct class the function processButtonReg calculates the expenses and incomes movements in the fiscal year, through getAmounts function from xsql file.

Modify getAmounts in order not to include those accounts where "Customized Regularization Subaccount" has got value

At the end of the processButtonReg function, it must go through all the elementvalues where "Customized Regularization Subaccount" has got value, and for each of them, calculate the amount in the subaccount at the end of the year, and insert one entry that moves this amount to the subaccount set in this "Customized Regularization Subaccount" field.
No tags attached.
Issue History
2009-11-27 19:13dalsasuaNew Issue
2009-11-27 19:13dalsasuaAssigned To => dalsasua
2011-07-20 18:18dalsasuaAssigned Todalsasua => jonalegriaesarte

There are no notes attached to this issue.