QAS in the RTC
Sam_Morris
Member Posts: 32
Has anyone managed to get QAS (quick address) integration working with the Role Tailored Client?
I am currently upgrading an implementation from version 4 to 2009sp1. In the 2009 Classic Client QAS works fine, as it did in the previous version. However, when I run the same procedure call in the RTC it returns QAS error -3406
The QAS manual contains the following reference for this error:
–3406 qaerr_UIAPIALREADYSTARTED Multiple calls to UIStartup.
As far as I can tell QAS is only being called once. The same code is being used for the Classic Client and the RTC. This is the code I'm using:
The version of QAS being used is 5. At the moment I am working in a test environment so all three NAV tiers and QAS are on the same machine.
Does anyone have any ideas what the issue might be, or had any success implementing QAS in the RTC?
Thanks!
I am currently upgrading an implementation from version 4 to 2009sp1. In the 2009 Classic Client QAS works fine, as it did in the previous version. However, when I run the same procedure call in the RTC it returns QAS error -3406
The QAS manual contains the following reference for this error:
–3406 qaerr_UIAPIALREADYSTARTED Multiple calls to UIStartup.
As far as I can tell QAS is only being called once. The same code is being used for the Classic Client and the RTC. This is the code I'm using:
IF ISCLEAR(lautQasUapi) THEN
CREATE(lautQasUapi);
r_intResult := lautQasUapi.Startup('Pro UI API Test Harness','', '', '', '', 0);
IF r_intResult = 0 THEN BEGIN
....
When this is run from the RTC, the r_intResult is returned with error code -3406.The version of QAS being used is 5. At the moment I am working in a test environment so all three NAV tiers and QAS are on the same machine.
Does anyone have any ideas what the issue might be, or had any success implementing QAS in the RTC?
Thanks!
0
Answers
-
-
It's an address lookup application that you can integrate to NAV using an Automation. You send it a post code or zip code and launches an app that give you a list of possible addresses. One of these can be selected and sent back to NAV to fill in address details. This is the web address with product description:
http://www.qas.co.uk/products/capture-name-and-address-data/pro.htm
Thanks.0 -
Ok, thanks for this info.
Do not forget that the automation is created on the service tier, not on the client by default. If you want to open the UI on the client, you need to use the new third parameter of CREATE function under service tier.0 -
Thanks Kine! It's working now. It's easy when you know how!
In case anyone else has the same problem, this is how I changed my code to get it to work:IF ISCLEAR(lautQasUapi) THEN CREATE(lautQasUapi,FALSE,TRUE); r_intResult := lautQasUapi.Startup('Pro UI API Test Harness','', '', '', '', 0); ...0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K 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
- 324 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
