CrmServiceClient.UpdateStateAndStatusForEntity Method (String, Guid, Int32, Int32, Guid)
Dynamics CRM 2016
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Updates the State and Status of the Entity passed in.
Assembly: Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)
Public Function UpdateStateAndStatusForEntity ( entName As String, id As Guid, stateCode As Integer, statusCode As Integer, batchId As Guid ) As Boolean
Parameters
- entName
-
Type:
System.String
Name of the entity
- id
-
Type:
System.Guid
Guid ID of the entity you are updating
- stateCode
-
Type:
System.Int32
Int version of the new state
- statusCode
-
Type:
System.Int32
Int Version of the new status
- batchId
-
Type:
System.Guid
Optional : Batch ID to attach this request too.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright
Community Additions
ADD
Show: