Order Line Cancellation Email Program (K79)

Purpose: Use this screen to specify the program that generates a confirmation email when one or more items on an order is canceled, but at least one line on the order remains open or has been shipped.

System name field: Enter the name of the program to generate the confirmation email to a customer when the background jobs process an order cancellation. The base program is ORDLCANOTF.

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

Outbound email API: Order Management System generates a generic outbound XML message, rather than an actual email, for an order line cancellation confirmation if the XML only flag for the order line 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.

If the entire order is canceled: The system generates this email only if there at least one open or held line remaining on the order or if a shipment has already taken place. See the Order Cancellation Email Program (K78) for information on generating a confirmation for cancellation of the entire order, or the last remaining open line(s) if there has not been a shipment.

Suppressing the cancellation confirmation: If the cancellation reason code used to cancel the order line matches the Cancel Reason Code to Suppress Email (L08) system control value, the system does not generate the confirmation email; or, if multiple cancel reason codes are used in a single order maintenance session, any order lines canceled using that cancel reason are omitted. 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 line 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 Order Management System for more information.

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

The system generates an order line 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 line cancellation confirmation or generate the Outbound Email XML Message (CWEmailOut).

IN03_08 OMSCS 19.0 December 2019 OHC