My Stuff
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Comments
-
'is' definitely is a valid search operator for text fields according to the reference guide. I'm using it already as a search operator in other text searches. It just seems to not accept it when searching message fields. The operator 'startswith' will not work reliably... say that I search for case numbers that start with…
-
I created a function solely to test this out... here's what I have below. Other fields are passed, but neither NLCASEHISTORY or NLCASELASTMESSAGE are populated in the resulting email body. function test_email() { var case_id = 45380; var merge_fields = new Array(); merge_fields['TEST1'] = 'TEST1'; merge_fields['TEST2'] =…
-
Yang, Thanks again for your help. You mentioned that NLCASEHISTORY will be populated as long as the 1st argument to nlapiMergeRecord() is a supportcase record; however, I was under the impression that the 1st record should be the email template that you are merging subsequent records with. Would you mind looking at the…
-
Yang- Thanks for your reply. I'm still having some trouble though... Here's what I have right now... I'm not sure why this isn't working. var message_filter = new Array(); message_filter[0] = new nlobjSearchFilter('casenumber', null, 'is', case_number); message_filter[1] = new nlobjSearchFilter('internalonly', null, 'is',…
-
Great! That works. Thanks so much for your help. I really appreciate it.
-
Thanks for your help... this seems to do what I'm looking for, but it still is not getting triggered when an existing case is updated via e-mail. My current script and deployment is below. Any idea how I can get this to be triggered when an e-mail is received on an existing case? (Note: I added a function to tell if the…
-
I'm having the same problem with nlapiSendEmail(). This is in a scheduled script which worked fine last week. All field values seem fine, but i'm getting the following in the deployment log: Function: caseFollowupSurvey Error: UNEXPECTED_ERROR Ticket: fpdij9acz3b9g01qh035 Stack Trace:…