Hi.
you need to have your own factory and refer to it in the resource link to have this to work.
$cgi?OP=SEARCH+SID=$SESSION.SID+FID=123+FACTORY=z_cr_all+SKIPLIST=1+QBE.IN.ref_num=$searchKey
the factory can be easely created with a mod file like below. Copy/paste the code into below into a factories.mod file and place it in your site/mods/majic folder. Note that you will need to recycle SDM for the change to take effect.
//used for creating custom factory on object when needed JMayer 101508
//New factory to display all cr in list disregarding cr type
OBJECT cr {
FACTORY z_cr_all{
DOMSET template_list "template_name" "" DYNAMIC ;
DOMSET zcrall_list "open_date desc, ref_num desc" "" STATIC;
STANDARD_LISTS {
SORT_BY "open_date DESC, id DESC, status, priority DESC, ref_num" ;
MLIST OFF ;
RLIST OFF ;
};
REL_ATTR persistent_id ;
COMMON_NAME ref_num ;
FUNCTION_GROUP "call_mgr" ;
} ;
};
Note that you will need to create the corresponding htmpl forms for that new factory too.
just create a detail_z_cr_all.htmpl file with just the code below to redirect to the correct form afterwards:
<PDM_IF 0>JMAYER 2011/08/14: detail_z_cr_all.htmpl. When we search for all R/I/P we need to reroute to the appropriate factory form</PDM_IF>
<PDM_IF "$args.type" == "I">
<PDM_INCLUDE FILE=detail_in.htmpl>
<PDM_ELIF "$args.type" == "P">
<PDM_INCLUDE FILE=detail_pr.htmpl>
<PDM_ELSE>
<PDM_INCLUDE FILE=detail_cr.htmpl>
</PDM_IF>
Proven to work since r11 and up to last r14.1 cp2
Using that concept and extending it to the list form and menu_sd you can either have a new search in your menu listing all the tickets together
Hope this help.
/J