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

🔍 Looking for a CPQ Solution? Discover How QuoteWerks Can Streamline Your Quoting Process

Aug 28, 2025

If you’re a business professional searching for a quoting solution to simplify and accelerate your sales process, you’re likely encountering a wide range of options, and a LOT of noise. CPQ tools promise efficiency, accuracy, and integration, but finding the right fit for your business can be overwhelming. QuoteWerks is a powerful and proven CPQ […]

READ MORE

Is Your Business QuoteWerks Web Ready? Why More Desktop Users Are Making the Move

Aug 15, 2025

Over the past year, we’ve seen a noticeable shift: more and more QuoteWerks Desktop users are exploring the flexibility and productivity gains offered by QuoteWerks Web. Whether it’s a full transition or a hybrid setup using both platforms, the trend is clear: businesses want quoting tools that adapt to their modern workday. ❓ Why the Shift? […]

READ MORE

Case Study: Enhancing Crane Delivery Precision with Hilltops IT’s Innovative Software Solution

Jul 30, 2025

Client: Terranova CranesIndustry: Specialist Crane Hire The Challenge Terranova Cranes faced a recurring challenge: delivering cranes to exact locations on construction sites where traditional addressing systems (like postcodes) lacked the accuracy required. Navigating to broad or imprecise locations often caused delays, confusion, and inefficiencies in high-pressure environments. The Solution Hilltops IT, authors of the ConnectIt […]

READ MORE