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

Introducing the ConnectIt QuoteWerks Reporting Portal: Enterprise Insights, Turn‑Key Setup

May 11, 2026

A new way for QuoteWerks users to unlock live and historical reporting with a free 30‑day Enterprise trial. If you rely on QuoteWerks data to run your business, reporting shouldn’t be hard. Yet for many QuoteWerks users, meaningful reporting still means: At Hilltops IT, we work with QuoteWerks every day and one thing is consistent: […]

READ MORE

Announcing the BETA Launch of the ConnectIt Software Web Portal for QuoteWerks Reporting

Apr 26, 2026

We’re excited to announce the BETA release of the ConnectIt Software Web Portal for QuoteWerks Reporting – a new, web‑based reporting solution designed to give QuoteWerks users secure, flexible access to their reporting data from anywhere. This BETA release marks a major step in our ongoing effort to extend and modernise QuoteWerks reporting, while respecting […]

READ MORE

How Smart Software is Powering Small Manufacturers: Trends and Tools for 2025

Oct 10, 2025

In today’s fast-moving manufacturing world, it’s not just the machines on the shop floor that are getting smarter – it’s the software behind the scenes too. For managers in micro, small, and medium-sized manufacturing businesses, staying competitive means more than just making great products. It means running a tight ship behind the scenes: quoting quickly, […]

READ MORE