Показать сообщение отдельно
Старый 27.04.2006, 12:33   #6  
leshy is offline
leshy
Участник
 
118 / 11 (1) +
Регистрация: 23.02.2004
Адрес: Киев
Вобщем да, но в руководстве разработчика сказано что этим процессом можно управлять:
You may want to code other methods on reports or forms, and still have the rules of RLS applied. Or, within the RLS-scoped methods listed in the previous section, you might want the scoped RLS to be disabled on selected queries. To have this functionality, a method on a table buffer is available, recordLevelSecurity, to overrule default behavior.

Within scoped RLS, you simply "sign-up" for RLS coverage using:


SalesLine.recordLevelSecurity(true);



And in RLS covered X++ code, you may “sign-up” for an exemption from the rule by using:


SalesLine.recordLevelSecurity(false);