Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Batch With No ID

Posted on by 80

We have a batch with no ID and we don't know how that batch was created.  We are unable to delete that batch.  

Does anyone know how to delete a batch without an ID?

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Batch With No ID

    Beautiful.  Worked like a charm!

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Batch With No ID

    Another option is first assign batch ID, use edit in SQL and then let the end user verify and delete from application without going through delete statement in SQL. As some company, you can not run delete statement in SQL

  • Suggested answer
    sandipdjadhav Profile Picture
    sandipdjadhav 18,265 on at
    RE: Batch With No ID

    Hi,

    Batch ID table is in company database.

    1)  First run following SQL Statment against company Database

    select *  from SY00500

    where bachnumb =''

    2)  Find Dex_Row_ID from the empty Batch and delete using following statement.

    Delete from from SY00500

    where dex_Row_ID = your number

    or you can delete all blank batches with

    Delete from from SY00500

    where bachnumb =''

    Make sure you have good backup before running any delete statement please.

    Thanks

    Sandip

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans