The EDI Sales Order Generation Monitor Cancel program (ED020E) writes a record to the EDI Sales Order Header Transaction file (ED140AP1) that causes the monitor to stop processing.