This comment is not clear. The cost of goods sold is calculated automatically by Manager by transferring the average cost of inventory items sold from Inventory on hand to Inventory - cost when a sales invoice or receipt records a sale. That average cost is determined according to purchase records and production orders for the inventory item sold. It sounds like you may be expending unnecessary effort.
No, you don’t want to do that. The only thing you ever purchase is new, clean silver. It’s average cost will be calculated by the weighted average method automatically. Its consumption will be recorded when you use a production order to create a new finished inventory item, such as a ring. In doing that, you should enter the amount actually used, not including scrap. Clean, usable scrap goes back into inventory and can be remelted for the next production order. The point here is that you are only deducting from inventory the amount of clean silver actually used in finished goods. Clean scrap, for accounting purposes, has never been withdrawn from inventory.
Dirty scrap needs to be stored separately, not as an inventory item, but as scrap that can periodically be written off through disposal/recycling/etc. Whatever you recognize from sale of the dirty scrap is the value of clean silver contained in the dirty scrap. The tricky part will be conversion of the scrap sale into equivalent units (probably grams) of clean silver. That process will not be perfect. So, periodically, you will likely need to adjust your inventory by conforming the inventory on hand to a physical stock check.
Let’s summarize with a story. Assume you only make solid cast silver rings, with 10 grams of silver each. (I have no idea if that is a reasonable amount, but it doesn’t matter.) You buy ingots of silver of 1000 grams for $1,000 each. You now have silver in stock with an average cost of $1/g.
Next, you create a production order for a ring, using 10 g of silver. But, to cast the ring, you actually melt 15 g. When the ring is cooled, you break off 5 g of flash and toss that back into the melt pot. The cost of 10 g of raw silver is transferred from an ingot to the finished ring. Now you sell the ring to someone via a sales invoice. The sales invoice transfers the $10 cost of raw silver that was added to the finished ring inventory item by the production order into Inventory - cost as the cost of goods sold.
But let’s assume you also have some dirty scrap, contaminated by solder, and also including silver filings. You can’t toss that back into the melt pot, so it all goes into a separate scrap bin. Maybe it’s a fraction of a gram from this ring. But you can’t determine exactly how much actual silver is in that scrap. So two things happen when its time for selling the scrap, after you’ve made 10 rings.
The first is that your remelter/recycler will tell you that she is paying you for 2 g of silver. You enter that in Manager as a sales invoice at the unit price given by the remelter. This sales invoice takes the cost of those 2 grams out of inventory at the same $1/g average cost. That squares the financial side. But you’ve also been assuming all the flash and filings went back into the melt pot. So the sales invoice also takes care of the 2 g of silver that never made it back to the melt pot and, therefore, wasn’t actually in inventory. (Technically, it really was, but it was hiding in your scrap bin in the form of dirty silver.)
The second thing that needs to happen is that, at the end of a month, or a quarter, or a year, you physically count all your remaining ingots of silver and weigh the contents of the melt pot. You will find that your inventory is not perfect. You’ll be off by a gram or two. So you either create a write-off if you’re short, or a journal entry (as a write-on) if you’re over.
Bottom line: inventory items only for raw, clean silver and finished rings. Scrap does not enter the picture in the Inventory Items tab. It is only a temporary repository of the raw silver item that is not suitable for adding back to the melt pot. Rigorous accounting will tell you to complete all this before the end of an accounting period, whatever that may be for you. In your situation, there is probably no reason to do it more often than annually.