AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX: За рубежом > DAX in English
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 02.12.2014, 16:23   #1  
paucer is offline
paucer
Участник
 
24 / 10 (1) +
Регистрация: 11.11.2003
Адрес: Kaunas
how to bypass Record LevelSecurity in ax2012
Hello,
the situation is as follows:
Record Level Security is configured on HCMWorkker, HCMEmployment tables so that some low level accountant could not access manager's, CEO or any high rank emploee's information. This works fine in forms and lookups.
But the problem occurs when the report must be printed and signer's info: name, personnel number and worktitle must be added at the bottom of the document.
As a signer appear one or several persons like CEO, organizational unit manager, director or somebody similar, whose info accsess is restricted by RLS for the person who launches the report.
How to overcome the RLS so that name, title for signer would be printed.
Any advice?..
Thanks
Старый 07.12.2014, 02:59   #2  
Alex_KD is offline
Alex_KD
Участник
AxAssist
MCBMSS
Соотечественники
 
522 / 362 (14) ++++++
Регистрация: 06.07.2006
Адрес: Melbourne, Down Under
Hi,
have you tried something like

X++:
tableBuffer.recordLevelSecurity(false);
http://msdn.microsoft.com/en-us/libr...lsecurity.aspx
__________________
AxAssist 2012 - Productivity Tool for Dynamics AX 2012/2009/4.0/3.0
Теги
ax2012, rsl

 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Pawan's Ax blog: How to get all the planned orders for a particular demand. in Ax2012 Blog bot DAX Blogs 0 09.12.2013 00:14
emeadaxsupport: How to setup SEPA Direct Debit in AX2012 R2 Blog bot DAX Blogs 0 25.11.2013 21:11
emeadaxsupport: How to setup SEPA Credit in AX2012 R2 Blog bot DAX Blogs 0 25.11.2013 21:11
atinkerersnotebook: Walkthrough & Tutorial Summary Blog bot DAX Blogs 1 09.09.2013 09:11
workflowax: How to auto-submit record into workflow Blog bot DAX Blogs 0 23.06.2010 20:05
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 05:29.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.