xtuple/xtuple — pull request #1863 by krauseo (2014-09-22 01:55:44+00:00)
Title: 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.

I don't know why the two Enyo file commits are here. I have done nothing with Enyo or those files on my local repository, so I'm unsure why the commit process thought I changed them. I have tried the commit a couple of times on my local PC after cloning the repository and these files were included both times. Hopefully those changes are either meaningless or can be removed.