Nicholas Williams
02/10/2023, 2:35 PMInvalid country reference key undefined.
mightyd3
02/10/2023, 2:42 PMNicholas Williams
02/10/2023, 2:42 PMmightyd3
02/10/2023, 2:46 PMNicholas Williams
02/10/2023, 3:00 PMNicholas Williams
02/10/2023, 3:10 PM{
"type": "error.SuiteScriptError",
"name": "INVALID_KEY_OR_REF",
"message": "Invalid country reference key undefined.",
"stack": [
"Error\n at RecordInvoker.save (suitescript/resources/javascript/record/serverRecordService.js:371:13)\n at NetSuiteObject.thenableFunction() (suitescript/resources/javascript/record/proxy.js:115:24)\n at Object.invoice (/SuiteBundles/Bundle 390672/DC - PL - Work Order Invoicing.js:1149:48)\n at Object.map (/SuiteBundles/Bundle 390672/DC - MR - WO - Invoicing.js:52:29)"
],
"cause": {
"type": "internal error",
"code": "INVALID_KEY_OR_REF",
"details": "Invalid country reference key undefined.",
"userEvent": null,
"stackTrace": [
"Error\n at RecordInvoker.save (suitescript/resources/javascript/record/serverRecordService.js:371:13)\n at NetSuiteObject.thenableFunction() (suitescript/resources/javascript/record/proxy.js:115:24)\n at Object.invoice (/SuiteBundles/Bundle 390672/DC - PL - Work Order Invoicing.js:1149:48)\n at Object.map (/SuiteBundles/Bundle 390672/DC - MR - WO - Invoicing.js:52:29)"
],
"notifyOff": false
},
"id": "",
"notifyOff": false,
"userFacing": true
}
erictgrubaugh
02/10/2023, 3:12 PMafterSubmit
User Event in whatever Bundle has ID 390672
. A failure in afterSubmit
occurs after the record has been createdNicholas Williams
02/10/2023, 3:17 PMNicholas Williams
02/10/2023, 3:19 PMNicholas Williams
02/10/2023, 3:55 PM