Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 974

Re: UI AC Filter

$
0
0

Hi Akhil,

so you want a UI form to only be executable for users without this attribute right? Or the whole UI?

If you are talking about a form you could just use a "not in" as SQL filter like:

 

select mcMSKEY from idmv_entry_simple where mcEntryType = 'MX_PERSON' and mcMSKEY not in (select mskey from idmv_value_basic where attrName = 'MX_FS_PERSONNEL_NUMBER')

 

or a left join (better performance on MS SQL):

select perNr.MSKEY from

(select mcMSKEY from idmv_entry_simple where mcEntryType = 'MX_PERSON') allUsers

LEFT JOIN

(select mskey from idmv_value_basic where attrName = 'MX_FS_PERSONNEL_NUMBER') perNr

on allUsers.mcMSKEY = perNr.mskey

where perNr.mskey is null

 

Regards

Norman


Viewing all articles
Browse latest Browse all 974

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>