Hi, I keep getting errors with this query, anything wrong? Error: "an attribute cannot be requested when an aggregate operation has been specified and its groupby nor aggregate. NodeXML: <attribute name ="customerid"/>"
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false" top="3" aggregate="true" > <entity name="incident" > <attribute name="customerid" /> <attribute name="new_resolutiondate" aggregate="max" /> <attribute name="title" /> <attribute name="incidentid" /> <filter type="and" > <condition attribute="statecode" operator="eq" value="1" /> </filter> <link-entity name="account" from="accountid" to="customerid" visible="false" link-type="outer" alias="a_4b5945b8a4a64613afc1ae1d5e6828c7" > <attribute name="primarycontactid" /> <attribute name="new_registrationid" /> <attribute name="address1_postalcode" /> </link-entity> </entity> </fetch>
*This post is locked for comments