All parts should be entered into the Inventory Asset account in QBO, 110: Inventory, when the purchase is made, regardless of whether it is truck stock, a customer part to be used right away or a warranty part. This can be done as a Bill, Check or Expense as long as the account used on the Account Details line is 110: Inventory.
At the end of each month, run the turns report from the Owners Dashboard to determine the total cost of parts used on jobs for that month. This report shows all of the parts that were used on work orders in REVIEWED status during the selected time frame.
In QBO, do a Journal Entry to move the Cost of parts used from the Inventory account (110) to the Materials Cost account (501.2)