Dynamics 365

Dynamics 365

.

Power paltform

Power paltform

.

Custom solutions

Custom solutions

.

How to create a Filter Expression with AND & OR? XRM [CRM]

FilterExpression filter = new FilterExpression(LogicalOperator.Or); FilterExpression filter1 = new FilterExpression(LogicalOperator.And); filter1.Conditions.Add(new ConditionExpression(“A_LogicalName”, ConditionOperator.Equal, id1)); filter1.Conditions.Add(new ConditionExpression(“B_LogicalName”, ConditionOperator.Equal, id2)); FilterExpression filter2 = new FilterExpression(LogicalOperator.And); filter2.Conditions.Add(new ConditionExpression(“B_LogicalName”, ConditionOperator.Equal, id2)); filter2.Conditions.Add(new ConditionExpression(“C_LogicalName”, ConditionOperator.Equal, id3)); filter.AddFilter(filter1); filter.AddFilter(filter2); query.Criteria = filter; OR

No internet connection found. please verify that your internet connection is available AX2012 CU 13 updates

Applying CU 13 updates yields No Internet Connections Available Recently while trying to apply an update one of our AX 2012 R3 environment, I ran across a “No internet available” when running the AxUpdate installer. The internet connection was most certainly available on this server. I verified this by running a browser and pinging outside sources…