Changing the QuoteWerks Document Number Prefix

Further to the post back in February about changing the three character prefix on a QuoteWerks Layout, a client has just asked about changing just the Q/O/I letter – specifically the “I” Invoice for a “C” Credit Note.

Here’s the formula we gave them for the QuoteWerks master installation Layout:

first(documentheaders->docno,3)+”C”+last(documentheaders->docno,(len(documentheaders->docno)-4))

For a remote QuoteWerks user’s Layout, it would be:

first(documentheaders->docno,4)+”C”+last(documentheaders->docno,(len(documentheaders->docno)-5))

The formulae use two key functions – ‘first’ and ‘last’ which both take two parameters:

  • string – the piece of text that we want to take part of
  • num – the number of characters that we want to take from string

Using these functions in this way, we are able to take the parts of the Document Number that we want to retain (the prefix and the number itself) and replace the Document Type Q/O/I with another letter.

Hope this helps!

The Hilltops IT QuoteWerks Support Team.

Related Stories

See all

The Digital Backbone of Modern Manufacturing: Trends in Backend Software and Workflow Integration

Jul 10, 2025

In 2025, the manufacturing sector – particularly in the UK and USA – is undergoing a profound transformation. While much attention is given to robotics, AI, and smart factories on the production floor, an equally important revolution is happening behind the scenes: the modernization of backend business software. From quoting and CRM to invoicing and […]

READ MORE

ConnectWise Sell vs QuoteWerks: A Comparison

Jul 09, 2025

📝 Introduction: A Reseller’s Perspective As a long-standing QuoteWerks Reseller and Solutions Partner, we at Hilltops IT have proudly supported businesses across the UK, Europe and Worldwide in streamlining their sales quoting processes. Over the years, we’ve seen first-hand how QuoteWerks empowers teams with flexibility, speed, and reliability. However, in recent months, we’ve observed a […]

READ MORE

🎥 Help Us Help You: What QuoteWerks Challenges Should We Cover Next?

Jul 08, 2025

At Hilltops IT, we’ve spent years helping businesses get the most out of QuoteWerks, from streamlining product imports to customizing PDF layouts, integrating with downstream systems, and everything in between. Now, we’re excited to launch a new series of webinars and YouTube videos designed to tackle the most common (and not-so-common!) QuoteWerks challenges. But here’s […]

READ MORE