Currently, inactivating a GL account only limits manually selecting that account from the account drop down when entering the invoice. It does not prevent using it if a vendor has a default GL account entered on the vendor record; the default will still populate and post when entered in AP. There is no way to filter the AP vendors to look for records that have defaults, much less search by GL account number.