-
These days I keep busy upgrading Advania solutions to Dynamics NAV 2013. All the older solutions that have communicated with web services have DOM objects and manually created XML files. We had to add and remove namespace to be able to use XML ports but in the end this worked flawlessly. In NAV 2013...
-
A few days ago I published objects for NAV 2013 and details on how to use a twain scanner with the hardware hub. I know that many happy Dynamics NAV users are still using older versions so I wanted to make this solution available for NAV 2009, both in the Role Tailored Client and in the [...]
-
We have some cases where the Dynamics NAV client is running in a remote desktop and the local machine has a bar code scanner connected. One way is to have the bar code scanner configured as a keyboard. This requires the focus on the correct input field in NAV to work. The other way is to [...]
-
In NAV 2009 I used a custom control add-in to enable timers in the Role Tailored Client. NAV 2013 ships with a control add-in that is called PingPong. In upgrading one of my solution to NAV 2013 I wanted to remove the custom control and introduce the PingPong instead. The control requires a name and...
-
In August last year I posted a way to use dotnet interop and webrequest to replace the automation objects. I saw that we had a limitation that we have gotten used to. When using the WinHTTP automation we where able to look at the status and if the status was not the integer 200 we [...]
-
Some of our customers are using Intercompany Posting. This is a useful tool but I have needed to make several changes to the code to make sure that the customer gets the functionality that is needed. For example we are using separate IC Partner codes for each Responsibility Center within a single company...
-
Just sent Microsoft a suggestion on Microsoft Connect. We where trying to import data into the Sales Header table and stopped on an error. The old code is and I suggeste a change to the fourth last line
-
I wrote a solution to log blocking in NAV with the help of Microsoft SQL Native Client. I wanted to be able to use this solution for a client but then ran into a problem with the SQL Native Client. There are three versions out there and the connection string must include the version installed [...]
-
I am using web services in a company that does not have the license to use the Mobile Document Dispatcher. In Codeunit 1 and trigger CompanyClose there are functions to stop listeners. This is causing problems in the web service so I changed the code to and the error is history.
-
Always something new. I have bin using the Record Links to store pointers to scanned files, created pdf files all other files that the user would like to link to a record and store centrally. I have the option to import the file to a BLOB field and also to a separate tables in a [...]
-
In my current upgrade process I needed to copy the Record Link table from one database to another. I can use a copy-paste method for small number of records but in this case I needed something else. A Dataport or a XML Port was the way I choose to go. There is one problem though. [...]
-
In the Classic Client we had the C/AL command BEEP to sound an alert to the user. This function is not supported in the Role Tailored Client. Here we have a solution in .NET. Where Console is a RunOnClient DotNet variable ‘mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089′...
-
The Page 9082 is not displaying correct information. One of the fact boxes for sales is the Customer Statistics factbox page 9082. The last amount, “Sales YTD (LCY):” is in fact the total sales for the customer. I wanted to change this and use 12 months sales instead of YTD sales. I changed...
-
You can say; “that won’t work”, and you are correct. It will not work. Some years ago I wrote a batch that loops through customer ledger entries and creates a total. Based on that total I wanted to create a claim and send it to the local bank for collection. This batch has been working...
-
In the sales process NAV check for both credit limits and overdue balance on the customer. This is a needed process to inform the salesperson before posting the order or the invoice. However, the problem is that the warning is … Continue reading →