Change Amount rounding precision

Fermi
Member Posts: 27
Hello friends!
I'd like to do one question to you. My customer (MBS 3.70) wants to set Amount rounding Precision to 0,0001. The actual value of Amount Rounding Precision is 0,01. When I try to do that, the system shows an error message related to posted entries. The customer also wants to change the Unit-Amount rounding from 0,01 to 0,0001, and the system has allowed this change without any problem.
It seems to be difficult, but does anybody knows any method to change the amount rounding precision avoiding that error?
I'll be grateful for any idea.
Thanks a lot.
I'd like to do one question to you. My customer (MBS 3.70) wants to set Amount rounding Precision to 0,0001. The actual value of Amount Rounding Precision is 0,01. When I try to do that, the system shows an error message related to posted entries. The customer also wants to change the Unit-Amount rounding from 0,01 to 0,0001, and the system has allowed this change without any problem.
It seems to be difficult, but does anybody knows any method to change the amount rounding precision avoiding that error?
I'll be grateful for any idea.
Thanks a lot.
Best Regards,
Manuel Barral Paul
Manuel Barral Paul
0
Comments
-
Hi Fermi,
I just checked, and saw that the error you mentioned is built in by Navision. They always do a check if you change the amount rounding precision. During that check, any existing entry (G/L, item, job, resource,...) leads to that error. The only possibility is to disable that check in your table (table 98, field amount rounding precision, disable function roundingerrorcheck by placing // before).
Kind regards,
Francois0 -
Hello Francois.
First of all, thank you.
After this, do you think that disable that function will cause any future error in the database? I don't want the database will become damaged or corrupted.
Best RegardsBest Regards,
Manuel Barral Paul0 -
Hi,
Round(), by default, uses 0.01 as precision. If your customer wants to change the Unit-Amount rounding from 0.01 to 0.0001,
update the code by changing Round function with the precision as 0.0001 in Code unit -80 for sales related ledger entries and
Code unit -90 for purchase related ledger entries.
If u still have doubts let me know.With Regards,
Shilpa Reddy0 -
The error is there because any change of rounding precission can have impact. For example when you are recalculating something what was rounded, you can have different result (for example there are VAT entries which are calculated with some precision and now you calculate the value once more and you have different result)... and it can break consistency in some cases... it is why the change is not allowed in standard Navision...0
-
Fermi wrote:The actual value of Amount Rounding Precision is 0,01. When I try to do that, the system shows an error message related to posted entries.fl wrote:The only possibility is to disable that check in your table (table 98, field amount rounding precision, disable function roundingerrorcheck by placing // before).shilpareddy wrote:If your customer wants to change the Unit-Amount rounding from 0.01 to 0.0001,
update the code by changing Round function with the precision as 0.0001 in Code unit -80 for sales related ledger entries and
Code unit -90 for purchase related ledger entries.Regards,
Andwian0
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