It depends what you want to do with the data. You could account for "how many hot dogs do I have?" with hot dogs being an asset category, and then do accrual based accounting to model hot dogs receivable and payable.
But generally you would just charge the expense when the groceries are bought at the store.