KEY Field used by WEb Services
Malhody
Member Posts: 14
Hey Guys,
i got to use some pages as a web service and when i want to create an dynamic gridview, the first field is "Key", it's value is like: 300;uhMAAACJATEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=6;2631040;
this is key field from contact record......
why is this key so important???? primary key is Contact."No." and would identify the record...
help needed... thanks alot
ps: sorry for bad english
i got to use some pages as a web service and when i want to create an dynamic gridview, the first field is "Key", it's value is like: 300;uhMAAACJATEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=6;2631040;
this is key field from contact record......
why is this key so important???? primary key is Contact."No." and would identify the record...
help needed... thanks alot
ps: sorry for bad english
0
Comments
-
It is bookmark which identifies the record inside NAV. You can get it through "FORMAT(RecRef.RecordID,0,10)". It is used e.g. when using URL to open RTC page, to connect hyperlinks from NAV RTC report to NAV page etc.0
-
Actually the key and the bookmark are two different things.
The bookmark is used for interaction with the RoleTailored Client and can be retrieved with the FORMAT statement described.
The key is important because it gives you not only an indication of which record we talk about, but also which version of that record - this way you cannot update a record which have been updated by other people - you will get an exception - btw. people can rename the No. of a record.
Admitted it looks ugly and long - but you shouldn't ever have to look at it - and if you display things in lists you should find a way of making it invisible.Freddy Kristiansen
Group Program Manager, Client
Microsoft Dynamics NAV
http://blogs.msdn.com/freddyk
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.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
- 322 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
