AP Joint check for subcontract invoice with retainage

SOLVED

We have a client with many subcontracts that have retainage and require joint check.  The issues is the joint check recipient should not be included in retainage when paid.  Don't want to have to manage every invoice.  Any ideas?