We recently upgraded to NetSuite OneWorld with Sui...
# suitescript
d
We recently upgraded to NetSuite OneWorld with SuiteTax. Our accountant advised switching from legacy tax codes (
Setup > Tax > Tax Codes
) to the new SuiteTax Engine (STE) tax codes. Currently, our existing housing invoices and my SuiteScript code reference the legacy tax codes:
Copy code
invoice.setCurrentSublistValue({
    sublistId: 'taxdetails',
    fieldId: 'taxcode',
    value: 37818 // References legacy tax code list
});
How do I update my SuiteScript or NetSuite configuration to reference the new STE tax code list instead of the legacy list?