On updation of record Getting this error message "...
# general
e
On updation of record Getting this error message "Please enter value(s) for: PO #" Type: Scheduled Function: execute Error: USER_ERROR {"type":"error.SuiteScriptError","name":"USER_ERROR","message":"Please enter value(s) for: PO #", what is this error means,? where is PO # field? here is the code of SuiteScript 2.0: 62. customTransactionSearch.run().each(function (result) { 63. var internalId = result.id; 64. // Load sales order record with above internal id 65. var salesOrderRecord = record.load({ 66. type: record.Type.SALES_ORDER, 67. id: internalId, 68. isDynamic: true 69. }); 70. // Set Reference No 71. salesOrderRecord.setValue({ 72. "fieldId": "magento_refference_id", 73. "value": ''111-abc'' 74. }); 75. // Update sales order record 76. salesOrderRecord.save(); 77. log.debug('Success', 'Reference No Updated Successfully'); 78. return true; 79. });