CrmServiceClient.UpdateStateAndStatusForEntity CrmServiceClient.UpdateStateAndStatusForEntity CrmServiceClient.UpdateStateAndStatusForEntity Method

Definition

Overloads

UpdateStateAndStatusForEntity(String, Guid, Int32, Int32, Guid) UpdateStateAndStatusForEntity(String, Guid, Int32, Int32, Guid) UpdateStateAndStatusForEntity(String, Guid, Int32, Int32, Guid)

Updates the State and Status of the Entity passed in.

UpdateStateAndStatusForEntity(String, Guid, String, String, Guid) UpdateStateAndStatusForEntity(String, Guid, String, String, Guid) UpdateStateAndStatusForEntity(String, Guid, String, String, Guid)

Updates the State and Status of the Entity passed in.

UpdateStateAndStatusForEntity(String, Guid, Int32, Int32, Guid) UpdateStateAndStatusForEntity(String, Guid, Int32, Int32, Guid) UpdateStateAndStatusForEntity(String, Guid, Int32, Int32, Guid)

Updates the State and Status of the Entity passed in.

public bool UpdateStateAndStatusForEntity (string entName, Guid id, int stateCode, int statusCode, Guid batchId = null);
member this.UpdateStateAndStatusForEntity : string * Guid * int * int * Guid -> bool
Public Function UpdateStateAndStatusForEntity (entName As String, id As Guid, stateCode As Integer, statusCode As Integer, Optional batchId As Guid = null) As Boolean

Parameters

entName
String String String

Name of the entity

id
Guid Guid Guid

Guid ID of the entity you are updating

stateCode
Int32 Int32 Int32

Int version of the new state

statusCode
Int32 Int32 Int32

Int Version of the new status

batchId
Guid Guid Guid

Optional : Batch ID to attach this request too.

Returns

true on success.

Remarks

UpdateStateAndStatusForEntity(String, Guid, String, String, Guid) UpdateStateAndStatusForEntity(String, Guid, String, String, Guid) UpdateStateAndStatusForEntity(String, Guid, String, String, Guid)

Updates the State and Status of the Entity passed in.

public bool UpdateStateAndStatusForEntity (string entName, Guid id, string stateCode, string statusCode, Guid batchId = null);
member this.UpdateStateAndStatusForEntity : string * Guid * string * string * Guid -> bool
Public Function UpdateStateAndStatusForEntity (entName As String, id As Guid, stateCode As String, statusCode As String, Optional batchId As Guid = null) As Boolean

Parameters

entName
String String String

Name of the entity

id
Guid Guid Guid

Guid ID of the entity you are updating

stateCode
String String String

String version of the new state

statusCode
String String String

String Version of the new status

batchId
Guid Guid Guid

Optional : Batch ID to attach this request too.

Returns

true on success.

Remarks

Applies to