Order Cancellation Email Program (K78)

Purpose: Use this screen to specify the program that generates the confirmation email when an order is canceled.

System name field: Enter the name of the program to generate confirmation emails to customers when the background jobs process order cancellations. The base program is ORDCANNOTF.

For more information: See Order Cancellation Confirmation Email Sample and Contents.

Outbound email API: CWSerenade generates a generic outbound XML message, rather than an actual email, for an order cancellation confirmation if the XML only flag for the order cancellation template is selected and this system control value is not blank. The Outbound Email XML Message (CWEmailOut) includes additional information that is not included in the standard email notice. You might choose to generate the XML message so that you can use the additional information to produce a reformatted HTML email and include promotional information.

For more information: See Outbound Email API for an overview and message details.

Order vs. order line cancellation: The system generates this email only if there are no open lines remaining on the order and there have not been any previous shipments. See the Order Line Cancellation Email Program (K79) for information on generating a confirmation for cancellation of individual order lines.

Suppressing the cancellation confirmation: If the cancellation reason code used to cancel the order (or the remaining lines on the order) matches the Cancel Reason Code to Suppress Email (L08) system control value, the system does not generate the confirmation email. See that system control value for more information.

Company-level or entity-level email template? The system generates an email using the text from the order cancellation confirmation email template, set up through the Working with E-Mail Notification Templates (WEMT) menu option. You can also set up an email template at the entity level as an override; see Email Setup within CWSerenade for more information.

Determining when to email an order cancellation confirmation: See When Does the System Generate an Email Notification? for an overview.

The system generates an order cancellation confirmation email or Outbound Email XML Message (CWEmailOut) only if the customer’s Opt in/Opt out field is set to O1 or O2, and the customer has an Email address.

Leave this field blank if you do not want to email an order cancellation confirmation or generate the Outbound Email XML Message (CWEmailOut).

IN03_08 OROMS 5.0 2018 OTN