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 :
Small and medium business | Business Central, N...
Suggested Answer

Post Inventory Cost to G/L Error

(2) ShareShare
ReportReport
Posted on by 44
Hi there,
 
When getting an error after a job queue Post Inventory Cost to G/L run, what is the best way to identify which entry is causing it?
In this specific case I'm getting: Posting Date is not within your range of allowed posting dates in Gen. Journal Line Journal Template Name='',Journal Batch Name='',Line No.='0'.

The "Allow Posting" is correctly set up on User and G/L level, Inventory Period May 2025 is open. If there is an entry outside of this period, what is the best way to find it?
 
Thank you!  
I have the same question (0)
  • Suggested answer
    Sagar Dangar, MCP Profile Picture
    799 Super User 2025 Season 2 on at
    Hi,
     
    Open Value entry and apply filter on Posting Date, and check if any outside of may 2025 period entry cost adjustment is pending!
     
  • Suggested answer
    Mansi Soni Profile Picture
    8,909 Super User 2025 Season 2 on at
    Hello, To identify this go to the Value Entries page in Business Central, filter for entries where Cost Posted to G/L = No, and check if any Posting Dates fall outside the user's or G/L's allowed posting range.

    Hope this will help you to resolve it!

    Regards,
    Mansi Soni
  • Gerardo Rentería García Profile Picture
    25,236 Most Valuable Professional on at
  • Suggested answer
    YUN ZHU Profile Picture
    95,729 Super User 2025 Season 2 on at
    I personally think debugging is the fastest way to find out which line is stuck 
     
    Hope this can give you some hints.
    Thanks.
    ZHU
  • Durito Profile Picture
    44 on at
    Thanks for the suggestions,
     
    @YUN ZHU I presume you can only debug in AL?
     
    @Mansi Soni  Cost Posted to G/L is a decimal field, not boolean, so the filter you suggest doesn't work.
    When looking at  Cost Posted to G/L and Aount expected often they don't match for a closed period, is this normal?


    I noticed this in other companies as well, however, the job queue is not failing there.
     

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,238

#2
YUN ZHU Profile Picture

YUN ZHU 773 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 630

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans