AP NOCHA file has incorrect transaction code

Issue No: GL-6695
Created 10/2/2018 11:57:54 AM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   *Step to reproduce:*   # Create and post Voucher ## Bank account: Bank account 1 ## Vendor: Vendor A ## enter billed 100 ## cost 1 # Create and post Debit memo ## Bank account: Bank account 1 ## Vendor: Vendor A ## enter billed 2 ## cost 1 # Create payment for vendor A ## Select Voucher and debit memo above ## payment method ACH # Post payment # process payment and generate ACH   *Issue:*     [HDTN-218895 - PGP i21Purchasing NCAHA file creating wrong for 1 Vendor need to know WHY ASAP|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-218895]     There are debit memos on this check, however, the file generated made it a 627 vs 622. There are more vouchers than debit memos. This should by 622.   !pastedImage_d105808_0.png!       !pastedImage_d105808_1.png!       *Accepted:*   From the sample screen shot above, should be 22 Credit to Checking Account since Voucher is greater than the debit memo total     Transaction code = 22 , Credit to Checking Account Transaction code = 27 , Debit to Checking Account Transaction code = 32 , Credit to saving Account Transaction code = 37 , Debit to saving Account