Hi Hao,
Thank you for your feedback.
However it turns out to be working when I am using web client. And when I am using UCI, I am getting an 400 error in web console. It mainly says that my field (lookup type) I am using in my dupplicate rule is not defined for the entity
{"error":{"code":"0x0","message":"The property 'xxx_produitid' does not exist on type 'Microsoft.Dynamics.CRM. xx_customentity_xx'. Make sure to only use property names that are defined by the type or mark the type as open type.","innererror":{"message":"The property 'xxx_produitid' does not exist on type 'Microsoft.Dynamics.CRM.xx_customentity_xx'. Make sure to only use property names that are defined by the type or mark the type as open type.", "type":"Microsoft.OData.ODataException","stacktrace":" at Microsoft.OData.ReaderValidationUtils.ValidatePropertyDefined(String propertyName, IEdmStructuredType owningStructuredType, Boolean throwOnUndeclaredPropertyForNonOpenType)\r\n at Microsoft.OData.JsonLight.ODataJsonLightResourceDeserializer.ReadPropertyWithValue(IODataJsonLightReaderResourceState resourceState, String propertyName, Boolean isDeltaResourceSet)\r\n at Microsoft.OData.JsonLight.ODataJsonLightResourceDeserializer.<>c__DisplayClass9_0.<ReadResourceContent>b__0(PropertyParsingResult propertyParsingResult, String propertyName)\r\n at Microsoft.OData.JsonLight.ODataJsonLightDeserializer.ProcessProperty(PropertyAndAnnotationCollector propertyAndAnnotationCollector, Func`2 readPropertyAnnotationValue, Action`2 handleProperty)\r\n at Microsoft.OData.JsonLight.ODataJsonLightResourceDeserializer.ReadResourceContent(IODataJsonLightReaderResourceState resourceState)\r\n ....
Is this a Microsoft known bug occurring on UCI only ?
Regards,