Add Record Link via webservice?
pizzaco
Member Posts: 2
I'm trying to create a program to automatically add URL links to G/L and Vendor Journal entries. Since the program will be "outside" of Navision, I want to do this via a webservice. So far, I haven't found a Page or CodeUnit that provides functionality to create a Record Link.
Is there any way I can get at the Record Links via a webservice?
Just to be clear, the links I'm trying to add should end up in table 2000000068, "Record Link". This for NAV 2009.
Is there any way I can get at the Record Links via a webservice?
Just to be clear, the links I'm trying to add should end up in table 2000000068, "Record Link". This for NAV 2009.
0
Comments
-
Hi,
You could create a new codeunit and add it to the web service table.
Then, you just need to create a function in the codeunit to add the link to your record by using the addlink function.
record.addlink(url,description)
Cheers0 -
there is not possible to add it just on c#?
can you send a sample code to have on codeunit..
i need to add a file to attach on Purchase Header on record link..
do you know a easy way?0 -
Hi,
Just create a new codeunit and add it to the web service table.
Then, create a new function in the codeunit called something like "AddPurchHeaderLink" with the Purchase Number, the description of the link and the url of the link as parameters.
Then, you only need to do something like thatPurchHeader.GET(YourPurchaseNumber); PurcHeader.ADDLINK(URL,Description);
Hope it makes sense0
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