Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030822Openbravo ERP09. Financial managementpublic2015-09-14 18:552016-02-21 16:49
maite 
maite 
highminoralways
feedbackopen 
5
 
 
Core
No
0030822: Different information shown when printing Journal Entries Report in PDF and XLS format depending on source
Organization and Date range information is not shown when printing journal entry directly after post a document
0. Access Journal Entries Report window and filter by date from=17-03-2015, date to= 17-03-2015, org= West Coast, Ledger= International Group USD, Document type= AR Invoice
1. Print filtered journal entry and realize that "Legal Entity", "Organization", "Date Range" and "General Ledger" information is shown in the title
2. Access Sales Invoice 1000161 and press "Post" button to review document's accounting entry (you will be carried to Journal Entries Report window)
3. Press "PDF" button to print this specific entry and realize that "Organization" and "Date Range" information is not shown in the title
No tags attached.
Issue History
2015-09-14 18:55maiteNew Issue
2015-09-14 18:55maiteAssigned To => Triage Finance
2015-09-14 18:55maiteModules => Core
2015-09-14 18:55maiteTriggers an Emergency Pack => No
2015-09-14 18:55maiteIssue Monitored: networkb
2016-02-17 18:04markmm82Statusnew => scheduled
2016-02-17 18:04markmm82Assigned ToTriage Finance => markmm82
2016-02-21 16:49markmm82Note Added: 0084382
2016-02-21 16:49markmm82Assigned Tomarkmm82 => maite
2016-02-21 16:49markmm82Statusscheduled => feedback
2019-11-07 14:33markmm82Note Edited: 0084382bug_revision_view_page.php?bugnote_id=0084382#r19619

Notes
(0084382)
markmm82   
2016-02-21 16:49   
(edited on: 2019-11-07 14:33)
Reproducing steps I have a doubdt if it is an issue or the current behaviour has makes sense:


Steps:
0. Access Journal Entries Report window and filter by date from=17-03-2015, date to= 17-03-2015, org= West Coast, Ledger= International Group USD, Document type= AR Invoice
1. Print filtered journal entry and realize that "Legal Entity", "Organization", "Date Range" and "General Ledger" information is shown in the title.

In this scenario (scenario 1) filters are defined:
date from=17-03-2015, date to= 17-03-2015, org= West Coast, Ledger= International Group USD, Document type= AR Invoice

According these filters we obtain a PDF that includes "Legal Entity", "Organization", "Date Range" and "General Ledger", necessary to give more information about the obtained results where came from.

Then, if we executed (second scenario):
2. Access Sales Invoice 1000161 and press "Post" button to review document's accounting entry (you will be carried to Journal Entries Report window)

The Journal Entries Report window makes a DIRECT load for the journals from the selected Sales Invoice and due that the filters are not filled inside the windows. I think it is correct.

3. Press "PDF" button to print this specific entry and realize that "Organization" and "Date Range" information is not shown in the title

Concluding, at time of the PDF printing, the fields "Organization" and "Date Range" are included to the report if they were defined in the UI as filters. At steps 2 and 3, these fields are not defined because the report will represent a non filtered result by Date range and Organization, but a direct and specific one (by a Sales invoice).

Questions:
If the PDF always represents results matching selected filters, could be logic (and correct) the current behaviour? I think yes!
If we add to the report Date range and Organization information, without make a filtering by these fields (second scenario), the report may be confused, because not necessarily the only results for this date range and organization must be the loaded directly from the Sales invoice selected. This report will be ambiguos, and we will be able to obtain for the same "Legal Entity", "Organization", "Date Range" and "General Ledger" two differents reports when executing in a similar way than scenario 1, or from other workflows like scenario 2.

In the case that the behaviour must be changed to always show the fields, what I can take like the date range?

Thanks