Mass updating Document Statuses using QuoteWerks Medic Utility

We’ve had several enquiries over the years from QuoteWerks users wanting to update old Quote documents en-masse to archive them off with a “Closed” Status.

The QuoteWerks Medic Utility offers several pre-defined mass update options, but there’s no specific update to change a Document Status, so you’ll need to use the ‘Advanced Queries’ option within the QuoteWerks Medic Utility Database Manager screen.

The exact syntax for the query will depend on both the edition of QuoteWerks (Standard, Professional or Corporate) and exactly what you want to do, but as an example:

With Corporate re-hosted to SQL, the query will look something like:

UPDATE DocumentHeaders
SET DocStatus = ‘Closed’
WHERE (DocDate < ‘2011-01-01’)
AND (DocType = ‘QUOTE’)
AND (DocStatus <> ‘Lost’)
AND (DocStatus <> ‘Won’)
AND (DocStatus <> ‘Another Status Not To Be Changed’)

For Standard, Professional or Corporate not re-hosted to SQL, try:

UPDATE DocumentHeaders
SET DocStatus = DocStatus
WHERE (DocDate < #2011-01-01#)
AND (DocType = “QUOTE”)
AND (DocStatus <> “Lost”)
AND (DocStatus <> “Won”)
AND (DocStatus <> “Another Status Not To Be Changed”)

PLEASE NOTE that you should backup your QuoteWerks Document database BEFORE running any of these example queries! By their nature these queries may update many Dcouments in your database and the changes cannot be undone without restoring the database from a backup.

We hope that you find this tip useful. If there are other scenarios that you’d like to explore or tips for updating QuoteWerks Documents, then please comment below and one of the team will be pleased to help you out.

Thanks,

The Hilltops IT QuoteWerks Support Team

Related Stories

See all

AI in Action: Preparing to Launch the World’s First QuoteWerks Support Chatbot

Oct 20, 2025

Last month, we shared our thoughts on the potential of Artificial Intelligence (AI) to transform software support for QuoteWerks and our ConnectIt Software range. Since then, we’ve been busy experimenting, testing, and refining our approach… and we’re now excited to announce the next step in our journey. From Concept to Reality After trialling various online […]

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

Supercharging QuoteWerks Reporting with Excel & Power BI

Oct 01, 2025

QuoteWerks is a powerful tool for creating quotes, orders, and managing customer interactions, but when it comes to reporting, many users find themselves limited by its out-of-the-box capabilities. At Hilltops IT, we believe your data should work harder for you. That’s why we’ve created a new video that demonstrates how to unlock deeper insights by […]

READ MORE