locked
How to update quote revised number field? RRS feed

  • Question

  • HI,

    I migrated all quotes from crm2011 source to crm2011 destination crm. all are coming correct but revision Id field is updated with "0" for all quotes in destination crm. but in source it is having different values. Now i need to update  revision Id field in destination.

    What i am doing is, i am changing the quote state to draft and updating the  revision Id field but it is not updating and i am not getting any error also with console application.

    while i am trying with javascript also  not able to update.  

    

    

    If anyone knows please let me know?

    Thanks,

    Sravan J.

     
    Tuesday, November 19, 2013 10:30 AM

Answers

All replies

  • HI

    Revision ID is Read Only field , You can not update this field .

    If you want to revise a quote , you can use ReviseQuoteRequest . It will create a new quote with the incremented revision number .

     ReviseQuoteRequest req1 = new ReviseQuoteRequest();
                   req1.ColumnSet = new ColumnSet(true);
                   req1.QuoteId = new Guid("40800565-2A51-E311-981B-D89D6765B238");
                   ReviseQuoteResponse resp1 = (ReviseQuoteResponse)service.Execute(req1);


    Zafar Khan


    • Edited by Zafar.Khan Tuesday, November 19, 2013 3:22 PM
    • Proposed as answer by Mamatha Swamy Wednesday, November 20, 2013 1:53 AM
    Tuesday, November 19, 2013 3:12 PM
  • Hi Zafar , Thanks for your reply.

    Actually revised quotes also migrated from source CRM. Already orders and invoices are also migrated for these quotes.   If i use ReviseQuoteRequest then again revised quotes will create, then i will face problem with orders and invoices. Thats why is there any other way to update revised id field?

    Thanks,

    Sravan J.

    Wednesday, November 20, 2013 6:55 AM
  • HI Sravan

    If you set IsSOAPIntegrationenabled to true , then you will be able to update readonly field . here is the link to apply the same .

    http://crmuk.wordpress.com/2012/11/21/crm-2011-sop-integration-mode/

    http://deedodee.com/2013/02/01/crm-2011-sop-integration-mode/


    Zafar Khan

    • Marked as answer by sravan J Thursday, November 21, 2013 3:06 PM
    Wednesday, November 20, 2013 5:35 PM