Skip to main content
Answer

Business event not working when creating SO programmatically

  • February 14, 2022
  • 2 replies
  • 273 views

apretorius62
Freshman I
Forum|alt.badge.img

Hi

I have the BigCommerce (BC) connector.

I import Sales Orders from BC using an Order Type called EO.

I have EO type setup to go ONHOLD when created

I created a Business Event of type Record Inserted on a GI to remove the hold using an Import Scenario.

When I create EO on SO301000 screen by hand, the BE triggers fine. Within 3 seconds.

When I create EO using BC, nothing happens. The new EO appears on the GI, meaning it pics it up, but the BE never triggers.

I have seen this behavior before on other functions where a transaction that’s created programmatically DOES NOT trigger a BE.

Why is that?

Best answer by Manikanta Dhulipudi

Hi @apretorius62 

I have faced this issue to one of the customer.

When the order comes from Big commerce connector it is not triggering an email when it is hold status.

I Suggest below suggestion and it works for me

Add a condition in the business events with “ Trigger by Schedule” and add a scheduler to trigger all the Emails Every30 Mins.

Create a UDF Field Order reviewed in the sales order.

To avoid the same order triggering Multiple emails we are Updating the One User Defined field “ Order email sent” after the Email is Triggered so that the system cannot send an email a second time to the customer/Vendor/Internal Team,

Don’t forget to add a condition in the GI “ order review” is empty.

Let me know if you need BE design from my end.

Thanks

2 replies

  • Freshman II
  • July 26, 2022

A Pretorius,

Were you ever able to figure this out? I am having the exact same problem right now with a few business events. 

Edit: I am also having this issues where records are insert from the BC connector. 


Manikanta Dhulipudi
Captain II
Forum|alt.badge.img+15

Hi @apretorius62 

I have faced this issue to one of the customer.

When the order comes from Big commerce connector it is not triggering an email when it is hold status.

I Suggest below suggestion and it works for me

Add a condition in the business events with “ Trigger by Schedule” and add a scheduler to trigger all the Emails Every30 Mins.

Create a UDF Field Order reviewed in the sales order.

To avoid the same order triggering Multiple emails we are Updating the One User Defined field “ Order email sent” after the Email is Triggered so that the system cannot send an email a second time to the customer/Vendor/Internal Team,

Don’t forget to add a condition in the GI “ order review” is empty.

Let me know if you need BE design from my end.

Thanks