# Job Manage Utility Fix

**<span class="ts112">Update quotes to exclude Reports flag on that are marked as prepriced</span>**

<span class="ts12">This flags the quotes with the Exclude from Reports tick box</span>

<span class="ts12">In each of the first query, you need to note the quote numbers to update</span>

<span class="ts12">Rules</span>

<span class="ts12">Only sub quotes with . numbers are applicable</span>

<span class="ts12">Any quotes that have the Charge up and prepriced ticked are excluded</span>

<span class="ts12">Any quotes that have the prepriced ticked and not the charge up tick are eligible for the query update.</span>

<span class="ts12">Run query for each quote that means the condition</span>

**<span class="ts112">Update Job lines that are CTC with sell value and set to zero</span>**

<span class="ts12">This sets CTC lines that have a selling value to zero for both job lines and job history lines</span>

<span class="ts12">The second query checks for any job lines that are marked as CTC and have a sell price in them.</span>

<span class="ts12">If any are found, then tick the box to run the queries</span>

<span class="ts12">There are two queries to run for the job</span>

**<span class="ts112">Set Invoice lines that are marked as CTC with sell value to SC for Usage invoice only</span>**

<span class="ts12">This changes usage invoice lines that are CTC which have a sell value to SC line</span>

<span class="ts12">It also sets the SC line to display quantity based on quantity to sell</span>

<span class="ts12">This is to ensure that the invoice displays the correct lines to match to the total of the invoice</span>

<span class="ts12">The third query</span>

<span class="ts12">This is specific to only usage invoices on this job</span>

<span class="ts12">In order to active the check button, one must select an invoice to update which searches for usage invoices only linked to this job</span>

[![image.png](https://hugeerp10.co.za/hsofmanual/uploads/images/gallery/2026-04/scaled-1680-/Qtlimage.png)](https://hugeerp10.co.za/hsofmanual/uploads/images/gallery/2026-04/Qtlimage.png)