round error!who can help me?
ajunshi
Member Posts: 15
when I creat a new purchase order,and add a Item No. ,It give me a error information :
The Value of ROUND parameter 2 is outside of the permitted range
The current value is 0.
The permitted range is :from 1 to 2147483647
And I run the Debug ,The time which circulates a this place comes amiss:
table 39 UpdateUnitCost()
"Unit Cost (LCY)" := ROUND("Unit Cost (LCY)",GLSetup."Unit-Amount Rounding Precision",'>');
IF PurchHeader."Currency Code" <> '' THEN
Currency.TESTFIELD("Unit-Amount Rounding Precision");
"Unit Cost" := ROUND("Unit Cost",Currency."Unit-Amount Rounding Precision");
What's wrong with it?And how should I do?
The Value of ROUND parameter 2 is outside of the permitted range
The current value is 0.
The permitted range is :from 1 to 2147483647
And I run the Debug ,The time which circulates a this place comes amiss:
table 39 UpdateUnitCost()
"Unit Cost (LCY)" := ROUND("Unit Cost (LCY)",GLSetup."Unit-Amount Rounding Precision",'>');
IF PurchHeader."Currency Code" <> '' THEN
Currency.TESTFIELD("Unit-Amount Rounding Precision");
"Unit Cost" := ROUND("Unit Cost",Currency."Unit-Amount Rounding Precision");
What's wrong with it?And how should I do?
0
Comments
-
You need to run general ledger setup table from object designer and make sure the field "Unit-Amount Rounding Precision" is not zero.
If you are using multiple currency make sure the field is not zero for the given currency.
Usually they are defaulted to .01.0 -
Thanks for your help!ara3n wrote:You need to run general ledger setup table from object designer and make sure the field "Unit-Amount Rounding Precision" is not zero.
If you are using multiple currency make sure the field is not zero for the given currency.
Usually they are defaulted to .01.
But I can't set "Unit-Amount Rounding Precision" to .01.
When I set "Unit-Amount Rounding Precision" to .01 and system give me a information:
The field can have a maximum of decimal places !
why?0 -
I double checked and it and in cronus it's .001. Check a cronus company in chinese version and make sure you have the same value.0
-
This can be problem of "cleared" company, when someone delete all data from CRONUS and use this clean company to setup new one.0
Categories
- All Categories
- 73 General
- 73 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 328 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

