Which of the following entries would be made to record the purchase of inventory on account, if a company uses the perpetual inventory system?
A) a debit to Accounts Payable and a credit to Purchases

B) a debit to Accounts Payable and a credit to Merchandise Inventory

C) a debit to Merchandise Inventory and a credit to Accounts Payable

D) a debit to Purchases and a credit to Accounts Payable