Issue #23510 - prevent incorrect payment of voided selected voucher

There are two issues here. First, the Selections tab on the Payables workbench is not checking the apopen_field to ensure that it only display apopen items that are actually open. The change to apopenitems-selecteditems MetaSQL addresses that. Second, and more important, the voidapvoucher(integer,integer) function does not delete any apselect approval records that exist for the apopen item being voided. The change to voidapvoucher(integer,integer) function addresses that. Once these changes are applied, the voided item no longer shows in the Selections tab, and the check run does not include the voided item because the approval record no longer exists.