The Adjust Cost - Item Entries batch repeats infinitely when the same item - location code - variant code combination is output and consumed in the same date. As a solution to that bug I installed the hotfixes numbered 925862-978605-978603-978606-978702. But after installing the hotfixes we got "Numeric value out of range State ID: 22003" error in the SQL-option and "decimal overflow" in the native option. Unfortunately it's impossible to figure out the problem by debugging. Thank you in advance for your help.
The current version of NAV is 4.03 SQL Option.
Version = Navision 403 SQL
Costing Method = Average
0
Comments
I have this problem once - i think I post subject about it.
It not that easy to identify the wrong value
Example:
In your case - When you debug - Nav stops in line Insert or Modify ?
Then check what decimal values - script try to insert in this record. (one of them is too large)
When you know where the problem is (which entry) maybe you find out - what cause this bad calculate (probably bad) and solve this.
viewtopic.php?f=23&t=40917#p202778
Though in your case you should already have one of the item ledger entry numbers in the loop.
TVision Technology Ltd
////viewtopic.php?f=23&t=40917#p202778
///Though in your case you should already have one of the item ledger entry numbers in the loop.
I tried instructions above unfortunately it did not work
The code itself came from a Change Log I received form MBS Support Team (APAC). The error occur in the code IF ValueEntry.FIND('-') THEN. The error occur after the same code has been executed several times with no error, eventually in certain ProdOrderNo ("Item Ledger Entry"."Production Order No."), the error occur.
The NAV is NAV 2009 R2, SQL Server is SQL Server 2008 RTM (No SP installed)
Superpuz