Hi All, I have a saved search that sends an email ...
# general
j
Hi All, I have a saved search that sends an email when a transaction is created/updated (Cash Sale, Customer Deposit or Customer Payment). The email is sent with no issues when the transaction is created/updated by a User. The problem comes when the payment record is created/updated by "System" through a script. No email is sent when the payment record is created/updated in this case. Is there a restriction on sending emails when a record is created/updated via script? If so, does anyone know of a way to work around this?
s
you want to check the context or just add system notes..context - all
j
where would i update the context? this is a saved search and i dont see anything for context.
s
Add system notes fields…. (Join) context in your results and see if you are seeing any weirdness
j
context is empty when added to the saved search results.
s
Is there a workflow or scrip running on the record? You can see that in customizations > scripting > scripted record
j
this is for a payment received outside of netsuite. i have a script that pulls the record in and creates the payment in netsuite.
s
another thing I should have asked was can you see that transaction on the saved search?
j
yes. the transaction does show in the saved search. the saved search also shows it ran as System, but no email is sent.
s
Are you sending emails to specific user or recipients from results
j
the email is going to my username in NetSuite as an employee.
s
if the transaction showed up in the search, it should send the email. you can try oracle user group on SuiteAnswer if you like before going to NS Support, looks like you are doing everything right but then i will need to look at your search in order to tell you more.
👍 1