Error "Overflow in calculation of 1000*2147491

Denis_Petrov
Member Posts: 107
When running a creation of new Analysis View I am getting this error message in Navision 3.01 "Overflow in calculation of 1000*2147491". We have a very large number of transactions posted on a regular basis, the size of the db is 24Gb.
I read some postings relating this error message to journals with high number of lines - but since I am not trying to post anything it seems not applicable in my situation, or am I wrong?
please help me.
Denis Petrov
I read some postings relating this error message to journals with high number of lines - but since I am not trying to post anything it seems not applicable in my situation, or am I wrong?
please help me.
Denis Petrov
Best regards,
Denis Petrov.
Denis Petrov.
0
Comments
-
Set the debugger to active with breakpoint on trigges off to detect the object where this error occurs, copy a few of the code lines and post them here.Kai Kowalewski0
-
dear Kai
thanks for your reply. Where would I get such debugger?
thanks
Denis PetrovBest regards,
Denis Petrov.0 -
The debugger is always installed together with the client, it can be switched on in the clients menu Tools > Debugger > ActiveKai Kowalewski0
-
BlackTiger wrote:
From documentation:INTEGER
Use this simple data type to store whole numbers with values that range from -2,147,483,647 to 2,147,483,647.
Turn debugger on:
Tools->Debugger->Active
uncheck Tools->Debugger->Breakpoint on triggers.
Or just find a code "1000*". Change to "100*" or "10*"
1000*2147491 = 2147491000, now read Black Tigers Quote, you need to change the data type or variable from integer to Decimal.
We had the same problem with a decimal field once, it was a new POS system in the middle east, each Product was so many thousand LCY, and the POS operator scanned the barcode into the quantity field! ](*,) and the Value went sky high, but did not complain, he voided the sale, but the Analysis Flowfield in head office just bombed out the form, we only found it after trawling through all the POS line table, so there is a limit even to decimal fields.Analyst Developer with over 17 years Navision, Contract Status - Busy
Mobile: +44(0)7854 842801
Email: david.cox@adeptris.com
Twitter: https://twitter.com/Adeptris
Website: http://www.adeptris.com0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions