Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 137182

Forum Post: RE: Is it possible to express this SQL command as a QueryExpression (requires entity attribute comparison)?

$
0
0
I have come across an alternative approach* which works CRM365/2016 but unfortunately not for CRM2011: Introduce a new Calculated-field on the primary entity (i.e. the entity to be cleaned-up). I opted to use data-type "2 options" and configured it to act as a simple Boolean-flag, which is set "yes" when the record is to be deleted and "no" otherwise: The BulkDeleteRequest's QueryExpression can then just check the new flag (and BU & age conditions) on the Primary-entity to determine which Records to delete. *As suggested by Alex Shlega on this thread: https://community.dynamics.com/crm/f/117/p/258353/853130#853130 I like this solution but, as I said, not a solution for CRM2011.

Viewing all articles
Browse latest Browse all 137182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>