Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

NAV2009 Production Journal Error Message on Consumption Entry with LOTALL tracking

(0) ShareShare
ReportReport
Posted on by 275

Hi all,

Appreciate if someone can enlighten me on the below error when trying to post a consumption entry type in production journal and there is sufficient remaining quantity in Item Ledger Entries (ILE). I have checked the coding and noticed that this is a standard code even in current version NAV2016.

Item is setup to have LOTALL as item tracking.

2016_2D00_08_2D00_29_5F00_22_2D00_26_2D00_45.png

Below is extract of codeunit 22.

Thanks in advance.

*This post is locked for comments

  • jasontl Profile Picture
    275 on at
    RE: NAV2009 Production Journal Error Message on Consumption Entry with LOTALL tracking

    Hi Rabin

    When checking the value at coding, it says it's -3 though but the value is lesser than 3.2 anyway you are saying negative value cannot be go through so I wonder if it has any impact

  • Suggested answer
    Rabin Profile Picture
    2,976 on at
    RE: NAV2009 Production Journal Error Message on Consumption Entry with LOTALL tracking

    Hi,

    In the codeunit that you have attached in the last message, Can you check what is the value of "ItemLedgerEntry.Quantity" just by Message Command.

    This might be occurring because of Roundoff error. I just wanted to confirm what is the value that the codeunit it getting...

    -------------

  • jasontl Profile Picture
    275 on at
    RE: NAV2009 Production Journal Error Message on Consumption Entry with LOTALL tracking

    Dear Rabin,

    Thanks for the feedback but as you can see when I navigate into the item tracking lines, attached is the screenshot where there are lots but 3 lines, summing up to 3.2 quantity altogether. That is in the 1st screenshot. In the 2nd screenshot, that is where I can assign the serial no. (coming from the sum up of all the lines in item tracking entries)

    2016_2D00_08_2D00_30_5F00_11_2D00_06_2D00_07.png

    2016_2D00_08_2D00_30_5F00_11_2D00_06_2D00_07.png

  • Suggested answer
    Rabin Profile Picture
    2,976 on at
    RE: NAV2009 Production Journal Error Message on Consumption Entry with LOTALL tracking

    Hi Jason&Mary,

    If in your system you have Lot or serial specific tracking and you are posting a negative quantity[As you can see in the Code Section of IF Statement],when lot or serial number you specified is not on hand, this error is generated. So first confirm if you have quantity on-hand.

    In "Item Tracking lines" window, check that you select lot or serial number which exists on hand.

    -------------------------------

  • jasontl Profile Picture
    275 on at
    RE: NAV2009 Production Journal Error Message on Consumption Entry with LOTALL tracking

    2016_2D00_08_2D00_29_5F00_22_2D00_32_2D00_14.png

    2016_2D00_08_2D00_29_5F00_22_2D00_31_2D00_21.png

    2016_2D00_08_2D00_29_5F00_22_2D00_32_2D00_14.png

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics NAV (Archived)

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2

#1
mmv Profile Picture

mmv 2

#1
Amol Salvi Profile Picture

Amol Salvi 2

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans