I want to retrieve all attributes of entity but exclude some of them. Like if entity have 42 attributes I want to exclude Name, Date and retrieve all others. Below is what i have tried.
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false" >
<entity name="account" >
<all-attributes/>
!<attribute name="name" />!
<order attribute="statecode" descending="false" />
<filter type="and" >
<condition attribute="statecode" operator="eq" value="0" />
<condition attribute="location" operator="eq" uitype="location" value="{11c43ee8-b9d3-4e51-b73f-bd9dda66e29c}" />
</filter>
</entity>
</fetch>