Bill He
08/30/2023, 11:28 PMClay Roper
08/31/2023, 12:06 AMCD
08/31/2023, 6:43 AMBill He
09/18/2023, 3:31 AMClay Roper
09/18/2023, 2:00 PMBill He
09/18/2023, 2:15 PMrecord.create({ type: "transfer", isDynamic: true, });
The specific error is
{\"type\":\"error.SuiteScriptError\",\"name\":\"INVALID_OPERATION\",\"message\":\"That operation is not supported for this record type: transfer\",\"id\":\"\",\"stack\":[\"Error\n at suitescript/resources/javascript/record/recordImpl.js:40:12\n at Function.createRecord_raw (suitescript/resources/javascript/record/recordImpl.js:38:24)\n at suitescript/resources/javascript/record/recordImpl.js:26:29\n at Object.createRecord (suitescript/resources/javascript/record/recordImpl.js:24:24)\n "],\"cause\":{\"type\":\"internal error\",\"code\":\"INVALID_OPERATION\",\"details\":\"That operation is not supported for this record type: transfer\",\"userEvent\":null,\"stackTrace\":[\"Error\n at suitescript/resources/javascript/record/recordImpl.js:40:12\n at Function.createRecord_raw (suitescript/resources/javascript/record/recordImpl.js:38:24)\n at suitescript/resources/javascript/record/recordImpl.js:26:29\n at Object.createRecord (suitescript/resources/javascript/record/recordImpl.js:24:24)\n "],\"notifyOff\":false},\"notifyOff\":false,\"userFacing\":true}
Clay Roper
09/18/2023, 2:17 PMsearch.create({ type: "transfer" })
but your error is about creating a record. Did you mistype the first part?Bill He
09/18/2023, 2:17 PMBill He
09/18/2023, 2:18 PMBill He
09/18/2023, 2:18 PMClay Roper
09/18/2023, 2:21 PMBill He
09/18/2023, 2:40 PM