Hello,
I have implemented an XDS policy on projTable for a certain role to view only projects with a specific type.
However, on the Timesheet screen I want to disable or bypass this policy so that the user with this role can add lines for all projects.
I tried doing this by extension on the lookup method of the formControl (on TSTimesheetEntry form):
public void lookup()
{
unchecked(Uncheck::XDS)
{
next Lookup();
}
}
But this is not working. On the timesheet lines I can see all project as intended but if I select one of the projects that is filtered out by my xds policy I get the error "Project ID ___ doesn't exist in the company ___. Select a valid project ID with respect to the legal entity specified in this timesheet line."
Is there any way to do this? Or am I missing something?