2014-11-25 69 views
-2

我想選擇第10條 「new_region」 在MS CRM動態在取返回錯誤0x80040203

"<fetch mapping= ""logical"" count=""10"">"+ 
"<entity name='new_region'>"+ 
"<attribute name='new_regionid'/>"+ 
"</entity>"+ 
"</fetch>"+ 

錯誤:

<code>0x80040203</code> 
<description>entity</description> 
<type>Platform</type> 

請幫幫我!

+0

在插件或JavaScript的? – Passion 2014-11-25 10:08:17

+0

同樣的錯誤。沒有javascript – 2014-11-25 10:32:22

回答

0

試試這個

string getRecords = @"<fetch mapping= 'logical' distinct ='true' count='10'> 
           <entity name='new_region'> 
            <attribute name='new_regionid'/> 
            <order attribute = 'new_name' descending = 'false'/> 
            </entity> 
            </fetch>"; 
+0

同樣的錯誤。 – 2014-11-25 10:33:51

+0

Ok.in命令將屬性重命名爲new_name。 Passion 2014-11-25 10:41:47

+0

如果您想通過給出模式名稱進行排序,或者可以刪除該命令。 – Passion 2014-11-25 10:45:09