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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Purchase journal batch posting stuck in posting status

(5) ShareShare
ReportReport
Posted on by 81
So one of our associates have triggered an entry to post but the VAT date was beyond the allowed posting. We're currently using batch posting all journals. Now this entry has been stuck in Posting Status.
 
We've tried restarting the instance, deleted/cancelled all job queue entries related to codeunit 250. Still, we cannot cancel the posting. 
There was a button before under Actions menu to cancel the job but its all gone now.
 
 
I have the same question (0)
  • Subra Profile Picture
    1,320 on at
    Hi @Van032

    Please move this question into business central forum instead of D365FO.
  • Van032 Profile Picture
    81 on at
    Hi, I did choose business central:
     
  • Verified answer
    Grigorios Mavrogeorgis Profile Picture
    2,569 Super User 2026 Season 1 on at
    Hi,
    the "Posting" status is the real problem here, not the job queue entry. When a line shows Posting it means a background session was actually mid-post — if the instance restart killed that session, nothing is left to reset the line back to blank. That's why deleting the entries didn't help. Normally deleting the job queue entry resets the line, but once it's already in Posting and the session is dead, that path is gone. The cancel action under Actions disappears for the same reason, BC still thinks it's in progress.

    From what I seen, you can't fix this from the journal page anymore. The Job Queue Status field on the line has to go back to blank. On-prem a quick dev job or a SQL update clears it. On cloud you can't touch it directly, so a small cleanup codeunit or a support ticket is the way.
     
    Glad to help - follow up if anything is unclear.  
    ►  If this solved it, marking it verified helps others too.      
    Regards,
    Grigorios Mavrogeorgis
    Business Central Consultant & AL Developer

    Work: Gmsoft Limited
    Blog:  insidebusinesscentral
    LinkedIn: linkedin.com/in/gregorymavrogeorgis

     
  • Verified answer
    OussamaSabbouh Profile Picture
    17,730 Super User 2026 Season 1 on at
    Hello,
    This is usually caused by background/batch posting leaving the journal line marked as scheduled/posting, and deleting Job Queue Entries for codeunit 250 may not clear that flag because Microsoft notes that putting a job on hold does not stop a job that already started. First check My Job Queue / Job Queue Log Entries for the user who started the posting, because Business Central provides cancellation/error handling for background postings there; also check the actual error, which in your case seems related to the VAT Date allowed range. If the cancel action is no longer available and the journal line remains stuck in Job Queue Status = Posting, this is not something I would try to “force” from the UI; raise a Microsoft support ticket to clear the stuck background posting state, then correct the VAT Date / VAT period setup and repost. For prevention, either validate VAT dates before batch posting or avoid background posting for journals where users frequently adjust dates.
    Regards,
    Oussama Sabbouh
  • Verified answer
    Van032 Profile Picture
    81 on at
    Hi All,
     
    For the meantime, since most of the posting has been stuck because of this entry, we created a separate button using the standard code for the cancel button. 
     
    Thanks for all the advise. We'll raise a ticket to Microsoft about this.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,869 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,182 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 1,109 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans