Orphan Pending Inventory Transactions

I reviewed our Pending Inventory Transactions View today and noticed we have over 10,000 records.  Many of these are years old and probably need to be cleaned up.  Anyone have any script(s) to review this?  I looked on the knowledgebase and was unable to find anything.  Basically we have timInvtTranLog records with a status of 2 which have no records in either timPendInvtTran or timinvtTran.

Thx. John