Resolve error "You have entered an Invalid Field Value XXX for the following field: tax1acct" when create customer payment
Published on
September 25, 2023 at 8:12:40 AM PDT September 25, 2023 at 8:12:40 AM PDTth, September 25, 2023 at 8:12:40 AM PDT
Applies To
Transactions > Payables > Pay Single Vendor
Transactions > Payables > Pay Bills
Scenario
When save the customer payment with undue tax, the error is encountered.
{
"type": "error.SuiteScriptError",
"name": "INVALID_FLD_VALUE",
"message": "You have entered an Invalid Field Value 211 for the following field: tax1acct",
"id": "",
"stack": [
"Error\n at RecordInvoker.setCurrentSublistValue (suitescript/resources/javascript/record/serverRecordService.js:411:5)\n at NetSuiteObject.thenableFunction() (suitescript/resources/javascript/record/proxy.js:115:24)\n at Object.afterSubmit (/SuiteBundles/Bundle 413472/src/rapid_tht_ue_thaitax.js:513:40)"
],
"cause": {
"type": "internal error",
"code": "INVALID_FLD_VALUE",
"details": "You have entered an Invalid Field Value 211 for the following field: tax1acct",
"userEvent": null,
"stackTrace": [
"Error\n at RecordInvoker.setCurrentSublistValue (suitescript/resources/javascript/record/serverRecordService.js:411:5)\n at NetSuiteObject.thenableFunction() (suitescript/resources/javascript/record/proxy.js:115:24)\n at Object.afterSubmit (/SuiteBundles/Bundle 413472/src/rapid_tht_ue_thaitax.js:513:40)"
],
"notifyOff": false
},
"notifyOff": false,
"userFacing": true
}
Course
Sales tax account (VAT Liability TH) cannot be selected in the journal entry.
Solution
- Go to Setup > Accounting > Tax Control Accounts
- Create new tax account.
- Go to Setup > Accounting > Tax Types
- Change LIABILITY/SALES TAX ACCOUNT to the new tax account.