Import Budget from Excel error
CobaltSS
Member Posts: 137
HI all
I'm trying to import a budget that has been edited after it was exported. I'm getting an error that states the "The Dimension Value does not exist. Dimension Code = DEPARTMENT, Code = 150,000"
The Department Code should be 150000 (no comma), which it is in the spreadsheet. I tried changing the "Digit Grouping" property in Regional and Language Settings", but that did not solve the issue.
Any advice greatly appreciated,
cheers,
I'm trying to import a budget that has been edited after it was exported. I'm getting an error that states the "The Dimension Value does not exist. Dimension Code = DEPARTMENT, Code = 150,000"
The Department Code should be 150000 (no comma), which it is in the spreadsheet. I tried changing the "Digit Grouping" property in Regional and Language Settings", but that did not solve the issue.
Any advice greatly appreciated,
cheers,
0
Comments
-
format the column as text, add a quotemark before the value...do anything you can to have a plain number in the column...in this way you'll be able to import it.
Other (recommended) solution: EXport a budget from nav, delete lines from excel file, copy and paste your lines (i think you created your excel file with 150,000 manually) into the previously exported (and cleared) spreadsheet.0 -
Hi Belias,
The Excel file was created from the Export, but the budget numbers were entered manually. I tried everything I could think of in the Excel file to get the numbers treated as text, but with no luck. So in Report 81, I added this line:
InsertGLBudgetDim(DimCode2 : Code[20];DimValCode2 : Code[20];VAR GLBudgetEntry2 : Record "G/L Budget Entry")
DimValCode2 := DELCHR(DimValCode2, '=', ',');
This approach solved the problem, but if anyone has a solution that I can use outside of NAV, I'd appreciate the thought.
cheers,0 -
try to preformat the column as textCobaltSS wrote:Hi Belias,
The Excel file was created from the Export, but the budget numbers were entered manually. I tried everything I could think of in the Excel file to get the numbers treated as text, but with no luck. So in Report 81, I added this line:
InsertGLBudgetDim(DimCode2 : Code[20];DimValCode2 : Code[20];VAR GLBudgetEntry2 : Record "G/L Budget Entry")
DimValCode2 := DELCHR(DimValCode2, '=', ',');
This approach solved the problem, but if anyone has a solution that I can use outside of NAV, I'd appreciate the thought.
cheers,0 -
HI again,
Maybe we're talking two different things. In the Excel spreadsheet, after the Export, but before the Import the user entered a value of 150000. In the Excel spreadsheet, there is no comma. The comma only appears as a NAV error when the Budget is being imported.
I think, from what you're saying (and I could be worng; it's happened before!), you think the problem is with the Excel spreadsheet. But the spreadsheet looks fine (no commas). The column is formatted as text, and an apostrophe used too.
cheers,0
Categories
- All Categories
- 75 General
- 75 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 250 Dynamics CRM
- 102 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions