Dimension Correction Tool v2

Administrator
Member, Moderator, Administrator Posts: 2,506
Dimension Correction Tool
We had developed this tool to modify the posted dimension in Dynamics NAV tables. It takes the document number as input and return all the possible dimension associated with the posted entries.
Then you can enter new desired dimension in the last column of the Dimension-Correction form for every entry and click UPDATE to change all the posted dimensions.
http://www.mibuso.com/dlinfo.asp?FileID=1010
Discuss this download here.
We had developed this tool to modify the posted dimension in Dynamics NAV tables. It takes the document number as input and return all the possible dimension associated with the posted entries.
Then you can enter new desired dimension in the last column of the Dimension-Correction form for every entry and click UPDATE to change all the posted dimensions.
http://www.mibuso.com/dlinfo.asp?FileID=1010
Discuss this download here.
0
Comments
-
Will this update all the Document lines if you change Dimensions 1 or 2.
How about updating Alalysis views?
I have developed a similar tool for an end client which I cannot share, but to maintain the integrity of the data when updating dimensions they must cascade to all associated entries.
If we take a "G/L Entry" created from a Sales Invoice and Item posting, and changed "Dimension 1", to maintain the integrity the following would need to be updated:
Sales Invoice Line:
Item Ledger
G/L Entry
Value Entry
Posted Document Dimension
Ledger Entry Dimension
And any Analysis Views
DavidAnalyst 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 -
(1) If you change any dimension it will work. We have tested it on a business databse which uses 8 dimensions at max and 2 at min in any transaction.
(2) Yes. It changes all the applicable "Analysis View Entry" entries corresponding to G/L Entries whose dimensions are begin changed.
(3) It even works woth the customers licences.
Regards
Anurag
anurag.atish@yahoo.com0 -
A good starting point for changing dimensions, but it is not a generic tool, as dimensions are hardcoded in the code. Instead you should do a lookup of the dimension codes used via the GLSetup table, and the corresponding variables should have generic names, i.e. the code below, here customer, region etc. should be ShortcutDim3 etc.
IF ( PostDocDim."Dimension Code" = 'COMPANY') THEN company := PostDocDim."Dimension Value Code" ELSE
IF ( PostDocDim."Dimension Code" = 'UNIT') THEN unit := PostDocDim."Dimension Value Code" ELSE
IF ( PostDocDim."Dimension Code" = 'CUSTOMER') THEN customer := PostDocDim."Dimension Value Code" ELSE
IF ( PostDocDim."Dimension Code" = 'REGION') THEN region := PostDocDim."Dimension Value Code" ELSE
IF ( PostDocDim."Dimension Code" = 'TRANSPORTER') THEN transporter := PostDocDim."Dimension Value Code" ELSE
IF ( PostDocDim."Dimension Code" = 'VENDOR') THEN vendor := PostDocDim."Dimension Value Code";0 -
The tool is maybe a base for Dimension Correction, but it is not working with Global Dimensions, so this tool does net help now.
Has anybody something better? (without doing extra programming?)0 -
Dimension Correction Tool v2
So many times we need to modify the posted dimension in the Ledger tables. We had modified first version of this tool to modify the posted dimension in Dynamics NAV tables.
It takes the document number as input and return all the possible dimension associated with the posted entries.
Then we can enter new desired dimension in the last column of the Dimension-Correction form for every entry and click UPDATE to change all the posted dimensions.
Updates in this new version :
* More optimized code
* Dimensions are picked up from the dimension setup table.
http://www.mibuso.com/dlinfo.asp?FileID=1010
Discuss this download here.0 -
How to fix the error "The Indexing 101 in the array is outside of the permitted range" during process?0
-
I am getting this error . Can any one tell me how to fix the error "The Indexing 101 in the array is outside of the permitted range
Thanks0
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