Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all 10032 articles
Browse latest View live

Upgrade Of LS Retail 2009

$
0
0
Dear All,

I need to upgrade the LS Retail 2009 to latest version. What is the way to upgrade from LS retail 2009 to Nav 2015 or higher version? I have few questions which help me to understand the LS upgrade.

1. Do we have to merge LS retail objects with Navision ?
2. Do LS retail provide Navision database with merge LS retail objects?


The Currency does not exist. Identification fields and values: Code=''?

$
0
0
Hi everyone,

When I try to void a check, I got an error: "The Currency does not exist. Identification fields and values: Code=''
I don't why, so can you let me know how can I pass this error?

Thanks!

Use Dynamic NAV web services with Android (Java)

$
0
0
Hello guys,

since a few days I try to use web services with the Android SDK. Normally it should not be a big problem, because Android supports SOAP and I never had any problem to use web services from webpages. But NAV makes problems.
I haven't got any problems to establish a connection to the webservice, it seems that the request doesn't work...

Take a look:
String great = "";
String namespace = "urn:microsoft-dynamics-schemas/codeunit/CU_Vendor";
String url = "http://mch:7047/DynamicsNAV/WS/CRONUS International Ltd./Codeunit/CU_Vendor";	
String soap_action = "urn:microsoft-dynamics-schemas/Codeunit/CU_Vendor:Getvendor";
String method_name = "Getvendor";
	    
try
{
		SoapObject request = new SoapObject(namespace, method_name);    
		SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
		        
		 envelope.dotNet = true;   
		 envelope.setOutputSoapObject(request);   
		 HttpTransportSE transport = new HttpTransportSE(url);    
		 transport.call(soap_action, envelope); // Receive Error here!
	         SoapObject result = (SoapObject) envelope.getResponse();
	         great = result.toString();
}
catch (Exception e)
{
			great = e.toString();
}
return great; // Out there is a DialogAlert which manages output.

I get following Errormessage:
org.xmlpull.v1.xmlpullparserexception:
unexpected type (position: END_DOCUMENT null@1:0 in
Java.io.inputstreamreader@44c4d2f0)

The Codeunit "CU_Vendor" has got "Getvendor" a function which returns the name of the first vendor.
I use the ksoap2-Library.
The same code works perfectly with web services from webpages.

Has anybody a idea to solve my problem?

Greetings:

El Barto

Install Dynamics NAV 2016 problem

$
0
0
Hello,
I installed Microsoft Dynamics NAV (Demo Installation) ,but I have this server error (print Screen)
Someone have an idea ?
For information,I have the same problem with install Dynamics NAV 2015

Thank you

How to undo Charge (item) return receipt?

$
0
0
Hi,

After posting a Sales Return Order, go to posted receipt -> Functions -> Undo Return Receipt and got the error that it can only be done for item type only. Is there another way of achieving this?


Thanks.

Problem. SelectSingleNode('SomeNode') returns a variable of type "nodelist". Not node.

$
0
0
Hi

I have had several occurences of a very peculiar error. It happens in various versions of Dynamics NAV 2013 and up.

What happens is as follows:

Variable: CurrNode - XmlNode
CurrNode := xmlDoc.SelectSingleNode('error');
CurrNode := CurrNode.SelectSingleNode('message');
ERROR(CurrNode.InnerText);

When the above code is executed I get the error Message:
A call to System.Xml.XPathNodeList.SelectSingleNode failed.... blah blah blah...

The error occurs on this line:
CurrNode := CurrNode.SelectSingleNode('message');

That is very odd. Seeing as CurrNode is defined as:
System.Xml.XmlNode.'System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Which is NOT a nodelist. I then run the debugger on the above code and what happens now is that CurrNode is no longer a variable of type XmlNode .. it has been changed to XmlNodeList which shouldn't technically be possible. But never the less that is what happens.

Has anyone else come across this problem ?

In one instance it was solved by running a windows update on the machine where the code failed. But in other cases I have had to change the code to:
CurrNodeList := xmlDoc.GetElementsByTagName('error');
CurrNode := CurrNodeList.Item(0);

Which works...

This has me stomped and instead of rewriting the code to replace every SelectSingleNode to GetElementsByTagName I would much rather find out what exactly is causing this and find out how to resolve it.

LS Retail POS

$
0
0
Dear all,

I have an issue with transaction posted to Nav via LS Retail POS - Hospitality.
The recipes were created erroneously using the Items that were setup with incorrect unit of measure conversions. We picked up this issue 7 months later and fortunately, only 3 transactions (1 per month) were posted. Unfortunately, the qty's were quite high and therefore the costs posted was ridiculously high.
Example, recipe was setup to use 5grams of an item, but the conversion from gram to kilogram was 1 and not 0.001. So the recipe posted incorrectly and incorrect costs.

A service provider mentioned to me that I can reverse/void the transaction, which I have tried. Everything did reverse/void, however, the cost is slightly different.
Example, the GL shows cost of 5000. When I reverse it, it shows a cost of 5600. This is probably due to some of the ingredients being purchased at different costs over the months, and now, months later it is using the current cost on the item card (FIFO).

I want to reverse the transactions exactly the way it was processed and then re-process them on the same day. Is there a way for me to achieve this? If not, what are the possible solutions?


Thanks.

Open external mail client with RTC

$
0
0
Hi,
I want to open an external mail client (e.g. Outlook) in NAV.
In the CC I use the automaition WSHShell and everything works fine.
For the RTC I tried to use the DotNet Sys.Diagnostic.Process, but nothing happens... :(
Has anyone an idea?

Here's my code:

Automation: com_WSHShell - 'Windows Script Host Object Model'.WshShell
DotNet: dtn_process - 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Diagnostics.Process

IF ISSERVICETIER THEN BEGIN
  dtn_process := dtn_process.Process;
  dtn_process.StartInfo.UseShellExecute := FALSE;
  dtn_process.StartInfo.FileName := 'rundll32.exe';
  dtn_process.StartInfo.Arguments := 'url.dll,FileProtocolHandler mailto:'+toAddress+'?subject='+subject;
  dtn_process.StartInfo.CreateNoWindow := FALSE;
  dtn_process.Start();
  CLEAR(dtn_process);
END ELSE BEGIN
  IF ISCLEAR(com_WSHShell) THEN
    CREATE(com_WSHShell);
  com_WSHShell.Run('rundll32.exe url.dll,FileProtocolHandler mailto:'+toAddress+'?subject='+subject);
END;

Encoding on objects exported to text

$
0
0
Hi,

I'm working on a danish solution, with special characters.
If I export my objects to text and open the exported file in a text editor, all special characters are interpreted wrong.

How can I tell which encoding I have to open and save my files with?

Get Auto Generating Date using Last Date?

$
0
0
hello,
I Have create one table. The Fields is(Last service date and Next service date).
How to Get Next service date automatically by last service date. The duration will be 90days.

please give me a solution.

Thanks

Dynamics NAV 2016 : Not able to run Customer statement.

$
0
0
I am facing a strange issue in dynamics nav 2016. When i tried to run the Customer Statement from RTC it does not show any output. When i go and see in windows event view it shows be this error "Could not locate the control add-in library for "Microsoft.Dynamics.Nav.Client.SocialListening;PublicKeyToken=31bf3856ad364e35".
I have add this Add-in library in the Add-in system table also this dll is located in Program Files under service -> add-ins folder...

Can anyone tell me how to fix it?? I m not able to run customer statement either from dev environment or from RTC.

how to generate pop-up message for due or not due date.?

$
0
0
hello,
I want to generate a pop-up message when date is already due.

Get the following line in a report

$
0
0
Hello everyone, I was wondering if there's a method to store in a variable the next line in a report. My aim is to show in a message if the sequence of record is interrupted.. i.e.: in the report I get 5 lines: "1","2","4","5","7". I want to have the message "the sequence was interrupted 2 times". How can I do this? Thank you!

How to get the session an count the licenses available

$
0
0
Using a Dynamics Nav 2016 solution with multi-tenancy, we need to calculate the number of licenses we are currently using, to check wheither we have to buy more fulluser licenses or not.

I use PowerShell to get the tenants (foreach) and than I count the sessions and list the users.

but I'm getting an higher number of open sessions than It's supposed.
The user that are running the service are using 77% of the total open sessions.

PowerShell

cls
$tenants = Get-NAVTenant -ServerInstance dynamicsnav90

$totalSessions=0

foreach ($tenant in $tenants)
{
$s=0
#$obj = Get-NAVServerSession -ServerInstance dynamicsnav90 -Tenant $tenant.Id
$sessions =Get-NAVServerSession -ServerInstance dynamicsnav90 -Tenant $tenant.Id
foreach ($session in $sessions)
{
$s+=1
$totalSessions+=1
Write-Host ("{0}`t{1}`t{2}" -f $tenant.Id,$session.UserID,$session.IsReadOnly)
}


}
Write-Host ("Total Sessions`t {0}" -f $totalSessions )

Is this wrong or I have to exclude the service user or there is another way?

Thanks

Date conversion XMLport

$
0
0
Hi
I want to export the deliverydate via an XMLport
within nav the format is 01/10/17 and i need 10-01-17
is there some Export::OnBeforePassVariable() to convert it ?

with regards

checkbox on a factbox

$
0
0
hello, i want to add a checkbox on a factbox, but it is always showing a yes/no values . I want to show the checkbox as it is so that I can check or uncheck it from the factbox.
any suggestions ?

Config. Package Fields Page Not including Blob Field

$
0
0
I am trying to migrate data from my client's existing system into nav 2016. I am running into an issue where I added a blob field to a table and now the field is not showing up on the Config. Package Fields page. I would like to be able to import this through the tools provided.

First question, can I export/import blob fields through the RapidStart tools?

Second question, if first is no, what is the best pracatice? Should I go through SQL Server?

Thank you,
dj

Merge conflict:((

$
0
0
Publish-NAVApp : Merge Conflict: Could not update Table 18. The base application or a referenced NAV App has
already made this change.

ServerInstance?

$
0
0
I want publish my navx package,but it need a serverInstance name for my Newly created database..I dont know how i map my newly created database to a service and want to know the service name...

Upgrade from 2013R2 to 2017

$
0
0
Hello everyone!
I'm just about to make the upgrade from 2013R2 to 2017. Looking in different forums and blogs, i have deduced that I need to have installed the 2017 version. Is this right? Does this new version have to be installed in the same machin, or I can install it in another machine??
Thank you
Viewing all 10032 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>