DTS mapping CRM statuscode now requires statecode to be populated

DTS mapping CRM statuscode now requires statecode to be populated

book

Article ID: KB0078607

calendar_today

Updated On:

Products Versions
TIBCO Scribe Insight 5.5.5

Description

A TIBCO Scribe® Insight DTS that sets the CRM salesorder entity "statuscode" field on an Insert step ran without error with CRM Adapter v5.5.4.  After upgrading to CRM Adapter v5.5.5, we now receive the following error:

     IsValidStatusForNewState requires statecode to be populated

Issue/Introduction

With the TIBCO Scribe® Insight Adapter for Microsoft Dynamics CRM v5.5.5, a DTS mapping the CRM salesorder statuscode field now requires the statecode field to be populated as well.

Resolution

Beginning with the CRM v5.5.5 adapter, TIBCO Scribe® Insight now requires statecode to be mapped when statuscode is mapped.
  • Add a data link on the salesorder Insert step for the statecode field.
  • If necessary, modify Configure Steps to use Seek, Insert and Update steps.  Map statecode on the Insert step.