Я делаю подсеть на счете, чтобы показать все связанные контакты несколькими полями. Вот выборка XML Я пытаюсь установить:.Динамика CRM. Полностью настраиваемый FetchXml в подсети
<fetch mapping="logical">
<entity name="contact">
<attribute name="firstname" />
<filter type="or">
<condition attribute="new_behorde" operator="eq" value="" />
<condition attribute="new_behorde2" operator="eq" value="" />
<condition attribute="new_behorde3" operator="eq" value="" />
</filter>
</entity>
Я устанавливаю это с помощью document.getElementById ("контакты") метод control.SetParameter. . Но если я пытаюсь запустить document.getElementById («контакты») control.refresh(), эффективная выборка XML становится:
<fetch mapping="logical">
<entity name="contact">
<attribute name="firstname" />
<filter type="and">
<condition attribute="new_behorde" operator="eq" value="" />
<filter type="or">
<condition attribute="new_behorde" operator="eq" value="" />
<condition attribute="new_behorde2" operator="eq" value="" />
<condition attribute="new_behorde3" operator="eq" value="" />
</filter>
</filter>
</entity>
Это происходит потому, что я выбрал new_behorde в смежной области в Подсеточное.
Могу ли я как-то избежать добавления этого дополнительного фильтра и дополнительного состояния?