A __________ inventory system updates the inventory account each time a sale or purchase is made, whereas a inventory system calculates cost of goods sold and ending inventory at the end of the reporting period.