Показать сообщение отдельно
Старый 02.04.2019, 22:11   #1  
Blog bot is offline
Blog bot
Участник
 
22,105 / 768 (70) +++++++
Регистрация: 28.10.2006
a33ik: How to identify that code is running under business connector?
Источник: http://daxonline.org/1646-how-to-ide...connector.html
==============

There is X++ code, which will allow you to identify that currently execution is under BC.


SysClientSessions sysClientSessions; select firstOnly RecId from sysClientSessions where sysClientSessions.SessionId == SessionId() && sysClientSessions.clientType == SessionType::BC; if (sysClientSessions) { // business connector }



Источник: http://daxonline.org/1646-how-to-ide...connector.html