Flynn Company determines that it cannot collect $8,000 of its accounts receivable from its customer, MDC. Record the journal entry required of Flynn under (a) the direct write-off method and (b) the allowance method.