Explore the possibilities with Sage CRM insights through our comprehensive blogs. As a leading Sage partner, Greytrix helps businesses maximize their Sage CRM potential with its rich expertise and immense knowledge. Here, you will find blogs that feature expert advice, tips & tricks, best practices, and comprehensive guides on customizing and configuring Sage CRM for your business. Stay informed with our regular updates and expert insights!
Set Quote reference id when creating quotes from COM API
Whenever we create quotes through standard screen, it calls the internal methods to generated Quote reference id based on reference format and updates the new quote record with the same. When we create quote using CreateRecord method in COMP API we don’t get this value automatically set. Below is the function you can use in your COM API methods to get the reference number for any quote generated using CreateRecord method. You just have to pass QuoteId for newly created quote as input.