CrmServiceClient.CloseQuote(Guid, Dictionary<String,CrmDataTypeWrapper>, Int32, Guid) CrmServiceClient.CloseQuote(Guid, Dictionary<String,CrmDataTypeWrapper>, Int32, Guid) CrmServiceClient.CloseQuote(Guid, Dictionary<String,CrmDataTypeWrapper>, Int32, Guid) Method

Definition

Closes a quote as won or lost, Revise is not supported via this method

public Guid CloseQuote (Guid quoteId, System.Collections.Generic.Dictionary<string,Microsoft.Xrm.Tooling.Connector.CrmDataTypeWrapper> fieldList, int quoteStatusCode = 3, Guid batchId = null);
member this.CloseQuote : Guid * System.Collections.Generic.Dictionary<string, Microsoft.Xrm.Tooling.Connector.CrmDataTypeWrapper> * int * Guid -> Guid
Public Function CloseQuote (quoteId As Guid, fieldList As Dictionary(Of String, CrmDataTypeWrapper), Optional quoteStatusCode As Integer = 3, Optional batchId As Guid = null) As Guid

Parameters

quoteId
Guid Guid Guid

ID of the quote to close

fieldList
Dictionary<String,CrmDataTypeWrapper>

List of fields that need to be updated

quoteStatusCode
Int32 Int32 Int32

Status id of the quote, must be greater then 3 but not 7

batchId
Guid Guid Guid

Optional: if set to a valid GUID, generated by the Create Batch Request Method, will assigned the request to the batch for later execution, on fail, runs the request immediately

Returns

Remarks

Applies to