Write trans_type T on in-store coupon (trans_subtype IC) records
and write trans_type S on discount (upc=DISCOUNT) records. The dlog
views currently provide this but there's no good reason for this
odd little quirk where these records are altered on the fly via
views. The purpose of dlog should be merely to filter out canceled
and testing transactions not change any values.