Anyone know how to trigger a custom event after internal order is created?

Anyone know how to trigger a custom event after internal order is created?
Best answer by WMCMARSEGLIA
Hey William,
Thank you so much for replying, I really appreciate it. I see what you’re saying and I’ve attempted to put all that together. Unfortunately, I’m running into a road block below. Would you happen to have any suggestions?
Unfortunately, I can’t use CUSTOMER_NO, because it’s always the same from that site (site 0). I’m attempting to get back to the External Customer or External Customer Order by the api below, but I keep running into the requirement of the PO LINE_NO and RELEASE_NO.
CUST_ORD_CUSTOMER_API.Get_Priority(customer_no_ => CUSTOMER_ORDER_API.Get_Customer_No(order_no_ => PURCHASE_ORDER_LINE_PART_API.Get_Demand_Order_No(order_no_ => &OLD:CUSTOMER_PO_NO,line_no_ => '1',release_no_ => '1')))
OR
CUSTOMER_ORDER_API.Get_Priority(order_no_ => PURCHASE_ORDER_LINE_PART_API.Get_Demand_Order_No(order_no_ => &OLD:CUSTOMER_PO_NO,line_no_ => '1',release_no_ => '1'))
Would you happen to know another way? Should I be using CUSTOMER_ORDER_LINE for an event LU?
Thank you for any help, very much appreciated,
Mike
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.