web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Delete batch record through eConnect

(0) ShareShare
ReportReport
Posted on by 95

Is there an eConnect method to delete a batch? The batch is empty and I just want to remove the record from SY00500 gracefully.

*This post is locked for comments

I have the same question (0)
  • Andrew John Dean Profile Picture
    1,337 on at

    It is not possible to delete empty batches using eConnect.

  • Verified answer
    Saintd81 Profile Picture
    95 on at

    Thanks for the reply Andrew. I decided to use a stored proc to clear out the batch I am working with if available.

    Create PROCEDURE ASIM_RemoveEmptyBatch
    @BatchName varchar(75)

    AS
    BEGIN

    SET NOCOUNT ON;

    delete btcTable from
    SY00500 btcTable
    left outer join SOP10100 SopHdr on btcTable.BACHNUMB = sophdr.BACHNUMB
    where btcTable.BACHNUMB = @BatchName and btcTable.Series = 3 and sophdr.SOPNUMBE is null

    END
    GO

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans