We are on csd. We send orders to sxe using /sxapioefullordermntv6. Can we send an acknowlegment or send the Sync.SalesOrder to the customer by email as soon as the order gets created using ion, api or else ?
You can let SX publish the Sync.SO to ION. And you can create an Event Monitor in ION with a condition - Document = Sync.SalesOrder and status = new (This is usually signified by Action code="add", I think..!?or you can check what field qualifies it to be a new document and use it in your condition); When this document arrives in ION, the alert would be triggered. And you can also send it as an email by defining a distribution list in the alert modelling.
ok but can you send the sync.salesorder as an attachment ?
No, But you can extract all the fields of interest from that SO and include it in your document. So essentially you can create a "view" of your SO on the email. And on your ION alerts, you can also provide a drill back link which takes the user back to CSD where they can view the SO.
If you want to include the whole document, then you may consider doing this via an SMTP API (if any) provided by your email service. IN that case, you can register your API in the gateway. And in ION doc flow you can send it to an ION API and include the doc as an attachment (subject to the external API supporting such attachments).
ok thks, I will see what I can do.
Just an idea. When the event monitor returns BOD to ION, you can read the event monitor output and use it to make an API call sxapisasubmitreport to run OERD or OEEPA with the customers email. I suspect sxapisasubmitreport creates an SAPB record.