This depends on the type of business you operate. Typically, any raw materials or production inventory is classed as a purchase, just the same as the finished goods inventory you purchased from a supplier. For example, the former would be more likely for a manufacturing company, while the latter is generally a retail function.