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

GL Journal Posted with Missing Entries

(0) ShareShare
ReportReport
Posted on by 56
Hi,
 
We have a large GL journal with around 50 lines that we posted. After posting, the journal shows as posted but when I check the voucher transactions, only some of the lines appear. There's no error message visible and no infolog that clearly tells me which lines failed. 
 
why the system did not stops the entire journal, instead it silently skips the problem lines and continues posting the rest? 
 
could anyone help me on his.
 
Thanks in advance
Categories:
I have the same question (0)
  • Suggested answer
    Shaluma Profile Picture
    139 on at
    Hi,

    Root cause 

    For a 50-line journal where only some lines posted:

    Batch posting swallowed line errors. Custom validation caught exceptions and continued. Posting was done through code using LedgerJournalCheckPost with line-level handling. Journal validation was not run before posting- These are all the causes of the issue.

    Please fix is to make validation fail before posting and ensure any custom posting code throws exceptions instead of consuming them.

    If you have made any customizations, please add the code below. If any errors occur, it will help identify which lines have been posted and which remain unposted.
    catch(Exception::Error)
    {
        throw error("Posting failed");
    }
    
    (OR)throw Exception::Error;
    so the transaction rolls back.

     
    If the issue still persists after following them, please raise a query, and we will be happy to support you further.

    Thanks,
    If you found it helpful, please consider marking it as verified â€” it may be useful for others in the future!

     

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 681 Super User 2026 Season 1

#2
André Arnaud de Calavon Profile Picture

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

#3
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 471

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans