2
In some data corrupted scenario, pending vendor invoice is locked, Table: VendInvoiceInfoTable has parmID, while no record exists in the Table: PurchParmUpdate.

And the user could not find this locked pending vendor invoice from the "Recover vendor invoice" form, due to the query for the "Recover vendor invoice" form is:

FROM VENDINVOICEINFOTABLE T1 CROSS
JOIN PURCHPARMUPDATE T2
WHERE (((T1.PARTITION=xxxxxx)
AND (T1.DATAAREAID=N'xxxxx'))
AND
NOT ((T1.PARMJOBSTATUS=0)))
AND (((T2.PARTITION=xxxxxxx)
AND (T2.DATAAREAID=N'xxxxx'))
AND (T1.PARMID=T2.PARMID))
STATUS DETAILS
Inactive