6. September 2018 12:34
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: SqlException: Ungültiger Spaltenname 'CustomerIdType'.
Ungültiger Spaltenname 'CustomerId'.
Ungültiger Spaltenname 'CustomerId'.
Ungültiger Spaltenname 'CustomerIdType'.
Ungültiger Spaltenname 'CustomerId'.
Ungültiger Spaltenname 'CustomerIdName'.
Ungültiger Spaltenname 'CustomerIdType'.
Ungültiger Spaltenname 'CustomerId'.
Ungültiger Spaltenname 'CustomerIdYomiName'.
Ungültiger Spaltenname 'CustomerIdType'.
Ungültiger Spaltenname 'CustomerId'.
Ungültiger Spaltenname 'CustomerId'.
Ungültiger Spaltenname 'CustomerIdType'.
Ungültiger Spaltenname 'CustomerId'.
Ungültiger Spaltenname 'CustomerIdName'.
Ungültiger Spaltenname 'CustomerIdType'.
Ungültiger Spaltenname 'CustomerId'.
Ungültiger Spaltenname 'CustomerIdYomiName'.
...
OwningUser = case
when XXowner.OwnerIdType= 8 then XXowner.OwnerId
else null
end,
OwningTeam = case
when XXowner.OwnerIdType= 9 then XXowner.OwnerId
else null
end,
[AccountId] = case
when [ActivityPointerBase].[CustomerIdType] = 1 AND [ActivityPointerBase].[CustomerId] IS NOT NULL then [ActivityPointerBase].[CustomerId]
else NULL
end,
[AccountIdName] = case
when [ActivityPointerBase].[CustomerIdType] = 1 AND [ActivityPointerBase].[CustomerId] IS NOT NULL then [ActivityPointerBase].[CustomerIdName]
else NULL
end,
[AccountIdYomiName] = case
when [ActivityPointerBase].[CustomerIdType] = 1 AND [ActivityPointerBase].[CustomerId] IS NOT NULL then [ActivityPointerBase].[CustomerIdYomiName]
else NULL
end,
[ContactId] = case
when [ActivityPointerBase].[CustomerIdType] = 2 AND [ActivityPointerBase].[CustomerId] IS NOT NULL then [ActivityPointerBase].[CustomerId]
else NULL
end,
[ContactIdName] = case
when [ActivityPointerBase].[CustomerIdType] = 2 AND [ActivityPointerBase].[CustomerId] IS NOT NULL then [ActivityPointerBase].[CustomerIdName]
else NULL
end,
[ContactIdYomiName] = case
when [ActivityPointerBase].[CustomerIdType] = 2 AND [ActivityPointerBase].[CustomerId] IS NOT NULL then [ActivityPointerBase].[CustomerIdYomiName]
else NULL
end,
-- physical attribute
[ActivityPointerBase].[ActivityId],
[ActivityPointerBase].[ActivityTypeCode],
[ActivityPointerBase].[ActualDurationMinutes],
...
13. November 2018 16:21