Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Suggested answer

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

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.")

  • 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,556 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,625 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans