Odata import error - company name 30 characters with spaces
salnav
Member Posts: 6
We are using Odata Navision API to import a sales order into MS NAV 2013 R2 and the Odata URL seems to be incorrectly calculating the Web URL below. (I've substituted the company name for privacy)
http://localhost:7068/AAAAA-NAV2013R2-DEV/OData/Company('Aaaaa Bbbbbbb Cccccccccccc Ltd')/
The result when hitting NAV is
<m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> [^]
<m:code/>
<m:message xml:lang="en-US">
The length of the string is 33, but it must be less than or equal to 30 characters. Value: ='Aaaaa Bbbbbbb Cccccccccccc Ltd'
</m:message>
</m:error>
Taking out the spaces on the test database works but this solution isn't acceptable to the customer.
I have seen reference to hot fix 363433 (You encounter a runtime error when you save changes to an OData set in a company with 30 characters in the company name.) in cumulative update 17 (March 2015) but I can't find any more info on this & don't know if this would solve this problem.
Any help gratefully received.
http://localhost:7068/AAAAA-NAV2013R2-DEV/OData/Company('Aaaaa Bbbbbbb Cccccccccccc Ltd')/
The result when hitting NAV is
<m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> [^]
<m:code/>
<m:message xml:lang="en-US">
The length of the string is 33, but it must be less than or equal to 30 characters. Value: ='Aaaaa Bbbbbbb Cccccccccccc Ltd'
</m:message>
</m:error>
Taking out the spaces on the test database works but this solution isn't acceptable to the customer.
I have seen reference to hot fix 363433 (You encounter a runtime error when you save changes to an OData set in a company with 30 characters in the company name.) in cumulative update 17 (March 2015) but I can't find any more info on this & don't know if this would solve this problem.
Any help gratefully received.
0
Comments
-
Update: Applying the hotfix solved the problem.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
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 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