Skip to main content

Notifications

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:
  • BJ-09051414-0 Profile Picture
    281 on at
    locate a batch with a special character in the Batch Number - APOSTROPHE
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,137 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,877 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans