ErrorDetails-_2800_17_2900_.txtHi!
Upon putting some trace logs on our post Opportunity update plugin, I've known that the error is on getting the time zone of current logged in user. Please note that this is working on our 8.2 version.
Can anyone share their thoughts what happened on that one? Thanks!
Pasting the code snippet
tracingService.Trace("currentUserSettings start");
var currentUserSettings = service.RetrieveMultiple(
new QueryExpression(UserSettings.EntityLogicalName)
{
ColumnSet = new ColumnSet("localeid", "timezonecode"),
Criteria = new FilterExpression
{
Conditions =
{
new ConditionExpression("systemuserid", ConditionOperator.EqualUserId)
}
}
}).Entities[0].ToEntity<UserSettings>();
tracingService.Trace("currentUserSettings retrieve finish");
");
From the tracing above, "currentUserSettings retrieve finish" wasn't executed. Also pasting the entire error log details.
*This post is locked for comments