NF9 Custom Query Clause For Report Parameter
From iDempiere en
(Redirected from NF9.1 Custom Query Clause For Report Parameter)
Feature: Custom Query Clause for Report Parameter
Goal: Development
Feature Ticket: IDEMPIERE-4904
Description:
- Add AD_Process_Para.Query column
- Developer will enter custom query clause with context variable to the AD_Process_Para.Query field
- When preparing for the execution of the reports, if AD_Process_Para.Query is not empty, the AD_Process_Para.Query value will be parsed (usually with context variable to take values from process parameter values enter by user) to generate sql clause (instead of the usual <columnName>=<user enter value> sql clause).
- When AD_Process_Para.Query is empty, there’s no impact to existing flow/logic.
Usage of New Features
- Report/Process Window
- For report type proces
- Enter SQL filter into the "Query" column at process parameter tab.