---
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 to update the KPI weighted score field in the KPI score table

# Run fix script to update the KPI weighted score field in the KPI score table {#ariaid-title1}

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

Run this fix script to update the KPI weighted score field values (from integer to decimal type) in the KPI score table (sn_kpi_score) after the March 2026 Yokohama release.

## Before you begin

Role required: admin

After the upgrade, the old field Weighted score is replaced by KPI weighted score field in the KPI score (sn_kpi_score) table.

With the updated decimal type KPI weighted score field, all performance scores are calculated in decimal up to three decimal places.

## Procedure

1. Navigate to AllSystem DefinitionFix Scripts.
2. Search for the Backfill KPI Weighted Score script.
3. Open the fix script record.  
   Note:  
   In the Script field, the batch size variable is set to 10000. If there are more than 10000 KPI records, you can do one of the following:
   * Run the fix script repeatedly until all active records are checked and copied.
   * In the Script field, set the batch size variable to a number equal to the number of KPI records in your instance and select Update.
   {#run-fixscript-update-kpi-weighted-score__ul_zhm_ppv_12c}
4. Select Run Fix Script.
**Related concepts**   

* [Processing the skipped supplier catalog item records after upgrade](https://servicenow-prod.fluidtopics.net/tclJpvmd1~TUffB8ivvPtQ "After you upgrade to Yokohama, the latest supplier catalog items may get skipped and therefore may not be available after the upgrade.")  
**Related tasks**   

* [Run fix script to update the Aggregation method field in the KPI table](https://servicenow-prod.fluidtopics.net/H3A9Y64efsKYBPdT9LFnLg "Run this fix script to update the new fields added in the KPI table (sn_kpi_kpi) after the May 2025 Yokohama release.")
* [Run fix script to update the KPI Instruction field in the Supplier Task table](https://servicenow-prod.fluidtopics.net/uYeTr1fLsaquN~naJqCVQw "Run this fix script to update the new field KPI Instruction added in the Supplier Task (sn_slm_task) table in the Yokohama release.")
* [Run fix scripts to enable Automated KPI collection](https://servicenow-prod.fluidtopics.net/CBy58oIDUstjDURtzncg2w "Run the fix scripts to enable the Automated KPIs feature that automatically calculates KPI data from database tables instead of manually entering values.")
* [Run fix script to migrate existing data from the deprecated Action type column after upgrade](https://servicenow-prod.fluidtopics.net/BeqW~SSd7MvZnkNL8rtoIA "In the May Store 2024 release, the Action type column in the Supplier Task (sn_slm_task) table has been deprecated.")
* [Run fix script to use the Supplier Manager Workspace after upgrading to the Yokohama release](https://servicenow-prod.fluidtopics.net/gkf0T4RE06VFEiIo21sxdg "After upgrading to the Yokohama release, you can see only the Source-to-Pay Workspace on the All navigation tab. You don't have to do anything if you choose to continue to use the Source-to-Pay Workspace.")
* [Enable deprecated case types after upgrade](https://servicenow-prod.fluidtopics.net/qbW98GqNMvFjKF1ubCTpsw "After you upgrade to Yokohama, you can enable deprecated case types if you have the admin role.")

*[\>]: and then


