Я создаю подсетку в учетной записи, чтобы отображать все связанные контакты по нескольким полям. Вот файл xml, который я пытаюсь установить:
<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 ("contacts"). Control.SetParameter. Но если я попытаюсь запустить document.getElementById ("contacts"). 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 в качестве связанного поля в подсетке.
Итак, могу ли я как-то избежать добавления этого дополнительного фильтра и дополнительного условия?