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, ...
Suggested Answer

Post journal batch job is not always posting vendor payment journal

(4) ShareShare
ReportReport
Posted on by 176
Hi,

We are integrating EFT (ACH) vendor payment - We want to have a payment journal when fully approved get posted automatically.
I created a POST JOURNAL batch job (from General ledger module) - it is working fine and posting the journals
However, sometime it is skipping certain journal. I found out if a payment journal is approved but IN USE by a user, it will not be posted. witch is fine.
Then even when the journal get closed, no user is on it. The next batch job run will skip it again.
I think this is a cache issue.

Any though how to make sure the batch is always posting and/or getting its cache cleared 
OR may be the issue is caused by another reason.
 
Attached the batch criteria document.

Thank you !

Kamel Sadek
Categories:
I have the same question (0)
  • Suggested answer
    Giorgio Bonacorsi Profile Picture
    2,060 on at

    You're right: the batch journal doesn't post the journal in use. It is no different from the posting done by a regular user. The problem here is probably not related to the batch or configuration, but to timing. ThusEnsure that the batch runs after the user releases the journal, and try to check if this flag is selected before to run the batch:

     

    I did a quick test in my environment, and it works.

     

    Thank you,
    Giorgio

  • Suggested answer
    Arvind Bharti Profile Picture
    789 Super User 2026 Season 1 on at
    Hi,
     
    Also you can add in condition if you find field in use = no then only pick that journal.
  • KS-13051748-0 Profile Picture
    176 on at
    Hi,

    Today, no payment journal was posted through the POST JOURNAL batch job.
    Batch has created a task and successfully ended. No Error message 

    With the same criteria it has run last week.
    The Payment journals have no error, already validated before getting them approved.


    Any thought




    Thank you !
    Kamel.
  • Suggested answer
    Assisted by AI
    Giorgio Bonacorsi Profile Picture
    2,060 on at
    Timing. The system has detected that the journal is still being used when the batch runs. :-)
  • KS-13051748-0 Profile Picture
    176 on at
    Hi Giorgio,
     
    Correct.
    This is my assumption. Once a journal was in use and even closed, it still considered in the cache as opened.
    The next questions
     
    1- How long is the timing ?
    2- How to clear the batch job cache so it will always run as the first time ?
     
    Note: If I try to create a new batch, I can see the journals ready to be posted - Tomorrow I'm expecting them to be picked by the batch and posted
     
     
    Thank you !
  • André Arnaud de Calavon Profile Picture
    303,706 Super User 2026 Season 1 on at
    Hi Kamel,
     
    Do you create a new batch job per execution or are you trying to setup a recurring batch job?
  • KS-13051748-0 Profile Picture
    176 on at
    Hi André-Arnaud,
     
    We set a recurring batch job and it is not working. I've already opened a ticket with Microsoft, they are still looking at it.
    For now we are thinking to move to interactive batch job (I mean create a batch every day to mass post the payment journal)
     
    Thank you !
    Kamel.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 659

#2
André Arnaud de Calavon Profile Picture

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

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 304 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans