Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Item Ledger Entry does not exist. Identification field and values : Entry No.='0'

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey everyone,

Today i am facing the Error stated above while trying to post a Sales Order Shipment.


Any ideas?


The error occurs on this line :

IF "Value Entry Type" = "Value Entry Type"::"Direct Cost" THEN
GlobalItemLedgEntry.GET("Item Shpt. Entry No.")

*This post is locked for comments

  • Csiak Gyula Profile Picture
    Csiak Gyula 25 on at
    RE: Item Ledger Entry does not exist. Identification field and values : Entry No.='0'

    I also have this problem, when Getting Shipment Lines into Sales Invoice and trying to post the invoice. The problem is specifically happening, when there are posted sales shipment lines, where two or more different lot numbers are connected as Tracking Specification to the same Shipment Line and so Item Shpt. Entry No. is empty in Item Relation Entry and in Sales Shipment Line as well.

    Could you please describe, which codeunit caused your problem and where was it modified?

    Thank you in advance,

    Best regards,

    Gy.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Item Ledger Entry does not exist. Identification field and values : Entry No.='0'

    Ended up i was missing data from Tracking Specification Table due to a bad written codeunit.

    Problem solved

  • Suggested answer
    RockwithNav Profile Picture
    RockwithNav 6,562 on at
    RE: Item Ledger Entry does not exist. Identification field and values : Entry No.='0'

    This is something which needs deep debugging as it is a very sensible table and you should the root cause of it!!

  • Suggested answer
    azelaya59 Profile Picture
    azelaya59 2,807 on at
    RE: Item Ledger Entry does not exist. Identification field and values : Entry No.='0'

    Have you tried to refresh your session (log off/log on)? I find it very odd that the Item Ledger entry is not written at the time of shipping.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Item Ledger Entry does not exist. Identification field and values : Entry No.='0'

    The error is what the title says :  

    Item Ledger Entry does not exist. Identification field and values : Entry No.='0'

    Thanks

  • azelaya59 Profile Picture
    azelaya59 2,807 on at
    RE: Item Ledger Entry does not exist. Identification field and values : Entry No.='0'

    Dimitris

    There's no error screen capture. Maybe you can write out the error.

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 Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,307 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans