**The Item Ledger Entry Does Not Exist**

Get our Free Newletter

Don't you have the time to be online here at DUG every day? So how do you follow what is going on in the Dynamics industry and community?
If you subscribe to the DUG Newsletter then you can relax! We will make sure that you don't miss the big news!

Check out our
Newsletter Subscription Center
page a complete list of our different newsletters.

Solution (Verified) This post has 1 verified solution | 7 Replies | 2 Followers

Male
104 Posts
1,065 Points
Joined: 2012-6-29
Last Online:
2013-6-20 9:54
Location: Mumbai,India
R!SH! posted on 2012-10-25 8:57

Hi Experts,

I have created one purchase order and post and receive it.After that i did the invoice of the same purchase receipt no. but when i tried to post the invoice it's giving error "Item Ledger entry Does not exist " & Identification fields & Values :

Entry No.7, Item No. =''

when i debugged that error it's going to CU 22 Function [PostItem()]  indicating towards following code

 

      IF "Value Entry Type" = "Value Entry Type"::"Direct Cost" THEN
        GlobalItemLedgEntry.GET("Item Shpt. Entry No.")
      ELSE
        GlobalItemLedgEntry.GET("Applies-to Entry");
      InitValueEntry(GlobalValueEntry,GlobalItemLedgEntry);
    END;

Thanks & Regards,

R!SH!

Solution (Verified) Verified Solution

Male
104 Posts
1,065 Points
Joined: 2012-6-29
Last Online:
2013-6-20 9:54
Location: Mumbai,India
Solution (Verified) R!SH! replied on 2012-10-30 6:30
Verified by R!SH!

Finally we resolved that problem the problem was came due to ItemNo. and EntryNo. both filed has taken as primary key so we only took EntryNo. as primary key...

Thanks a lot to Erik & Amol for give me great guidance.

Thanks & Regards,

R!SH!

All Replies

Male
104 Posts
1,065 Points
Joined: 2012-6-29
Last Online:
2013-6-20 9:54
Location: Mumbai,India
R!SH! replied on 2012-10-25 11:48

Please Help...

Thanks & Regards,

R!SH!

Male
6,793 Posts
158,517 Points
Joined: 1995-10-1
Last Online:
2013-6-20 13:33
Location: Middelfart, Denmark
DynamicsNAVMVP
SystemAdministrator
Erik P. Ernst replied on 2012-10-25 20:17

Hi Rishi,

If you need urgent help, then call your partner, and pay for the support! All help you get here is done voluntary by our community members. If you haven't received an answer then instead of just bumping up the question, then you should think "Maybe there is something wrong with my questions. Maybe the other members don't know what I'm asking!".

And in this case I don't understand what you're asking, because the answer is very obvious. The Item Ledger Entry doesn't exist. You should look up the entry leading to this post error and then check the content of the "Item Shpt. Entry No." or the "Applies to Entry No.". Here should find the value 7 - which doesn't exist. So the real challenge is find why it says no. 7.

This is really a "typical" support issue, which is a lot easier to solve by someone with access the the whole database, then someone who sits 1000's of KM away with no direct access to the DB. The forums are better for more "general" issues.

Best regards,
Erik P. Ernst
Webmaster 

DUG’s Admin's Blog

Don't forget to "Verify Solution" the post(s) that solved your problem. This credits the experts who helped, earns you points and marks your thread as Resolved so we all know you have been helped.

Male
2,352 Posts
34,400 Points
Joined: 2006-4-10
Last Online:
2013-6-20 10:09
Location: Pune India
Moderator
Amol replied on 2012-10-26 3:32

Rishi,

Are you using reserveration functionality of Navision ???

 

 

 

-Amol

http://dynamicsuser.net/blogs/amol

Don't forget to  the post(s) that solved your problem

Male
104 Posts
1,065 Points
Joined: 2012-6-29
Last Online:
2013-6-20 9:54
Location: Mumbai,India
R!SH! replied on 2012-10-26 7:39

Really  Sorry Erik Apologies for that...

Thanks & Regards,

R!SH!

Male
6,793 Posts
158,517 Points
Joined: 1995-10-1
Last Online:
2013-6-20 13:33
Location: Middelfart, Denmark
DynamicsNAVMVP
SystemAdministrator
Solution (Not Verified) Erik P. Ernst replied on 2012-10-29 7:57
Suggested by Erik P. Ernst

Rishi Mohan:

Really  Sorry Erik Apologies for that...

Hi Rishi,

Really no need to apologies. Just remember to think of Dynamics Users as your community friends, who would love to help you, if we can. But sometimes maybe we are just able to tell you to look into a special direction. Solving the actual issue often needs to be done by a specialist into the matter who have access to see a lot more parameters than it would be impossible to ask for here in the forums.

Anyway Amol asks an interesting question. Do you use "Reservations" in your current setup?

Because very often it has something to do with that when somethings goes wrong in the item posting codeunit (22).

In this case it is not that likely it's important, because the error you get is related to value entries and the cost adjustments that happens when you post your purchase invoice. And somehow the links to the original entry is missing. It might be an setup issue, it might be in the code. You need to go to the source of the problem to know it. Depending on your version it might actually also be a known problem. That's why you should always ask the exact version your question is about.

Anyway we would still love to hear when you find out exactly what your problem was, in case someone else gets the same problem.

Best regards,
Erik P. Ernst
Webmaster 

DUG’s Admin's Blog

Don't forget to "Verify Solution" the post(s) that solved your problem. This credits the experts who helped, earns you points and marks your thread as Resolved so we all know you have been helped.

Male
104 Posts
1,065 Points
Joined: 2012-6-29
Last Online:
2013-6-20 9:54
Location: Mumbai,India
Solution (Verified) R!SH! replied on 2012-10-30 6:30
Verified by R!SH!

Finally we resolved that problem the problem was came due to ItemNo. and EntryNo. both filed has taken as primary key so we only took EntryNo. as primary key...

Thanks a lot to Erik & Amol for give me great guidance.

Thanks & Regards,

R!SH!

Male
2,352 Posts
34,400 Points
Joined: 2006-4-10
Last Online:
2013-6-20 10:09
Location: Pune India
Moderator
Amol replied on 2012-10-30 7:05

Welcome Smile

-Amol

http://dynamicsuser.net/blogs/amol

Don't forget to  the post(s) that solved your problem

Page 1 of 1 (8 items) | Get this RSS feed | Bookmark and Share