• dv4
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

I have added a clone quote button on Quote. On this button, I have added :

 

{!REQUIRESCRIPT("/soap/ajax/22.0/connection.js")}
result = sforce.connection.query("select id,opportunityid from Quote where id = '{!Quote.Id}'")
window.top.location.href =
    "{!URLFOR( $Action.Quote.NewQuote ,null,[clone=1,id=Quote.Id,retURL="/"&Quote.Id],true)}&oppid=" +
    result.records.OpportunityId

 

This successfully creates a clone of current quote but it doesnt copy custom field values of quoteline items in my clone quote. Any suggestions on how to fix it?

 

Thanks

  • October 02, 2012
  • Like
  • 0

Was wondering if someone has successfully accomplished cloning a quote and the related quote line items?  I need it to create a new quote revision without creating a whole new quote with new quote number...just a new revision number.

 

I am struggling and thought that this task has probaly been done by someone "out there"...

 

I appreciate your help!!

  • September 14, 2011
  • Like
  • 0