Answer:
the journal entries used to record this transaction are:
Dr Accounts receivable 400
Cr Sales revenue 400
Dr Cost of goods sold 160
Cr Inventory 160
This transaction will increase net income, which increases retained earnings by $240. It will also increase assets by $240, since accounts receivable increases by $400, but inventory decreases by $160.