What is the method for comparing parameters in one SQL query in CRM 2013?
i tried so, but error(The variable "ce" of type "Microsoft.Xrm.Sdk.Entity" is referenced from the scope "", but it is not defined):
var query = from ce in orgSvcContext.CreateQuery("account")
where ce.GetAttributeValue<DateTime>("answer_fact_date") < ce.GetAttributeValue<DateTime>("deadline")
select new
{
id_record = ce.Id,
};
foreach (var entity in query)
{
}
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,900 Super User 2024 Season 2
Martin Dráb 229,275 Most Valuable Professional
nmaenpaa 101,156