Jan Krejcik
07/24/2024, 10:34 AMconst bankDetails = record.load({
type: 'customrecord_2663_entity_bank_details',
id: '1604',
isDynamic: true
});
Also tried search but result is empty.
const bankDetailsSearch = s.lookupFields({
type: 'customrecord_2663_entity_bank_details',
id: '1604',
columns: [
'name',
'custrecord_2663_entity_iban'
]
});
Anyone would have idea why please?Ganesh
07/24/2024, 12:54 PMJan Krejcik
07/24/2024, 12:57 PM{
"type": "error.SuiteScriptError",
"name": "RCRD_DSNT_EXIST",
"message": "That record does not exist.",
"id": "1604",
"stack": [
"Error\n at suitescript/resources/javascript/record/recordImpl.js:96:12\n at Function.loadRecord_raw (suitescript/resources/javascript/record/recordImpl.js:94:24)\n at suitescript/resources/javascript/record/recordImpl.js:82:27\n at Object.loadRecord (suitescript/resources/javascript/record/recordImpl.js:80:24)\n at Object.beforeLoad (/SuiteScripts/EITUM/Testing/eitum_jan_ue_test.js:43:40)"
],
"cause": {
"type": "internal error",
"code": "RCRD_DSNT_EXIST",
"details": "That record does not exist.",
"userEvent": null,
"stackTrace": [
"Error\n at suitescript/resources/javascript/record/recordImpl.js:96:12\n at Function.loadRecord_raw (suitescript/resources/javascript/record/recordImpl.js:94:24)\n at suitescript/resources/javascript/record/recordImpl.js:82:27\n at Object.loadRecord (suitescript/resources/javascript/record/recordImpl.js:80:24)\n at Object.beforeLoad (/SuiteScripts/EITUM/Testing/eitum_jan_ue_test.js:43:40)"
],
"notifyOff": false
},
"notifyOff": false,
"userFacing": true
}
Ganesh
07/24/2024, 1:05 PMGanesh
07/24/2024, 1:05 PMconst bankDetails = record.load({
type: 'customrecord_2663_entity_bank_details',
id: 1604,
isDynamic: true
});
Jan Krejcik
07/24/2024, 1:29 PMGanesh
07/24/2024, 2:28 PMJan Krejcik
07/24/2024, 2:53 PMGanesh
07/24/2024, 2:58 PM