The following error is happening when modifying old invoices in Netsuite:
"An unexpected error occurred in a script running on this page.
ReferenceError nlapiGETNewRecord is not defined"
- This error is due to the corresponding transaction on the Avalara AvaTax Admin Console being locked, since it has been included in a filing previously.
- Modifying the data on the Avalara AvaTax Admin Console will not be possible.
- If the data in Netsuite must be modified, you will need to change the tax item to not be AvaTax (this is not recommended).