CRM Fetch report

本文详细解析了CRM系统中使用fetch XML进行生产预算查询的方法,包括如何通过内联链接实体来获取与生产预算相关的成本分配、总预算、实际总成本等关键数据,以及如何将这些数据与属性如作物、物业、公司等关联。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

//fetch 格式  (enableprefiltering="1" prefilterparametername="CRM_Filteredxd_productionbudget" 过滤条件)
<fetch mapping="logical">
  <entity name="xd_productionbudget"  enableprefiltering="1" prefilterparametername="CRM_Filteredxd_productionbudget">
    <attribute name="xd_crop"  alias="xd_crop"/>
    <attribute name="xd_property"  alias="xd_property"/>
    <link-entity name="xd_productioncostallocation" to="xd_productionbudgetid" from="xd_productionbudget" link-type="inner">
      <attribute name="xd_costallocation"  alias="xd_costallocation"/>
      <attribute name="xd_totalbudget"  alias="xd_totalbudget"/>
      <attribute name="xd_totalactual"  alias="xd_totalactual"/>
      <attribute name="xd_averagebudgetperhactare"  alias="xd_averagebudgetperhactare"/>
      <attribute name="xd_averageactualperhactare"  alias="xd_averageactualperhactare"/>
    </link-entity>
    <link-entity name="xd_property" to="xd_property" from="xd_propertyid" link-type="inner">//实体之间的连接查询
      <attribute name="xd_company"  alias="xd_company"/>
    </link-entity>
  </entity>
</fetch>

转载于:https://www.cnblogs.com/52xiaopeng/p/3522769.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值