Discussions
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Can Not Set Check Number (tranid) using script
I have created custom record
I am entering data in this custom record. There is user event script written aftersubmit event.
After submitting custom record, i am creating Write check record through script, bt its not allowed me to set Check(tranid) field. Getting error - ReferenceError: "value" is not defined. (NLRecordScripting.fieldChange.f.tranid#3)
I think using script we can not set check (tranid) field...... Is it?
For information please refer my code also
function CreateWriteCheckEntry()
{
//Begin: Getting details form custom record
var headerAcc = nlapiGetFieldValue('custrecord_txn_entry_import_acc');
var vendorId = nlapiGetFieldValue('custrecord_txn_entry_import_payee');
var headerMemo = nlapiGetFieldValue('custrecord_txn_entry_import_memo');