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.
Comments
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
David
Mobile: +44(0)7854 842801
Email: david.cox@adeptris.com
Twitter: https://twitter.com/Adeptris
Website: http://www.adeptris.com
(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.com
Navision Technical Consultant
Bangalore
anurag.atish@yahoo.com
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";
Has anybody something better? (without doing extra programming?)
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.
Thanks