Open topic with navigation
Several adapter objects have common fields.
Some objects have a statecode field and a statuscode field. In the Microsoft Dynamics CRM user interface, these relate to Status and Status Reason.
Only transitions that are defined as "valid" in the Dynamics CRM business rules are allowed. The adapter allows transitions that require multiple steps such as 1 to 2, then 2 to 3. Each object has a default initial statecode.
This field can be updated in the Scribe Workbench. Setting its value causes the adapter to change the object’s state after an insert, update, or upsert - but only if the object is not already in that state.
This field can be updated in the Scribe Workbench. If there is no state change, setting this field updates the current statuscode for the object. If there is a statechange, setting this field specifies the statuscode associated with the new state.
Dynamics CRMaccepts only statuscodes that are valid for the current or newly assigned statecode. If you change the statecode using the statecode field and you don't set a statuscode, the default statuscode value for the new statecode is assigned.
Review the Field Properties dialog box in the Workbench for a complete list of allowed values for any of the three fields described above. If the statuscode values are customized, the custom values are shown.
statecodes and statuscodes for an object are shown in the picklists
associated with the statecode and statuscode fields.
With Dynamics CRM, once a sales order is in a cancelled state, it is considered read-only and can only be updated by a user that is an integration user. For more information, see Using integration mode.