Stock-in-Trade represents a trading activity where goods are bought and immediately resold. Inventory = part of manufacturing
To calculate the Total Cost of Materials Consumed, you should only consider costs related to raw materials used in production. Stock-in-trade purchases are accounted for separately as part of trading activities.