A Brief Snapshot of what’s New in NAV 2015 (CRETE – Coming soon)
#Navision #MSDYNAMICSNAV #NAV2015 #MSDYN
Microsoft Dynamics NAV 2015 Windows 8.1 App
Description
Features
- Get an overview of your business in the Role Center.
- Tap and swipe to get to your data and drill down into details.
- Search across all columns in a list.
- Send lists to Microsoft Excel or Office 365.
- Shoot pictures using the camera on your mobile device and upload them to Dynamics NAV.
- Rotate your device to get an overview of your data or focus on content.
- Use two apps side by side and see, for example, customer details while you talk via Skype or Lync.
Interactive Reports in NAV 2013 R2–Drill Down
In continuation to my earlier post ‘Interactive Reports in NAV 2013 R2 – Dynamics Sorting’, in this session we will see how we can drill down from the report preview to more detailed data
---------------------------------------------------------
You can refer to my earlier post describing interactive sorting in NAV 203 R2 in the following link -
Interactive Reports in NAV 2013 R2
---------------------------------------------------------
We will use our existing report designed in my last post [Interactive Reports in NAV 2013 R2] and will incorporate a drill down facility from the ‘Inventory’ column in the report to the Item Ledger Entry corresponding the the report’s item No. Probably the design should be as below -
Now to achieve this we need to do 3 things -
- Create a link to ‘Item Ledger entry’ page (Page no 38) and
- Connect the same link with ‘Inventory’ field in the report and
- Enable your report to use an external link (URL)
Create a link to ‘Item Ledger entry’ page:
Creating a link to a page in NAV 2013 R2 is simple. Open any Item Card and drill down from the inventory field -
This will open the ‘Item Ledger Entry’ page filtered out by the item from whose card you are drilling down -
Click on the down arrow key in the upper left corner of the page and go to Page > Copy Link to Page. Open a notepad and paste the link (you need to further edit it)-
here is the link URL pasted (This link relates to my NAV server and Company):
This link contains lot of information about the target page and some part of this link can easily be removed to make it more generic. This link has the following information -
Link Text | Purpose |
dynamicsnav://dss-282:7046/DynamicsNAV71 | Target Server Instance and port no |
/CRONUS%20India%20Ltd. | Target Company |
./runpage?page=38&personalization=38& bookmark=12%3BIAAAAACHNAE%3D&$ | Target page no 38 and bookmarking |
filter=%27Item%20 Ledger%20Entry%27.%27Item%20No.%27%20IS%20%271000%27 | Filer information. Here the data is getting filtered by ‘1000’ on ‘Item No.’ field in target data (Item Ledger Entry) |
&mode=View | Open the page in View mode |
So I will remove the ‘Target Server’, ‘Port No’, ‘Target Company’ and the ‘Personalisation’ part to make it usable for any server, any database or company (you can port this object to any other database in any other server and it will work fine). post my changes, the link will look like this -
dynamicsnav://///runpage?page=38&filter='Item Ledger Entry'.'Item No.' IS '1000'&mode=View
[I have replaced the %20 with space and %27 with a single quote (‘)]
Right now the above link will open the Page 38 filtering the ‘item ledger entries’ with the Item No. ‘1000’. We need to change it further to make it filter data dynamically with the item no from the report. We will make this change directly in report builder in our next step.
Connect the same link with ‘Inventory’ field in the report:
Open the report in NAV 2013 R2 development environment and go to View > Layout. This will open the report layout in SQL Server Report Builder.
____________________________________________
Note: To learn how to use SQL Server Report Builder 3.0 (instead of Visual Studio 2013) for NAV 2013 R2 report layout designing, you can refer to my earlier post NAV 2013 R2 Report layout design with Report Builder
____________________________________________
Right click on the ‘Inventory’ textbox and go to ‘Text Box Properties’.
Go to ‘Action’ tab and select the radio button in ‘change action option’ to ‘Go to URL’. After this click on the ‘fx’ (as circled above) button next to ‘Select URL’ text box.
Here I have modified the URL with the following changes:
- Added a ‘=’ sign in front of the URL
- Included the entire URL inside double quotes
- Replaced the text ‘1000’ (the item no) with the text ‘+Fields!No.Value+’. This makes the URL to pick up the Item No. from the value displayed in ‘No.’ field in report.
____________________________________________
Instead of manually typing it, you can actually select the ‘Fields (DataSet_Result) in Category box, Select ‘<All>’ in Item box and then double click on ‘No.’ in the Values box.
____________________________________________
Post the above changes, my final URL looks like this -
="dynamicsnav://///runpage?page=38&$filter='Item Ledger Entry'.'Item No.' IS '"+Fields!No.Value +"'&mode=View"
Now the field ‘Inventory’ is perfectly linked to the page 38 (Item Ledger Entry). Next let us complete our 3rd step -
Enable your report to use an external link (URL):
Save the report layout and come back to NAV 2013 R2 development environment (Report designer). Go to a blank line at the bottom of the report and click on View > Properties -
Change the property ‘EnableHyperlinks’ to ‘Yes’.
And that’s it. You are ready with your NAV 2013 R2 interactive report from where you can drill down to more detailed data. Let us test the same.
Save the report and run it from the Object designer itself (that’s the good thing you can do in NAV 2013 R2 but not in NAV 2009 ).
Once the request page opens, just click on the ‘Preview’ button. This will open the report viewer window. Hover your mouse on the ‘Inventory’ field values and you will see the cursor is getting changed to a ‘hand’ denoting that you can drill down from that value. Click on the value and Item ledger entry page will open up with the entries corresponding to the item no in the report.
Try and see if all values are opening it’s corresponding item ledger entries only.
Hope you are able to follow the steps mentioned here in creating your own interactive reports. You can leave your comment here in case you face any difficulty or you can write to me on the same at snehanshu.mandal@gmail.com.
Catch you in my next post / session on NAV 2013 R2. Till then happy reading.
Interactive Reports in NAV 2013 R2
- Interactive sorting
- Drilling down to detailed data
- Toggling the visibility of any field [say image] based on user action.
ADCS – Automated Data Capture System
Probably I felt about writing on ADCS (Automated Data Capture System) configuration in Microsoft Dynamics NAV 2013 R2, when I myself struggled a bit to gather all the relevant information to manage it properly. There are always some missing points in all documentation related to ADCS configuration and all of them are not collated together very well in any documentation.
[the above image is taken from msdn site]
I am not going into details of the architecture here. I assume you already understand it or will read about it on your own.
Now, what exactly you need to concentrate on to configure the ADCS? I divide it into 4 parts:
Let me install ADCS afresh in my laptop and describe the steps to you:
A. Installation of ADCS:
I already have NAV 2013 R2 installed in my laptop and I am opening the add / remove programs and adding the ADCS component to the same by clicking on the ‘Change’
Once the NAV 2013 R2 maintenance window opens, select ‘Add or Remove Components’. This will open the list of components available to be installed -
Click on the ‘Automated Data Capture System’ and select ‘Run from my computer’. Click on the ‘Next’ button and that will open the ‘Specify parameters’ window -
if you have NAV 2013 R2 already installed, you don’t really need to change anything in this window. Review the properties and click on the ‘Apply’. This will start installing the ADCS component for Microsoft Dynamics NAV 2013 R2
This completes the installation of NAV ADCS component. Let me go to my next step -
B. Configuration changes in NAV for ADCS:
Once the installation is successfully done, let us come back to NAV RTC and check few things in which will enable ADCS to communicate with NAV server / database effectively –
B.1 ADCS User:
You need to create a ADCS user which will be used for authenticating the device’s access to the database. Go to ‘CRONUS India Ltd. / Departments / Administration / Application Setup / Warehouse / ADCS’ and open the ‘ADCS Users’
Create a new user and assign a password to it. The same user id and password you need to pass while connecting NAV from the handheld device.
B.2 Connect ADCS user with the Warehouse Employee:
Link between windows user [warehouse employee] and the ADCS user you have just created in previous step.
B.3 Enabling Location for ADCS use:
Open the location card [where the above defined user has access to work on] and tick ADCS checkbox in the warehouse fast tab.
B.4 Check the miniforms:
Go to ‘<Company Name> / Departments / Administration / Application Setup / Warehouse / ADCS’ and open the list of miniforms
These are the default miniforms available in ‘Cronus’ company and the same can be copied to any new company / installation you have created. These miniforms can manage all the standard warehouse functions / activities but you have the liberty to create additional miniforms to cater to additional custom activities [If you create any additional miniforms, the same may need changes in the associated ADCS related codeunits in NAV. These codeunits are between 7700 and 7714].
B.5 Publish the ADCS Web Service:
Publish the Web Service which will be called by the VT100 Component [Check the architecture at the top of the post] of NAV. Open the Web services window and add a new service with the object type ‘Codeunit’ and select 7714 in ‘Object Id’ -
Be sure the to keep the Service Name as ‘ADCS’. Check the service availability by copying the SOAP url and pasting it in your browser. This should display the details of the Web Service.
C. Logon permission to VT100 Service
Additionally the ADCS component of NAV [Microsoft Dynamics NAV VT100 plugin] must have the access to NAV database. This is determined by whether the logon user used for this plugin has the necessary permission in NAV database or not.
Start the service of this plugin once you are done with logon information changes.
D. ADCS config file:
Lastly you need to check if the information mentioned in the ADCS config file are correct as per the NAV environment you are working on. Go to ‘C:\Program Files (x86)\Microsoft Dynamics NAV\71\Automated Data Capture System’ and edit the ‘Microsoft.Dynamics.Nav.VT100Plugin.exe.config’ file. [Note: VT100 plugin is a 32 bit application and i have 64 bit OS. That;’s why it under the folder ‘Program Files (x86)]
a. “NavWSEndpoint” url: Make sure this has the right url pointing to your ADCS web service. You can actually copy the SOAP url from the ADCS Web Service in Web Services window and paste it here.b. Terminal listenIP: This denotes the IP address of the machine that is running the VT100 Plug-in service. 127.0.0.1 denotes the localhost. This you need to mention while logging to VT100 plugin from Handheld devices [This you can find in your Hosts files located in ‘C:\Windows\System32\drivers\etc’ folder]c. Terminal listenPort: VT100 plugin uses port number 6666 by default.
Note: if you have changed any text in this file for your environment, please make sure that you have restarted ‘Microsoft Dynamics NAV VT100 Plugin’ service.
Phew! Thankfully all the configuration is now over and I need to test the same. For this I will try simulating the ADCS functionality using a HyperTerminal client application or Telnet. As windows 7 (my os) no longer have a HyperTerminal client included I will settle for Telnet,
[Note: you can enable Telnet in ‘add or remove programs > Turn windows feature on or off’ from control Panel if it is already not enabled / not visible]
So I have run the telnet and the telnet command prompts open up. Below mentioned command prompt is to connect to my VT100 service using port no 6666 in localhost-
‘o<space>localhost<space>6666’
Pressed enter and I got the ADCS login window displayed in my telnet command prompt -
Typed in my user id and pressed enter. Typed in my password and pressed enter.
That ends my session on configuring ADCS in Microsoft Dynamics NAV 2013 R2. From here you can go
ahead and experiment on the default ADCS functions available in NAV.
If you want further details on troubleshooting, you can refer to below msdn link -
See you guys in my next post (probably a topic on interactive report designing in NAV 2013 R2. Keep Reading