Reconciliation ends with "Partially completed" and a TypeError because the SamLicenseCalculator script include is an older version.Issue A Software Asset Management Professional reconciliation ends with the status Partially completed, even though the progress step shows "Reconciliation Complete" Symptoms 1. Records in samp_recon_task_queue are not completed. 2. The reconciliation progress summary shows TypeError: Method "toString" called on incompatible object (org.mozilla.javascript.NativeObject is not an instance of org.mozilla.javascript.BaseFunction). 3. Upgrading the Software Asset Management application does not fix it. Release Seen on Software Asset Management (sn_itam_samp) version 4.1.4. Cause The SamLicenseCalculator script include on the instance is an older version, and its Replace on upgrade flag was not set to true. As a result, upgrades did not overwrite the file with the latest out-of-box (OOB) version. Resolution 1. Go to Customer Updates, find the SamLicenseCalculator record, and set Replace on upgrade to true. 2. Re-run reconciliation and confirm that it completes. Related Links Software reconciliation for compliance: https://www.servicenow.com/docs/r/it-asset-management/software-asset-management/c_SAMReconciliation.html