In recording the cost of merchandise sold for cash, based on data available from perpetual inventory records, the journal entry is.