on ‎2019 Apr 22 9:41 AM
I have a requirement to apply a restriction on Products that if a particular customer with a with a specific authentication hits product by product endpoint , provide them products(approved or unaproved)". I have set "salesApplication" attribute in session and created search restriction query like {approvalStatus} = Approved or ({approvalStatus} = UnApproved and IN (?session.salesApplication))
while hitting the endpoint i am getting error MySQLSyntaxErrorException: Unknown column 'session.salesApplication' in 'where clause'
Any suggestion will be helpful.
Thanks.
Request clarification before answering.
Hi Anurag, Could please check your query something wrong i think the both "AND IN" will not come one after another before "IN" you missed some attribute name
thanks , prabhakar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.