Zoran R-DATAGRAM
03/18/2024, 1:47 PMconst newBillID = newBill.save();
const sublistID = 'recmachcustrecord_levi9_rent_sublist_id';
newRecord.selectNewLine({sublistId: sublistID}); // Select a new line on the custom sublist
newRecord.setCurrentSublistValue({sublistId: sublistID, fieldId: 'custrecord_levi9_rent_sublist_bill', value: newBillID});
newRecord.commitLine({sublistId: sublistID}); // Commit the new line
return newBillID;
That's why I am trying to return newBill internal ID from workflow action. The client would like to be redirected (Go to Record action) to the new created Bill.
I store the result from workflow action script into workflow field (screenshot)
The next step is Go To Record and ID should be value from workflow field (screenshot) (edited)
But, NetSuite open form with Create New BILL … Any idea how to realize
• workflow action creates a transaction
• id is returned from workflow action script
• NetSuite go to record (existing new bill)battk
03/18/2024, 4:09 PMbattk
03/18/2024, 4:09 PMChris Mercer
03/18/2024, 5:42 PMZoran R-DATAGRAM
03/18/2024, 6:14 PMbattk
03/18/2024, 9:01 PMbattk
03/18/2024, 9:02 PMbattk
03/18/2024, 9:06 PMbattk
03/18/2024, 9:06 PMbattk
03/18/2024, 9:07 PMbattk
03/18/2024, 9:08 PMbattk
03/18/2024, 9:10 PMZoran R-DATAGRAM
03/19/2024, 10:29 AMZoran R-DATAGRAM
03/19/2024, 11:09 AMZoran R-DATAGRAM
03/19/2024, 11:09 AMZoran R-DATAGRAM
03/19/2024, 11:10 AM