<fetchcollection>
<fetch mapping="logical" aggregate="true">
<entity name="contact">
<attribute groupby="true" alias="_CRMAutoGen_groupby_column_Num_0" name="hpcrm_currentsegmentid" />
<order alias ="new_rank" descending="false"/>
<attribute alias="_CRMAutoGen_aggregate_column_Num_0" name="hpcrm_revenue" aggregate="sum" />
<attribute alias="_CRMAutoGen_aggregate_column_Num_13" name="hpcrm_aum" aggregate="sum" />
<attribute alias="_CRMAutoGen_aggregate_column_Num_14" name="hpcrm_revenuelastyear" aggregate="sum" />
<link-entity name="hpcrm_businesstier" from="hpcrm_businesstierid" to="hpcrm_currentsegmentid" alias="aa" >
</link-entity>
</entity>
</fetch>
</fetchcollection>
<categorycollection>
<category alias="_CRMAutoGen_groupby_column_Num_0">
<measurecollection>
<measure alias="_CRMAutoGen_aggregate_column_Num_0" />
</measurecollection>
<measurecollection>
<measure alias="_CRMAutoGen_aggregate_column_Num_13" />
</measurecollection>
<measurecollection>
<measure alias="_CRMAutoGen_aggregate_column_Num_14" />
</measurecollection>
<measurecollection>
<measure alias="new_rank" />
</measurecollection>
</category>
</categorycollection>
我正在生成图表,但想按属性应用顺序,该属性存在于与该实体有n:1
关系的另一个实体中。这里new_rank
属性存在于businesstier
实体中。
<link-entity name="hpcrm_businesstier" from="hpcrm_businesstierid"
to="hpcrm_currentsegmentid" alias="aa" >
在这里,我将业务层加入到联系人实体中。
但是当我尝试导入 XML 时出现无效的 XML 错误。
指定的 XML 文件“Revenue_AUM by Current Segment.xml”不是有效的 XML 或不符合图表架构