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

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

To AI or not to AI, That is the Question

Sep 29, 2025

When I started to write this article, I hadn’t really anticipated what a ‘can of worms’ it was going to open for me – how far my mind would wander, how may rabbit holes there are to explore, and ultimately how long it was going to turn out! For those of you prospective readers that […]

READ MORE