Hi,
I need to grouping result by some attribute,
I tried like on picture below, but without success.
<fetch top="5000" aggregate="true" ><entity name="a24_event_journal" ><attribute name="a24_journal_type_opt" alias="a24_journal_type_opt" groupby="true" /><attribute name="a24_description_txt" alias="a24_description_txt" /><link-entity name="campaign" from="campaignid" to="a24_campaign_ref" ><attribute name="actualstart" alias="actualstart" /><attribute name="actualend" alias="actualend" /><attribute name="name" alias="name" /></link-entity><link-entity name="account" from="accountid" to="a24_account_ref" alias="account" /><link-entity name="contact" from="contactid" to="a24_contact_1_ref" link-type="outer" alias="contact1" /><link-entity name="contact" from="contactid" to="a24_contact_2_ref" link-type="outer" alias="contact2" /><link-entity name="contact" from="contactid" to="a24_contact_3_ref" link-type="outer" alias="contact3" /><link-entity name="task" from="regardingobjectid" to="a24_event_journalid" link-type="outer" alias="task" ><attribute name="scheduledend" alias="scheduledend" /><attribute name="subject" alias="subject" /></link-entity></entity></fetch>
Please help me to group by "a24_journal_type_opt" attribute.
Thanks in advance..
Kind regards
Martin









