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.
Below is extract of codeunit 22.
Thanks in advance.
*This post is locked for comments
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
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...
-------------
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)
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.
-------------------------------
Sohail Ahmed
2
mmv
2
Amol Salvi
2