Business Event Triggers based on GI - Notification Email Goes Out - Activity is not being logged - Any ideas on what I may have missed
I have a Business Event that Triggers off a generic Inquiry, once a day at a set time.
I want the activity to be logged under the Vendor.
If I run the report manually the activity is being logged under the vendor, when the email is generated.
When I trigger the business event using the Notifcation Template, an email is generated but the Activity is not logged to the Vendor.
Any ideas on what I am missing.
Here are the images of the notication template.
I believe the activity should be logged based on setting on the Notification Template.
The business event and Schedule are working. I am including the business event.
This is the Mail Setting in the report. Just in case this information is asked for.
Again, when I run the customer report the activity appears under the Vendor.
Any help would be appreciated.
Matt
Page 1 / 1
I think the issue is that in the report you are linking to BAccount.noteID but in the notification template you’re using BAccount.acctCD. I’ve only had luck using a noteID to link entities/activities. I would suggest changing the notification template to use NoteID and see if you have better results with that.
Thanks amit61. I tried your suggestion. It did not work. If you have any other ideas, I will try them. Matt
Add Baccount.NoteId
I am having a similar issue with cases. I want a survey to go out only for closed support cases where we have a user-defined field identifying if a survey should be sent. To accomplish this, I had to use a GI since I could not pull in and filter closed cases using an attribute field on the Business Event. The email is sending but it is not tracking the activity anywhere. I am using the Link to entity field on the Notification Template and have the ((CRCase_noteID)). I also added that field to the GI and it is still not adding the activity to the case. I have tried the CaseCD, the contacts email, and still not working.
Well, now it is working but it is sending the email notification twice and tracking the activity twice.
Thanks for Sharing. I ended up creating a development case and also a support case. Both issues have a business event involved. Email s and attachments go out but activity not recorded.
Will let you know if I hear anything. Matt
@mcraig95
I did get this working by recreating the generic inquiry with minimal tables instead of copying another GI. I did use the join on the NoteID field and it is tracking the email to the activity of the case and sending the email. I did notice, it doesn’t show in the email that it is tracked but it does show under the activity of the case.
Thanks for the information, sheilao08. I recently heard from Acumatica on those cases, I created. Will let you know how it works out. Is your business event still triggering twice? Is this because the GI has the record twice.
If so, could that be the reason? Did you try changing the business event to trigger for all records, grouped by case id.
Matt
@mcraig95 No it is no longer firing twice. The GI showed the record only once but it was firing twice. I recreated the GI with less tables. I had previously copied an existing GI and not sure if something was incorrect but once I recreated with only the support cases and contacts I was able to get it to send the email and also track the activity to the case. So all is working for me.
A couple notes:
When you want to link the email to a business account, use the bAccountID field. You may have to add this to your Generic Inquiry results.
If you link to an Entity and an Account, then two different events get created (one is attached to the case and one attached to the business account). When you view the activity stream on the business account, you may see what looks like a duplicate because the case is also linked to the business account.
Thank You Doug, We tried your suggestion and the activity was not logged. Right now the case is with Acumatica. We have tried baccountId and noteid. Will let you know when it is resolved.
I was able to get the email activity logging working. Doug of course was correct.
Shout out to Acumatica Support. ThankYou.
In context the example was Cases “Link to Account” Baccount_baccountID”
expanded to where you want it.
Use the table.baccountID to log activity.
For the AP Payment logging the email activity
The AP Vendor table had to be added to the GI , Vendor.baccountID has to be in the results.
Added to the Notification Template “Link to Account”
After that the email activity for AP Payments is logged under the Vendor.
For the AR Payment logging the email activity
Originally the business event was using screen AR302000 Payments and Applications.
In the Notification Template - Attach activity was selected.
Email activity was being logged on AR302000, under the activities button, but not logged under the Customer Account. “Link to Account” I could not seem to find Customer _BaccountID.
I am thinking it was not exposed in the Acumatica Screen and as it is in a screen I could not get it to work.
Solution on this one.
I created a generic inquiry, linked it to the business event. In the generic inquiry I added AR Customer table. Exposed Customer.BAccountID in the GI.
Used this field in the Notification Template “Link to Account”
After that the email activity for AR Payments is logged under the Customer.