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 :
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
    353 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

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 669 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 384 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans