reportstart: switch query process by process_id instead of AD_PInstance_ID

Description

ReportStart.getReportData() query report info by

i don't see any reason to use AD_PInstance_ID. at that time we have AD_Process_ID, so better use AD_Process_ID

Environment

None

Activity

Show:
Anna Fadeeva
June 25, 2020, 4:01 PM

AD_PInstance allready have AD_Process_ID.

If the process is started two or more times, then these are different AD_Pinstance_ID, the system will not understand, for example, in the report, in which window what data to show

Hiep Lq
June 25, 2020, 8:34 PM

this query just get data from AD_Process, it ever don't need to join

Anna Fadeeva
June 25, 2020, 9:10 PM

I think that AD_PInstance_ID is a general entry point in the implementation of all processes, so it’s not worth changing anything here.

Assignee

Unassigned

Reporter

Hiep Lq

Labels

Tested By

Anna Fadeeva

Components

Fix versions

Priority

Trivial
Configure