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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Deleting Blank Batch ID

(0) ShareShare
ReportReport
Posted on by

Hello:

In researching a separate issue, I ran check links on Financial's "Transaction Work".  This created a blank batch ID.  Running Financial Reconcile per the error report's instructions afterward yielded no effect.

This blank batch ID is in the SY00500 table.  There are no journal entries in GL10001 showing blank batch IDs.

There are several journal entries, however, in the GL10000 table showing blank batch IDs.  Only one of these nine journal entries shows up in SmartList.  This one journal entry has a DEX_ROW_TS field of today's date (04/05/2016). 

SmartList shows no TRX Date or Batch Number for this journal entry.  When I try to double-click on it in SmartList, I get a message saying that this journal entry has been entered in another window.  One of the account numbers is described as an intercompany account.  Perhaps, it comes from that module.  I don't know.

In any case, so I can get rid of this blank batch ID and not have check links recreate it every time that check links is run, I want to know the safest way of getting rid of these journal entries.  Shall I simply delete them from the GL10000 table with a script saying "delete ... where BACHNUMB = ''?

Prior to digging into the GL10001 and GL10000 tables, I did update SY00500 to fill in a batch ID in the BACHNUMB field, for this blank batch.  Eventually, I was able to delete it in GP.  But, after running check links on Transaction Work once again, it created this blank batch ID.  So, I guess I'd better try to get rid of it by deleting these journal entries.  It's not good, in my opinion, for file maintenance to keep creating such blank batches.

Thanks!

John

*This post is locked for comments

I have the same question (0)
  • Bill Campbell Profile Picture
    12 on at

    John, I will dig into this with you, but first please asure us all that you have a solid backup of the data prior to making any SQL direct changes, and or that you can do all this testing in a TEST environment, where the SQL database is completely separate from the PRODUCTION system.

    It sounds like work, but it is safety first.

  • Community Member Profile Picture
    on at

    Hi Bill:

    Yes, the data is backed up.  And, I have the means of testing this in a test environment.

    Thanks!

    John

  • Suggested answer
    Bill Campbell Profile Picture
    12 on at

    Transactions in the GL10000 the GL Work table should suggest that they are only there if you have them SAVED in a batch.  Or I just happen to catch the table in mid data entry.

    So, in the TEST system, I would see what happens when you remove all the transactions that Appear in Smartlist, but that do not have a batch ID and that are in the GL10000

    If you don't want to remove them, then EDIT the content of the GL10000 and assign the batch ID to those transactions just as you assigned the batch ID in the SY00500.

    When you next run the Check Links, you will either have matched them up - or there will be other errors.

    Keep on posting

  • Mick Egan Profile Picture
    3,561 on at

    John,

    In my experience adding the Batch ID directly to the SY00500 and attempting to link to the GL10000 doesn't really work, as you have mentioned.

    If the records have posted through to the GL20000, then I would delete them from the GL10001 and GL10000 table, then run your check links and Reconcile the GL Summary Tables.

    If they haven't Posted through, then delete those records and just recreate the Journal again.

    As Bill suggests, always run in a test company first, but I think this is your best option.

    Occasionally we end up with these stubborn records that won't Post or Delete, and need to make careful a decision as consultants.

    In the Test Company ensure you change the INTERID in the GL10001 table if attempting a Post.

    Regards,

    Mick

  • Thomas Newcomb Profile Picture
    1,810 on at

    Hi John!

    I just wanted to follow up to see if you had any additional questions on this.

    Please let me know! I am always happy to help!

    ~Thomas Newcomb

    ------------------------------------------

    Microsoft Dynamics GP Support

    ------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
mtabor Profile Picture

mtabor 1

#2
Victoria Yudin Profile Picture

Victoria Yudin 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans