[英]CRM Dynamics 2015: Conditionally updating a field in CRM using Scribe
We are using scribe to migrate data from a source into CRM 2015 Online. 我们正在使用划线员将数据从源迁移到CRM 2015 Online。 The DTS will run every 15 mins.
DTS将每15分钟运行一次。 Is it possible update the fields in the target based on a condition?
是否可以根据条件更新目标中的字段?
Currently I am following this approach: 目前,我正在采用这种方法:
IF(S1= UserVariables,#NULL!,S1 ).
Also “Allow NULL values to overwrite Target data” is unchecked. 同样,未选中“允许使用NULL值覆盖目标数据”。 UserVariable is linked to that particular field.
UserVariable链接到该特定字段。
The main reason for trying it this way is to stop the audit logs from building up in CRM if the source value is unchanged.(The client wants auditing ON for everything!). 尝试这种方式的主要原因是,如果源值不变,则阻止在CRM中建立审核日志。(客户端希望对所有内容都启用审核!)。 This is not working however.
但是,这不起作用。 It is skipping the rows!
它正在跳过行! No updates are performed even if the source value is different from target.
即使源值与目标值不同,也不会执行任何更新。
I tried IF(S1= "targetfield",#NULL!,S1 )
, This time the updates are performing even if the source=target
! 我尝试了
IF(S1= "targetfield",#NULL!,S1 )
,这一次更新正在执行,即使source=target
! Thus building up the audit logs. 从而建立审核日志。
Turning off auditing is not an option! 无法关闭审核! Is there any other way to do this?
还有其他方法吗?
Note: Using scribe insight v.7.7 on-premise. 注意:在内部使用scribe洞察v.7.7。
I use CozyRock and Kingsway Soft mainly (Kingsway my personal pref), so I'm not 100% on the optimal approach for Scribe. 我主要使用CozyRock和Kingsway Soft(我个人偏爱Kingsway),所以我并不是Scribe最佳方法的100%。
Anyhow, I normally write these to a staging table and then only update what will change. 无论如何,我通常将它们写入登台表,然后仅更新将要更改的内容。 So if you:
因此,如果您:
This approach is typically faster and would not write unnecessary records to the audit log. 这种方法通常更快,并且不会将不必要的记录写入审核日志。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.