Mapping Dynamics 365 statecode Requires Mapping statuscode In TIBCO Scribe® Online Target Blocks

Mapping Dynamics 365 statecode Requires Mapping statuscode In TIBCO Scribe® Online Target Blocks

book

Article ID: KB0078710

calendar_today

Updated On:

Products Versions
TIBCO Cloud Integration - Connect ( Scribe ) 1.6

Description

The Microsoft Dynamics 365 Product entity has statecode and statuscode fields. In the Microsoft Dynamics 365 user interface these are the Status and Status Reason fields. For versions of Microsoft Dynamics 365 lower than CRM v9, if you mapped statecode for the Product entity in a TIBCO Scribe® Online target operation Block, the default statuscode was automatically assigned.  In CRM v9, the default statuscode is no longer automatically assigned.


If only statecode is mapped, an error similar to the following is generated:


Operation failed. Label: Update CRM Product, Name: productUpdate, Message: -2147220989:StatusCode : Value cannot be null. Parameter name: StatusCode : Error in calling Operation Update Server stack trace:

Issue/Introduction

For some entities, if the statecode field is mapped, the statuscode field must be mapped or an error is generated.

Resolution

In TIBCO Scribe® Online, when configuring target operations that write to Microsoft Dynamics 365, if you map the statecode field for the Product entity you must also map the statuscode field.


If you are using CRM v9, you may need to modify existing TIBCO Scribe® Online Maps. If necessary, modify any target operation Blocks, such as Create or Update, that have statecode mapped and also map the statuscode field. 


NOTE: This same situation may affect other entities. Currently, TIBCO Scribe®  is only aware of an issue with the Product entity.

For additional information see TIBCO Scribe® Online Connector For Microsoft Dynamics 365 / CRM in the TIBCO Scribe® Online Help.