0
有沒有辦法強制彙總字段進行計算,而不必「刷新」表單上的字段?Dynamics CRM 2016中的彙總字段
有沒有辦法強制彙總字段進行計算,而不必「刷新」表單上的字段?Dynamics CRM 2016中的彙總字段
可以在插件使用CalculateRollupFieldRequest
當組件字段更新:
CalculateRollupFieldRequest request= new CalculateRollupFieldRequest
{
Target = new EntityReference("<entityname>", recordId),
FieldName = "<rollup field to refresh>"
};
CalculateRollupFieldResponse response = (CalculateRollupFieldResponse)service.Execute(request);