javascript - Microsoft Dynamics CRM 2015 计算字段如何工作?

标签 javascript calculated-field dynamics-crm-2015

我想了解 CRM 2015 中的计算字段如何工作?实际上它是如何在后端实现的?它使用哪种技术,JavaScript 还是其他技术?

我还注意到,如果我在 CRM View 上有计算字段,并且它包含 DiffInDays() 公式的值(= 日期值 - 当前日期),则该字段的值将每天自动刷新,即使我不要刷新 View 。这是怎么发生的?

最佳答案

无需 JavaScript,在服务器端执行,来自 Calculated and rollup attributes .

Calculated attributes are calculated in real-time when they are retrieved.

Because rollup attributes persist in the database, they can be used for filtering or sorting just like regular attributes. Any kind of process or plug-in will use the most recently calculated value of the attribute. Rollup attribute values are calculated asynchronously by scheduled system jobs.

关于javascript - Microsoft Dynamics CRM 2015 计算字段如何工作?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32230591/

相关文章:

excel - 计算两个日期字段计数之间的差异

javascript - 客户关系管理 2015 : Custom Ribbon buttons in quote entity not visible after the quote is activated

dynamics-crm - Dynamics CRM - 同一事件的多个插件,具有相同等级的舞台 - 执行顺序?

javascript - 如何使用 Jquery 的 AJAX 提交复杂的表单?

javascript - 如何根据 React Native 中的条件在不同组件之间导航

javascript - 取消选中子组件 Vue.js 中的所有复选框

javascript - SlickGrid 在事件 onCellChange 上设置行背景颜色

javascript - 如何在删除字段时计算输入字段值并将其分配给另一个字段

javascript - 在服务器端更新字段后防止触发 OnChange 函数