Improving QueryData service- Add support for ctx variable

Description

I am working on different web service improvement task.
One of them is to add context variable support into queryData.

Use case is that if you want to write filter condition where you want to pass some dynamic value. Due to security restriction we can't allow free filter parameter, So context variable support will add this feature safely.

Environment

None

Attachments

6

Activity

Show:

Deepak Pansheriya May 22, 2015 at 5:21 AM

Sául, I agree. Constant value field adding restriction on configuring where condition. I feel same restriction but that is not related to this improvement. So we can commit that as new ticket IDEMPIERE-2635.

So Carlos can go ahead to push this code.

Saúl Piña May 22, 2015 at 3:16 AM

It is necessary to enlarge the ConstantValue field

Saúl Piña May 22, 2015 at 2:56 AM

Good contribution...

How does it work:
In the Field input create a line, the DB Column Name will be the name of the context variable

It called on the filter parameter

Deepak Pansheriya May 20, 2015 at 4:41 PM

Carlos, look at IDEMPIERE-2337-Latest.patch it is on version 2.1

Deepak Pansheriya May 20, 2015 at 1:45 PM

Added IDEMPIERE-2337_11115_to_11116.diff file with latest diff.

Fixed

Details

Assignee

Reporter

Tested By

Saúl Piña

Components

Fix versions

Priority

Created November 25, 2014 at 12:36 PM
Updated July 1, 2015 at 1:02 PM
Resolved May 22, 2015 at 4:16 PM