change Dimension value type from Standard to Begin-Total

LibertyMountain
Member Posts: 94
I am trying to change a dimension value from a standard dimension value type to a begin-total dimension value type. NAV help says that you can post to a Begin-Total dimension value type just as you can to a Standard dimension value type.
The code in dimension value type on validate reads as follows:
The error message (text004) reads: "The dimension value is used in posted entries. You cannot change the type."
I have posted entries to the dimension in question. And I understand the reasoning behind this error message if you were changing from a dimension value that was a totaling type (e.g. 'End-total' or 'Total') to a type where you are allowed to post ('Standard' or 'Begin-Total') ... or vice versa. But since both 'Standard' and 'Begin-Total' dimension types allow posting, why should I be prevented from switching a dimension value between those two types?
I am thinking I will just run an update statement on SQL to make the change I desire on the dimension value in question, unless anyone can advise me differently.
Thanks.
The code in dimension value type on validate reads as follows:
IF ("Dimension Value Type" <> "Dimension Value Type"::Standard) AND (xRec."Dimension Value Type" = xRec."Dimension Value Type"::Standard) THEN IF CheckIfDimValueUsed("Dimension Code",Code) THEN ERROR(Text004,GetCheckDimErr); Totaling := '';
The error message (text004) reads: "The dimension value is used in posted entries. You cannot change the type."
I have posted entries to the dimension in question. And I understand the reasoning behind this error message if you were changing from a dimension value that was a totaling type (e.g. 'End-total' or 'Total') to a type where you are allowed to post ('Standard' or 'Begin-Total') ... or vice versa. But since both 'Standard' and 'Begin-Total' dimension types allow posting, why should I be prevented from switching a dimension value between those two types?
I am thinking I will just run an update statement on SQL to make the change I desire on the dimension value in question, unless anyone can advise me differently.
Thanks.
0
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