---
sourceDocument: Yokohama Finance and Supply Chain
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/source-to-pay-operations

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Finance and Supply Chain

ft:clusterId :

    - stpop

bundleId :

    - stpop

workflow :

    - Employee


---

# Run fix script for exceptions

# Run fix script for exceptions {#ariaid-title1}

* Release version: Yokohama
* 
* Updated December 8, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

When you upgrade the instance from previous release to Yokohama release, you must manually execute the fix script to re-calculate the amount and quantity of invoices (which are in-process state) with Insufficient goods receipt, Insufficient amount line and
header variance logic.

## Before you begin

Role required: AP admin

## Procedure

1. Navigate to Source-to-Pay WorkspaceAllsysauto_script.LIST table.  
   The Scheduled Script Executions page appears.
2. Search for script "APM - Recalculate In-Process Invoice Amounts and Quantity".  
   The below image shows the Fix script.
3. Select Execute Now to run the fix script.

## Result

The script ensures invoices that are in-process state are re-calculated against amount and quantity as per the logic of Insufficient goods receipt, Insufficient line and header amount variance.
**Related concepts**   

* [Invoice exceptions](https://servicenow-prod.fluidtopics.net/IyXgSahnO3KZN8nsBjtBXw "Invoice exceptions are discrepancies identified during invoice processing that must be resolved before payment, such as missing information, tax variances, or supplier issues.")

*[\>]: and then


