added if to UNSUCESSFUL to check for presents of "-" suffix of unsuccesful type (i..e UNSUCCESSFUL-cart not out). Allow for adding the d reason description to the back office.