Clear Pending Batches from Microsoft Dynamics GP Generate EFT File Window
Views (32)

This largely works, but as the clients had been running EFT payment runs, there was a multi-year backlog of entries in the Generate EFT File window ((
)) which needed to be cleared. While it is possible to hit the generte button and have them cleared by creating the files, for some cients we were looking at hundreds of files which would need to be created.Instead I explored the database and found two tables holding entries which would need to be cleared down to remove the pending batches:
/*
Created by Ian Grieve of azurecurve|Ramblings of an IT Professional (http://www.azurecurve.co.uk)
This code is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0 Int).
*/DELETE FROM CM20202 --Checkbook Transaction Electronic Funds Transfer (CM20202)
DELETE FROM CM20203 --Checkbook EFT Transaction Batch (CM20203)
This script removes all entries from the Generate EFT File window; before running the script make sure you don’t need any of the entries, test the script on a test company or system and make sure you have a good backup before running the script on live.
Read original post Clear Pending Batches from Microsoft Dynamics GP Generate EFT File Window at azurecurve|Ramblings of an IT Professional
This was originally posted here.
*This post is locked for comments