Hi users,
sometimes Nav doesn't create records in "Item Ledger Entry" table when I receive a purchase order. I use a custom procedure, but I call "Purch.-Post" codeunit like standard Nav, so when I try to navigate from "Posted receipts" form, I have no entries in "Item Ledger Entry" table. Do you have any ideas?
Thank you for your replies.
0
Comments
I forget to tell you, I have no entries in "Value Entry" table too.
I try to undo the receipt and I recall my function and it creates the right records. Do you think that "Quantity to Receive" becomes 0 inside the "Purch.-Post" codeunit?
On "Purch. Rcpt. Line" table, Quantity is not Quantity on Purchase Line, it is actually Quantity to Receive on Purchase Line.
The receipt document is created by your custom procedure, or created by Purch.-Post procedure?
And of course, if no item ledger entry is created, no value entry is created either.
Yes, I want to tell "Quantity to Receive"... I create the receipt by "Purch.-Post" codeunit, it's not custom.
Yes, I am editing my previous reply to specify it.
Yes, I want to tell "Quantity to Receive"... I create the receipt by "Purch.-Post" codeunit, it's not custom.
Yes, I am editing my previous reply to specify it.