Navision 4.0 Sp3 - There is an Integer that is too large
parthiv
Member Posts: 16
When our client try to run Adjust Cost - Item Entries in 4.0 Sp3 they get the error message
"There is an Integer that is too large" 554,136,842,413,086, 924 (followed by more than 3 dozen zeroes).
Using Debugger , able to find out the Item causing the issue.
Item Detail
The Item uses Average Cost , Replenishment >> Purchase.
In the Inventory Setup , Automatic Cost Posting >> true , Expected Cost Posting >> true and Average Cost Calc Type >> Item & Location & Variant
Anybody encountered this issue earlier? Do you know what is the cause of the issue and how to rectify it?
Thanks.
"There is an Integer that is too large" 554,136,842,413,086, 924 (followed by more than 3 dozen zeroes).
Using Debugger , able to find out the Item causing the issue.
Item Detail
The Item uses Average Cost , Replenishment >> Purchase.
In the Inventory Setup , Automatic Cost Posting >> true , Expected Cost Posting >> true and Average Cost Calc Type >> Item & Location & Variant
Anybody encountered this issue earlier? Do you know what is the cause of the issue and how to rectify it?
Thanks.
0
Comments
-
If value is going to more then its data size(4 bytes) then you have to use BIGINTEGER Data Type (8 bytes).
For more details ::
http://msdn.microsoft.com/en-us/library/dd338759.aspx
http://dynamicsuser.net/wikis/navdev/what-field-types-can-i-use-in-navision.aspxZephyr0 -
Hi Zephyr,
Thanks for the reply.
I haven't customised any thing in the Adjust Cost - Item Entries, I think the program goes through infinite loop and assigns a huge value to "Actual Cost" field in Tbl 5820 (Cost Element Buffer). I guess it's not an issue with datatype, it's the infinite loop that is causing the issue.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions