axapta - Dynamics AX : Restrict Security policy (xDS) -


we have defined projectmanager role. want restrict list of accessible project. idea allow access project of user's department. department information available in field of employee , in financial dimension on project.

i've created xds , works fine.

but project manager can work on projects other departments. want "disable" xds when user fills in timesheets. because xds restrict project list when user add line in timesheets.

do have idea?

first of all, can try deactivate xds operation:

xdsservices xds = new xdsservices(); xds.setxdsstate(false); //do have xds.setxdsstate(true); 

then, regarding business case, may go command , restrict list of projects join query. or go xds myproject tempdb table containing projects worker works on. then, have no more filtering issue this. you'll have implement additioal filter/restriction on other departements projects.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -