save WindowNo in ProcessInfo so that a process or report can use it
Description
I want a JasperReport to be able to select the records that are shown in the actual window. The context that is given to all processes contains the query in a form like "4|1|_TabInfo_SQL." But it is not possible to see which of the windows called the report.
I believe this is useful not only for reports but for all processes.
I am a bit upset. The solution I propose to be the best is near to the code I did two years ago for IDEMPIERE-270. My changes were not accepted but Elaine took the idea and did a special solution with much own code that only works in zk. The code in ReportAction is done in a zk-only class and thus not applicable to swing. Apart from the idea to export to different formats Elaine's code is not as short and extensible than mine (and it does not sort in the right order). So I have to do it again and will do it better.
I want a JasperReport to be able to select the records that are shown in the actual window. The context that is given to all processes contains the query in a form like "4|1|_TabInfo_SQL." But it is not possible to see which of the windows called the report.
I believe this is useful not only for reports but for all processes.
I implemented it already in my original implementation of https://idempiere.atlassian.net/browse/IDEMPIERE-270#icft=IDEMPIERE-270 but somehow the patch done by Elaine was very different from what I did and did not solve the problem.