CrmServiceClient.UpdateStateAndStatusForEntity Method

Definition

Overloads

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

Updates the state and status of the entity passed in.

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

Updates the state and status of the entity passed in.

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 = default);
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 = Nothing) As Boolean

Parameters

entName
String

Name of the entity.

id
Guid

Guid of the entity you are updating.

stateCode
Int32

Int version of the new state.

statusCode
Int32

Int version of the new status.

batchId
Guid

Optional : Batch id to attach this request to.

Returns

Boolean

True on success.

Remarks

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 = default);
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 = Nothing) As Boolean

Parameters

entName
String

Name of the entity.

id
Guid

Guid of the entity you are updating.

stateCode
String

String version of the new state.

statusCode
String

String version of the new status.

batchId
Guid

Optional : Batch id to attach this request to.

Returns

Boolean

True on success.

Remarks

Applies to