2
간단한 'sum'쿼리를 수행하는 fetchXMl이 있습니다.Dynamics CRM 2011 - xml sum을 가져 오면 0 대신 NULL이 반환됩니다.
<fetch distinct='true' mapping='logical' aggregate='true'>
<entity name='orb_timesheetentry'>
<attribute name='orb_cost' alias='cost_sum' aggregate='sum'/>
<filter type='and'>
<condition attribute='orb_prepaidpack' operator='eq' value='{0}' />
<condition attribute='statuscode' operator='eq' value='169810003' />
</filter>
</entity>
</fetch>
문제는 어떤 기록을 찾을 수없는 경우, 그것은 0 대신 널의 반환하는 방법이 있나요 널 0 대신
의 반환인가?
내가 같은 문제를 겪고을 –