Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Copying Messages Between Cases
I was wondering if it's possible to copy a list of messages from 1 case to another?
If so, does it have to be a userevent script?
I was beginning a client script then I realized that when I was going to start creating new messages it may not be possible in client scripts.
function MergeClicked() { var newType = nlapiGetRecordType(); var caseInternalID = nlapiGetRecordId(); var MERGE_FORM =32; if (nlapiGetFieldValue('customform')) { var caseToMerge = nlapiLoadRecord('supportcase',caseInternalID); // {recordmode: 'dynamic'} var currentForm = nlapiGetFieldValue('customform'); var caseToMergeNumber = nlapiGetFieldValue('casenumber'); // If the Merge button is pressed from a regular case form if (currentForm != MERGE_FORM) { alert('Switching to merge form'); // Create a new URL in order to go to the new record var newURL = ' 0