James Company began the month of October with inventory of $32,000. The following inventory transactions occurred during the month:a. The company purchased merchandise on account for $47,500 on October 12, 2016. Terms of the purchase were 1/10, n/30. James uses the net method to record purchases. The merchandise was shipped f.o.b. shipping point and freight charges of $670 were paid in cash.b. On October 31, James paid for the merchandise purchased on October 12.c. During October merchandise costing $20,550 was sold on account for $31,400.d. It was determined that inventory on hand at the end of October cost $59,145.