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:
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.