AnsweredAssumed Answered

Dtldropdown where clause Clarity

Question asked by Johnny_2302 on Jun 10, 2016
Latest reply on Jun 20, 2016 by Johnny_2302


Hi Team,

 

I have a requirement wherein we need to display the resolution codes as per the category selected. To do the same I was trying to use the "where" clause of the dtldropdown control as below:

 

Category: FM.ABC.BCD.CEF

var arrCtg='$args.category.sym';

var catg=arrCtg.split(".");

var catgSplit="%"+catg[1]+"%";

alert(catgSplit);

<PDM_MACRO name=dtlDropdown hdr="Resolution Method" attr="zresolution_method" lookup=no size=20 whereclause="sym like '"+catgSplit+"'">

 

this is not allowed as I understand, so is there anyother way where I can dynamically mention the value in the whereclause of dtldropdown.

 

Kindly help.

Thanks in advance.

Outcomes