Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Bulk delete deposits in DynamicGP checkbook using SQL?

(0) ShareShare
ReportReport
Posted on by

Due to an error with our implementation of eConnect, we have a bit over 500 duplicate deposits in one of our checkbooks.  Does anyone know of a SQL script or a method to bulk delete or void deposits?  The deposit numbers are in a continuous range.  Could this be done by executing a SQL delete statement against one or more tables or is the only solution to manually void the deposits?

*This post is locked for comments

  • Bill Campbell Profile Picture
    12 on at
    RE: Bulk delete deposits in DynamicGP checkbook using SQL?

    As suggested by the others on the forum, it is better than deleting from SQL - it forces the system to follow the rules and takes care to make sure all the related data is removed and accounted for correctly.

    Good luck.

  • Community Member Profile Picture
    on at
    RE: Bulk delete deposits in DynamicGP checkbook using SQL?

    Thank you for your input.  I looks like the system generated a JE for each of the 500 deposits.  I will pursue creating a macro to void the entries.  My C.P.A. who is our tech support for DynamicsGP also recommends creating a macro.  

  • Suggested answer
    Bill Campbell Profile Picture
    12 on at
    RE: Bulk delete deposits in DynamicGP checkbook using SQL?

    Mahmoud, the reason I was looking for more details on the data was to ensure that they client looks at all possible data locations and not just the Deposit Work tables.

    If a macro can be created and run easily that is the direction I would also take.  I want to explore other details.

  • Suggested answer
    Mahmoud Saadi Profile Picture
    32,738 on at
    RE: Bulk delete deposits in DynamicGP checkbook using SQL?

    I would not recommend the SQL method to get them removed from your Dynamics GP. Additionally, you should look for other factors which could have possible went wrong.

    The macro is the safest, yest easiest way to get this done.

    Never hesitate to share any further inquiries,

  • Bill Campbell Profile Picture
    12 on at
    RE: Bulk delete deposits in DynamicGP checkbook using SQL?

    Jeff when the deposits were recorded by eConnect did they update other places in Finance such as the GL - did they create the JE for each of the deposits or were you just forcing the detail to the bank reconciliation and not to the rest of the GL?

  • Verified answer
    Justin Thorp Profile Picture
    2,265 on at
    RE: Bulk delete deposits in DynamicGP checkbook using SQL?

    Hi Jeff,

    My suggestion would be to record a macro to delete the deposits.  Please try to this a test system before implementing on live.

    Start by recording a macro of you voiding 2 deposits.  Then open this file in notepad.  You should be able to see the appropriate syntax of the macro and from this...add the remaining 498 deposits.

    Then replay the macro.

    Thanks,

    Justin

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans