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 :
Finance | Project Operations, Human Resources, ...
Unanswered

locate a batch with a special character in the Batch Number - APOSTROPHE

(1) ShareShare
ReportReport
Posted on by 2
This is a problem and a resolution post... because I didn't see one out there and I know I can't be the only person that has had this problem.

Client called and stated that they went to post a check batch but after she printed the checks, the batch would not post.  It kept saying it was in the printing status.
 
I logged into SQL and searched the SY00500 table for the batch, it was nowhere to be found.
 
The problem was that the BATCH NUMBER included an apostrophe. example:   FINDER'S FEE
 
So, searching in SQL for that is impossible because of the apostrophe.
 
Here is what I did to find it, and then update the batch name and then update the batch status:
 

SELECT * FROM SY00500 where BACHNUMB like 'finder%' - - found a batch called:  FINDER'S FEE

 

Update SY00500

set BACHNUMB='FINDERS FEE'

Where DEX_ROW_ID='103534066'    -- THIS UPDATES the BATCH NUMBER TO NOT INCLUDE THE APOSTROPHE

 

 

SELECT * FROM SY00500 where BACHNUMB='FINDERS FEE'

 

UPDATE SY00500 SET MKDTOPST=0, BCHSTTUS=0 where BACHNUMB='FINDERS FEE'

 

 

 

Hope this helps someone.

Categories:
I have the same question (0)
  • BJ-09051414-0 Profile Picture
    389 on at
    Hello,
     
    Thank you for your sharing your findings.
     
    One thing to add to this is the Batch ID is also stored on the Transaction Records in addition to the SY00500. If you did not remove the ' on the transaction records as well, it might not actually post the transactions because the Batch ID is now not the same between the SY00500 and the PM work tables for the transactions.
     
    As this was a Check Batch, the worktables would be the PM10300 (Computer Checks) and the PM10400 (Manual Payments). 
     
    Thanks again for sharing!
     
    Brandon
    Enavate Functional Consultant.

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 694

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 646 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 337

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans