Я конвертирую SQL в FetchXml для переноса существующих отчетов из Dynamics CRM 2013 в Dynamics CRM 2015 онлайн. Есть набор опций и столкнулся с этой проблемой, которая
Тип атрибута "Виртуальный" не поддерживается. Удалите из запроса атрибут s_expensetypename и повторите попытку.
Проблема: как получить метку набора параметров и значение в объекте ссылки с помощью Fetch Xml CRM 2015 Online.
Вот мой Fetch XML:
<fetch mapping="logical" version="1.0">
<entity name="new_timereport">
<attribute name="new_timereportid" alias="InvoiceID" />
<attribute name="new_name" alias="Invoice Number" />
<attribute name="new_projectid" alias="ProjectID" />
<attribute name="new_projectidname" alias="Project Name" />
<attribute name="new_customeridname" alias="Customer Name" />
<filter>
<condition attribute="new_timereportid" operator="eq" value="@SubreportParam" />
</filter>
<link-entity name="new_expenses" from="new_expenseid" to="new_timereportid" alias="Y" link-type="outer">
<attribute name="s_expensetype" alias="Expense Type Key" />
<attribute name="s_expensetypename" alias="Expense Type" />
<attribute name="ownerid" alias="ConsultantID" />
<attribute name="owneridname" alias="Consultant" />
<attribute name="new_date" />
<attribute name="new_amount" alias="Amount" />
<attribute name="new_vat" alias="VAT" />
<attribute name="new_total" alias="Total Amount" />
<attribute name="new_name" alias="Description" />
</link-entity>
</entity>
</fetch>
Есть идеи, как с этим бороться?
Большое спасибо,