Академический Документы
Профессиональный Документы
Культура Документы
Sup p or t Not es
Copyright 2012, LSRetail ehf. All rights reserved. All trademarks belong to their respective holders.
Cont ent s
1 Intr oduction ............................................................................................................................... 1
2 Pr e-r equir ements..................................................................................................................... 1
3 Connect to NAV web ser vice fr om your desktop machine ......................................... 2
4 Connect to NAV web ser vice fr om the mobile device .................................................. 4
5 Mobile Inventor y application on the mobile device .................................................... 6
6 Tips ................................................................................................................................................ 7
7 Er r or s encounter ed ................................................................................................................. 9
8 Emulator installation on Windows 7 ...............................................................................11
9 Emulator installation notes for Vir tualBox 4.2.0 ........................................................12
Revision Hi st or y
LS Retail ehf.
Katrnartn 2, 105 Reykjavk, Iceland
Tel: +354 414 5700 Fax: +354 571 2728
LS Retail Mobile Inventory Support Notes
Download the latest version of LS Retail NAV from http:/ / partners.lsretail.com and
extract the file LS Retail NAV 6.4 Part 4 Other.exe to a local folder and locate the
mobile application files.
This support note assumes that the mobile device is connected to a windows desktop
machine via USB cable. It does not cover why you cannot connect to the NAV web
service over the wireless network. The mobile device can be replaced with a Windows
Mobile 6 Emulator.
Chapter 1 - Introduction 1
LS Retail Mobile Inventory Support Notes
This test application sends and retrieves data from NAV in XML format. You can
change the values in the XML request body without breaking anything.
Select a few different web calls and retrieve the data from NAV.
o At star tup the Mobile Inventor y application uses the
IM_TEST_CONNECTION, IM_GET_SETUP_DATA and
IM_GET_WORK_DATA. So it is a good idea to test them.
The Display xml response check box can be unchecked when you do not want
to retrieve megabytes of data into the response textbox.
This test application can also be helpful when checking the data returned from NAV
since it uses exactly the same web methods and xml data structure as the Mobile
Inventory application.
Mobile devices are more sensitive to the URL encoding, so you may need to encode
every special character in the URL on a device even if the same URL works fine on a
desktop machine.
For example, this URL without encoding works on a desktop machine but may not on a
mobile device
http:/ / 172.22.17.76:7047/ DynamicsNAV/ WS/ CRONUS LS 2009 (6.4)W1 Demo -
9/ Codeunit/ RetailWebServices
Notice that you need to encode every special character. For example, if you do not
encode the period . then your mobile device may not be able to connect to NAV.
Keep the URL as simple as possible, no special characters like ().- although blank
spaces seem to work fine on a mobile device.
Note that our applications use the .Net Compact Framework 3.5 so if the device/ emulator
does not have it installed then download it from http:/ / www.microsoft.com/ en-
us/ download/ details.aspx?id=65 and install it on device/ emulator.
The Mobile inventory Application uses SQL Server compact 3.5 so if the device/ emulator
does not have it installed then download it from http:/ / www.microsoft.com/ en-
us/ download/ details.aspx?id=12264 and install on device/ emulator.
6 Tip s
There is a great tool called myMobiler (http:/ / mymobiler.com/ ?cat=4) that allows you
to remote display a mobile device from your desktop. Simply connect via USB using
Windows Mobile Device Center and you can control the mobile device remotely.
You should be able to connect to the NAV web service URL with inter net explorer (also
from the mobile device browser). Internet explorer should prompt you for the
username and password.
Search for items in a worksheet. Check how the search if performed against the NAV
server. For example, if Positive Adjustments search returns nothing it is probably
because the Search for Item by is set to None. Change it and restart the application.
Chapter 6 - Tips 7
LS Retail Mobile Inventory Support Notes
Chapter 6 - Tips 8
LS Retail Mobile Inventory Support Notes
7 Er r or s encount er ed
Er r or Solution
<?xml version="1.0" encoding="utf-8"
standalone="no"?> Check if the LS Retail Toolbox has been
<Response><Request_ID>IM_GET_MASTER_DATA</ R installed. Under Tools/ Custom Controls
equest_ID><Response_Code>0099</ Response_Code> look for the LS Retail controls. If not found
<Response_Text>This message is for C/ AL install from it from
programmers: Unable to create an instance of \ Setup\ LS Retail Toolbox 6.4
Automation Server {4632654B-DAEC-4087-A7E7- \ Setup\ LS Retail ToolboxRTC 2.02
F97308E24BEB} with CLSID = 4632654b-daec-4087-
a7e7-f97308e24beb Retrieving the COM class factory
for component with CLSID {4632654B-DAEC-4087-
A7E7-F97308E24BEB} failed due to the following
error: 80040154..</ Response_Text></ Response>
\ Microsoft Dynamics
NAV\ 60\ Service\ CustomSettings.config
MissingMethodException. Could not load type xxx Make sure the .Net Compact Framework
from assembly xxxx,. 3.5 and SQL Server compact 3.5 are
installed on device/ emulator
Helpful links:
Connect from the emulator to the internet with internet explorer (www.google.com).
Read these articles to configure the emulator so it can connect to the network.
SUCCESS !
Microsoft Virtual PC
o vpc-64setup.exe
Mobile Device Center
o drvupdate-amd64.exe
Device Emulator
o vs_emulator_x64_vista.exe
Emulator Images (different device screen sizes )
o Windows Mobile 6.1 Professional Images (USA).msi
Now you should configure Device Emulator network settings on device itself and cradle
in Device Emulator Manager.
Files that must be installed on the Emulator prior to installing LS Retail Mobile
Inventory are listed here below. Create shared folder in Virtualbox (this option is
installed with VirtualBox Guest Additions), copy these files to shared folder, open Mobile
Device Center and open browse mobile device and copy files in to program files folder.
Go to emulator itself and click these files for installation.
.NET framework 3.5 for Windows Mobile
o NETCFv35.wm.armv4i.cab
SQL CE database for Windows Mobile
o sqlce.wce5.armv4i.CAB
Configure Emulator (see installation for Emulator on Windows 7 above if not already
done) copy LSRetailMobileInventor y.CAB to Emulator and run.