Freinds , I want to set filter dynamic Link where declared doctype will be displayed , so please help me by poining javascript example to set that filter, I could not find exactly on this forum. Thanks
I achieved solution as follows , experts are requested to give their feedback for any betterment
cur_frm.fields_dict.joint_assessment.get_query = function(doc,cdt,cdn) {
return {
filters: [["name", "in", [ 'Knee Assessment' , 'Hip Assessment', 'Shoulder Assessment', 'Ankle Assessment', 'Cerical Spine Assessment', 'Back Assessment', ' Foot assessment', 'Wrist Assessment', 'Elbow Assessment']]]
};
};
1 Like