Output Format and Print format parameter for Process

Description

i suggest to extend concept https://idempiere.atlassian.net/browse/IDEMPIERE-1572 by extend parameters output format and print format. (see attached mockup)

Means users will able to define output format (e.g. report result will be xls) and print format (instead default printformat user able predfined another) on his requirements before running report.

Example Use cases of usage:
User need to run Report "Fact accounting details" group by partners (special print format for controlling purpose) and print it to excel for additional processing.

now user able to run report without defining those two parameters and after results returned then able to change print format and output format. This take sometimes up to 10 minutes, now (2x10minuts).

In the features user save initial running and will get final print layout and output in first step.

norbert

Environment

official demo

Attachments

9

Activity

Hiep Lq 
March 6, 2015 at 7:06 AM

complete it by merged with

Carlos Ruiz 
March 4, 2015 at 2:53 PM

Hi, tested the patch attached here (I'm attaching the updated patch - changed the date of the script and added the missing registration at the end, and also some minor missing pieces on java).

My comments about:

  • The WDateRange looks great!

  • in my tests Quartal is not working

  • Job is just exporting PDF

  • The advanced preferences are not saved

  • Language box and parameter must not be shown if the client is not multi lingual doc (like GardenWorld)

Other comments

  • Would be great to add the WDateRange to dates on Find window

  • Maybe Run as Job can be considered as advanced too

  • Good if this can be integrated also to reports on buttons (like Financial Report button)

Will review also IDEMPIERE-2389, ideally we would merge both approaches

Michal Zilincar 
February 11, 2015 at 11:53 AM

" display a dialog confirm let user decide switch to "run as job" or switch to html report "
great like it

Michal Zilincar 
February 11, 2015 at 11:51 AM


Hi Guys,

for adding entry I would just use one possibility to avoid user confusion. I like the idea with search window and possibility to select. In search window we can filter records before selecting , that is important when going thorough big lists (like 100k products). Only here must be posibility to easy "deselect" lines.

I did small video for inspiration how I used it in adempiere ( source code is shared here )
http://vid.zitec.sk/parameterreport.mp4

Tomáš Švikruha 
February 11, 2015 at 10:50 AM

I think there are at least two use cases:

1. Multiple select in standard Window > here has to be table which can store this type of relationship - like is table eve_user_bpartner in link posted by

2. Multiple select in Process Parameter > there is no needed to store records, maybe only into AD_PInstance_Para (how the process should receive multiple selected records?)

I suggest to start with no. 2 - make this editor usable only in process parameters.

Duplicate

Details

Assignee

Reporter

Labels

Components

Affects versions

Priority

Created April 5, 2014 at 3:28 PM
Updated March 6, 2015 at 7:06 AM
Resolved March 6, 2015 at 7:06 AM