Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015899Openbravo ERP09. Financial managementpublic2011-02-09 13:412011-04-01 18:39
jonalegriaesarte 
dalsasua 
urgentmajoralways
closedfixed 
5
2.50MP26 
2.50MP272.50MP28 
Core
No
0015899: The general ledger journal should show an "Add and keep going..." a "Total" and a "Previous Sums" sections
The general ledger journal should show a "Add and keep going..." section at the end of each page and a total section at the end of the report that show the total debit amount and the total credit amount.
At the beginning of each report or page it should show total amount of the previous report or page.
- Financial Management || Accounting || Analysis Tools || General Ledger Journal

Note that these sections do not appear.
The General Ledger jounarl must be changed as described below:

(1) There should be a "Sumas Anteriores" section ("Previous sums") at the application path: "Financial Management || Accounting || Analysis Tools || General Ledger Report || General Ledger Report" where end-user can enter below information:
1.1 the "Previous Debit Sum" amount
1.2 the "Previous Credit Sum" amount
coming from the previously launched General Ledger Report (by example January- 2011 General Ledger Report).
Those amounts must be taken into account in the new General Ledger Report (by example February - 2011 General Ledger Report), in order to keep adding and going.
Therefore these previous sum amounts must be shown only at the begining of the page 1 of the new report.

(2) At the end of each page of the General Ledger Report, there should be an "Add and Keep going.." section, for both the "Debit" and the "Credit" columns, named "Add and keep going". The system will show in that line the total debit amount and the total credit amounts for the current page + the previous sum amounts (see point 1)

Therefore these amounts must be shown first at the end of the page 1 of the new report and so on..

(3) At the begining of each page of the General Ledger Report, there should be an "Accumulated Amounts" section, for both the "Debit" and the "Credti" columns.
The system will show in that line the total debit amount and the total credit amount coming from the previous page.

Therefore these accumulated amounts must be shown first at the begining of the page 2 of the new report and so on..




No tags attached.
related to defect 0016426 closed naiaramartinez General Ledger Journal and Trial Balance report use different terms to refer the same concept 
blocks defect 0015932 closed dalsasua The general ledger journal should show an "Add and keep going..." a "Total" and a "Previous Sums" sections 
Issue History
2011-02-09 13:41jonalegriaesarteNew Issue
2011-02-09 13:41jonalegriaesarteAssigned To => adrianromero
2011-02-09 13:41jonalegriaesarteModules => Core
2011-02-09 13:41jonalegriaesarteIssue Monitored: networkb
2011-02-10 09:44psanjuanNote Added: 0034124
2011-02-10 09:44psanjuanProposed Solution updated
2011-02-10 10:13psanjuanSummaryThe general ledger journal should show an "Add and keep going..." section and a "Total" section => The general ledger journal should show an "Add and keep going..." a "Total" and a "Previous Sums" sections
2011-02-10 10:13psanjuanProposed Solution updated
2011-02-10 12:58dalsasuaNote Added: 0034131
2011-02-10 12:58dalsasuaAssigned Toadrianromero => jonalegriaesarte
2011-02-10 12:58dalsasuaStatusnew => feedback
2011-02-10 15:41psanjuanNote Added: 0034132
2011-02-10 15:41psanjuanStatusfeedback => new
2011-02-10 16:23adrianromeroStatusnew => scheduled
2011-02-10 16:23adrianromeroAssigned Tojonalegriaesarte => dalsasua
2011-02-10 16:23adrianromerofix_in_branch => pi
2011-02-10 16:23adrianromeroTypedefect => backport
2011-02-10 16:23adrianromerofix_in_branchpi =>
2011-02-10 16:24adrianromeroIssue cloned0015932
2011-02-10 16:24adrianromeroRelationship addedblocks 0015932
2011-02-14 18:49dmitry_mezentsevNote Added: 0034187
2011-02-14 19:02dalsasuaNote Added: 0034188
2011-02-14 19:54dmitry_mezentsevNote Added: 0034191
2011-02-15 13:27psanjuanNote Added: 0034198
2011-02-16 15:40rmorleyNote Added: 0034234
2011-03-03 04:55hgbotCheckin
2011-03-03 04:55hgbotNote Added: 0034514
2011-03-03 04:55hgbotStatusscheduled => resolved
2011-03-03 04:55hgbotResolutionopen => fixed
2011-03-03 04:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/631470a72993b26089e08e8b957664c7cbc3f240 [^]
2011-03-03 18:15dmitry_mezentsevNote Added: 0034538
2011-03-28 16:20jonalegriaesarteNote Added: 0035274
2011-03-28 16:20jonalegriaesarteStatusresolved => closed
2011-03-28 16:20jonalegriaesarteFixed in Version => 2.50MP28
2011-04-01 18:39dmitry_mezentsevNote Added: 0035483
2011-04-04 08:52dalsasuaRelationship addedrelated to 0016426

Notes
(0034124)
psanjuan   
2011-02-10 09:44   
As described by the end-customer:

4) Sumas Anteriores, debe dar posibilidad (como en el ejemplo adjunto, que es la primera página del segundo libro de diario de 2009) a incorporar el total de sumas de debe y haber del libro anterior, para continuar sumando los importes de debe y haber de los asientos del nuevo libro.

5) Suma y sigue, al final de cada página y al final del listado tiene que presentar la suma de debe y haber y en el caso de libros sucesivos al primero, como se explica en el punto anterior, iniciar la suma en el importe de sumas anteriores.
(0034131)
dalsasua   
2011-02-10 12:58   
Which is the scope of the fix? Just PDF output (printing), or also HTML (shown in display).
(0034132)
psanjuan   
2011-02-10 15:41   
Please take into account both:
pdf format
and xls format
as both of them can be printed.

there is no need for the html format
(0034187)
dmitry_mezentsev   
2011-02-14 18:49   
Hi All,

Legal requirements we received from Spain. Are they valid (helpful) for rest of the countries cause our report in core should be generic? If not we should not be changing core but think about doing some localization.
(0034188)
dalsasua   
2011-02-14 19:02   
Hi Dmitry,

Yes, I already raised that topic, and we agreed that this can be useful worldwide, but in order not to change current behavior, old report will also be kept: user will be able to show/hide this fields.

In any case, Spanish localization can set the default value to show, and core to not to show. The only way to have this report modified in the Spanish localization would be duplicating code.

Regards.
(0034191)
dmitry_mezentsev   
2011-02-14 19:54   
David,

OK, clear, thanks.
(0034198)
psanjuan   
2011-02-15 13:27   
These requirements are coming form the Spanish market/law
This issue can be approached as a Spanish General Ledger Journal localization.
We are now in the process of taking a final solution.
(0034234)
rmorley   
2011-02-16 15:40   
Please implement this as a generic solution.
The requirement is not specific to Spain.
(0034514)
hgbot   
2011-03-03 04:55   
Repository: erp/stable/2.50
Changeset: 631470a72993b26089e08e8b957664c7cbc3f240
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Tue Feb 22 16:34:54 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/631470a72993b26089e08e8b957664c7cbc3f240 [^]

Fixes issue 15899. Fixes issue 15911. Fixes issue 15920. Fixes issue 16017.
Several changes done to Report General Ledger Journal:
- Show Regularization / Opening / Closing checks now works in this way: if, and only if, the check is active, the corresponding entry type will be shown.
- Show Regular Entries check is added. This way, user can choose what entry types to include (checkbox active) or exclude (not-active checkbox) in the report output. By default, all the types will be shown
- ONLY WHEN PRINTING TO PDF, an initial entry number can be set. This way, entries will be numbered starting with the provided number.
- ONLY WHEN PRINTING TO PDF, the accumulated amounts for debit and credit is calculated and shown.
- ONLY WHEN PRINTING TO PDF, an initial debit and credit amount can be provided, and will be used as initial value of debit and credit accumulated amounts.
- ONLY WHEN PRINTING TO PDF, user can choose whether to show the subaccount description in each entry line (as of now), or the entry line description. PLEASE NOTICE THAT USER WILL SET THE DESIRED SQL DESCRIPTION IN THE CORRESPONDING TABLES, UNDER ACCOUNTING SCHEMA TAB, IN ORDER TO AVOID DUPLICATED LINES IN THE ENTRIES.
- Trial Balance Report is modified in order to make coherent both terms for corry forward amounts

---
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.html
M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.java
M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.jrxml
M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.xml
M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal_data.xsql
M src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.html
---
(0034538)
dmitry_mezentsev   
2011-03-03 18:15   
Hello David,

As discussed could you please register for the future unification issue (linked to this one) to move similar changes to the HTML (to make all outputs of this report consistent)?


Thanks.
(0035274)
jonalegriaesarte   
2011-03-28 16:20   
Verified
(0035483)
dmitry_mezentsev   
2011-04-01 18:39   
Guys,

What about my comment?