Question

Business Event -> trigger Action :Email Shipment" on Shipment Confirmed

  • 5 April 2024
  • 4 replies
  • 42 views

Userlevel 3
Badge

I am trying to automate the send of Shipment Confirmation emails when a shipment is confirmed.

I have a business event set up - it triggers on the shipment status change to “Confirmed”. So, that part works.
I have an Action Execution set up as the subscriber - this runs but fails with the error “Object reference not set to an instance of an object”

How to I track down the cause of this error?
Are there any tutorials on how to accomplish what I am attempting?
Is there a better way to accomplish what I am attempting?


4 replies

Userlevel 3
Badge

@rcreasy I am running into the same error when trying to use the trigger by action to prepare invoice for confirmed shipments. I was hoping someone had supplied an answer, but no luck.

Did you get the error resolved?

Userlevel 7
Badge +9

Hi @rcreasy  and @meagan59 , Try the below Business Event steps with Record Change instead of the Action.

  • Create a Generic Inquiry to Show all the Confirmed Shipments

 

Generic Inquiry output

  • Create a Business Event for Record Change as shown below:
  • Trigger Conditions


​​​​​​
  • Subscribe Email Notification
  • Email Notification configurations

 

 

  • Confirming a Shipment will trigger the email, as show in the ”All Emails” screen.

 

Please wait. will shortly upload the GI , and Business Events here.

Userlevel 7
Badge +9

Hi @rcreasy and @meagan59 Please find the attached GI and Business Events that you can import to your Generic Inquiry and Business Events screens respectively using the “Import from XML” options.
Kindly verify in a local instance before trying on production.

ConfirmedShipments (1).xml - Generic Inquiry

SendMailonShipConfirm.xml - Business Event

Shipment Confirmation.xml - Email Template

 

Userlevel 7
Badge +9

Hi @rcreasy and @meagan59 Kindly verify and let us know for any additional queries here.

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved