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

XMLPort locks the whole Table

$
0
0
Hello,

we're importing a large file (~4 million lines) via XMLPort into NAV2017.
This should be done multiple times a day but it it seems the XMLport locks the whole table rather than the one line. Because the table is linked into the Item/27-table working with items is more or less impossible while the XMLport is running because every other click results in a "table is locked by another user"-message.
The Transactiontype ist set to default UpdateNoLocks.
Is there a way to change the XMLport-behavior or some kind of programming pattern (temp-tables, etc.) to avoid the locking of the whole table?

problem filtering Date system table in report's DataItem (NAV 2016)

$
0
0
If system table Date used as DataItem in report then filter by "Period Start" ignored.
Test report see below, it collects too many lines (must be only one).
Debugger shows field out of filter xua74vqygztn.jpg
Platform bug?

OBJECT Report 69200 Test Dates
{
OBJECT-PROPERTIES
{
Date=21.04.17;
Time=13:01:56;
Modified=Yes;
Version List=;
}
PROPERTIES
{
}
DATASET
{
{ 1000000000;;DataItem; ;
DataItemTable=Table2000000007;
DataItemTableView=SORTING(Period Type,Period Start);
OnPreDataItem=BEGIN
SETRANGE("Period Type",0);
SETRANGE("Period Start", WORKDATE, WORKDATE);
END;
}

{ 1000000001;1;Column;bd ;
SourceExpr=Date."Period Start" }

{ 1000000002;1;Column;ed ;
SourceExpr=Date."Period End" }

{ 1000000003;1;Column;nm ;
SourceExpr=Date."Period Name" }

}
REQUESTPAGE
{
PROPERTIES
{
}
CONTROLS
{
}
}
LABELS
{
}
CODE
{

BEGIN
END.
}
RDLDATA
{
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner&quot; xmlns:cl="http://schemas.microsoft.com/sqlserver/reporting/2010/01/componentdefinition&quot; xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition"&gt;
<DataSources>
<DataSource Name="DataSource">
<ConnectionProperties>
<DataProvider>SQL</DataProvider>
<ConnectString />
</ConnectionProperties>
</DataSource>
</DataSources>
<ReportSections>
<ReportSection>
<Body>
<Height>2in</Height>
<Style />
</Body>
<Width>6.5in</Width>
<Page>
<Style />
</Page>
</ReportSection>
</ReportSections>
<Code>Public Function BlankZero(ByVal Value As Decimal)
if Value = 0 then
Return ""
end if
Return Value
End Function

Public Function BlankPos(ByVal Value As Decimal)
if Value > 0 then
Return ""
end if
Return Value
End Function

Public Function BlankZeroAndPos(ByVal Value As Decimal)
if Value >= 0 then
Return ""
end if
Return Value
End Function

Public Function BlankNeg(ByVal Value As Decimal)
if Value < 0 then
Return ""
end if
Return Value
End Function

Public Function BlankNegAndZero(ByVal Value As Decimal)
if Value <= 0 then
Return ""
end if
Return Value
End Function
</Code>
<Language>=User!Language</Language>
<ConsumeContainerWhitespace>true</ConsumeContainerWhitespace>
<rd:ReportID>0eeb6585-38ae-40f1-885b-8d50088d51b4</rd:ReportID>
<rd:ReportUnitType>Inch</rd:ReportUnitType>
</Report>
END_OF_RDLDATA
}
}

NAV Report Question

$
0
0
In a report that has DataItem called Customer and Record Variable called CustomerRec.. Please what is the difference between the data item and the record variable.. To me, I am new to NAV development, I need to know why making use of two tables that are the same one as Data item and the other is a record variable.

upgrade from DYNAMICS C5 to Microsoft Dynamics NAV 2016.

$
0
0
Hi Guys,
One of our customers want to upgrade from DYNAMICS C5 (NAVISION C5) to Microsoft Dynamics NAV 2016. I have upgraded Nav 4.0 to NAV 2016. So upgrade from DYNAMICS C5 to Dynamics is Same as we do normal NAV upgrade projects? or we we need to go for rapid implementation to get customer data in stander ed NAV 2016?
I read about a data transformation tool. Can any one suggest what will be the right approach to do this?

Foreign language characters in US HTML not rendered properly in NAV2016

$
0
0
Hi all,

We have built an email engine that takes templates stored in HTML and uses the NAV SMTP codeunit (CU400) to build and send emails to customers. We have a large number of Spanish-speaking customers and send out emails written in Spanish.

The HTML templates are built by our marketing and accounting department users, using Microsoft Word and saving the templates as HTML.

I am having a problem with foreign language characters such as "accented" characters or the n with a "tilde" over the letter (I don't know how to type these characters in this forum message, so I've attached a file with an example.)

For example, instead of an an accented "o", the email message (or printout) will print an upper case "A" with a tilde over it followed by a 2 spaces. So the word "cordon" appears as "cordA n".

In NAV2009, the emails send and print with the proper rendering of the special characters - this is happening only in NAV2016.

So far, my only solution has been to bring up the HTML file in a text-based HTML editor and replace all accented "o" characters with the HTML equivalent of "ó". This of course is very cumbersome.

I haven't been able to find an HTML "WYSIWIG" editor that will allow me to make these changes easily - I have tried BlueGriffon, Kompozer and TinyMCE - they all have the issue of as soon as you open a file that has the HTML codes for foreign characters, it will replace those HTML codes with the character equivalents.

Has anyone had to deal with this issue in NAV2013-2016? Any solutions?

A document is attached with a more detailed example.

Thx
Ron

Setting up a Power BI in NAV 2015

$
0
0
Hello people,

We are currently looking into setting up a Power BI in NAV 2015. Since I'm not a big tech guy, I thought it would be a good idea to ask some of you guys, who might have a bit more experience with this.

First of all, I'm having some trouble figuring out what is the easiest and best way to connect Power BI to NAV 2015. Here I would like to hear what you guys recommend, since there isn't alot of information about this on the web - at least not about how to connect it with NAV 2015.

The other thing is that we would like to have relations in our reports so we can compare our current figures, monthly figures and year to date figures, with the same figures of last year - is that possible? If so, I would also like to hear a bit about how to do that.

I would appreciate any help or response!

Read XML File

$
0
0
I was hoping someone could help me. I want to be able to read an xml file in code rather than through an XMLPort. I know there are other threads out there on this but they can all get a bit confusing especially as it's an area i'm not overly familiar with. Can someone just give me a quick pointer on how I can read the file and the nodes. I keep falling down when I try it so would like just a basic bit of code that I could follow. Any help would be appreciated

XMLPORT(Export) save in a destination automatically

$
0
0
Hello everyone,

I create an XMLPORT to export some information from navision 2013 R2, I want when i run the XMLPORT, it will saving automaticaly in a destination that it is alreadey setup.
How can i do this?
I write this in OnPreXmlPort:

currXMLport.FILENAME(InterfaceSetup."Export Contract Comete Folder" + FileName + '.csv');
But when i run i have the dialog box to save.
I would like that should saving automatically in this folder.

Setting default Filter

$
0
0
Hi on the Planning worksheet when you select Calculate Regenerative Plan the Filters for the Item are set as "No." and "Search Description". How can I change this to add "Stockkeeping Units Exist" - Yes as well as default for all users??

Thanks
xaz9k3uetxq3.png

Setup Power BI in multi-tenant environment

$
0
0
I was looking for this topic for few days now but wasn't able to find any appropriate information on this, so I'm posting this question in this thread.
I'm currently testiong NAV2017, and my goal right now is to build a multi-tenant environment where each tenant can connect to PowerBI.com, and show the reports on the RoleCenter (new feature in NAV2017).

I'm failing when I'm trying to add the NAV Content Pack from the PowerBI.com, and I don't know what to put in the parameters.
Below is what I'm entering, and I'm getting an error "Failed to update data source credential"

URL = https://[server]/DynamicsNAV100/OData/Company('[Company Name]')/?tenant=[tenant name]
Authentication Method = Basic
User name = [user name defined in NAV]
Password = [password defined in NAV]

Any idea where I'm doing this wrong?

Note:
  • My environment is setup with NAV2017 CU1 NA
  • I can confirm that when I enter the above OData url, I can get to list of published web services

Warning event on Dynamics Nav 2017 server.

$
0
0
Hi!!!

We are now working with Microsoft Dynamics nav 2017 and in one server I have a lot of warning messages in Event viewer,
and I can not find information about it, this is the message:

Server instance: XXXXX
Category: Sql
ClientSessionId: 00000000-0000-0000-0000-000000000000
ClientActivityId: 00000000-0000-0000-0000-000000000000
ServerSessionUniqueId: 825880d5-27d3-4a4f-8f71-d50349968634
ServerActivityId: 00452ebe-3b44-4270-ac68-d81026b6af4c
EventTime: 03/08/2017 08:30:30
Message <ii>NavSqlQueryCommand is recreated due to the changed connection.</ii>
ProcessId: 26008
Tag: 00000BS
ThreadId: 253
CounterInformation:

The event viewer may contain more than 200 events every second!!!
This Navision instance is used to call web services and return data asychronously, suddenly the cpu of this server shoots to the top (100% usage) and the instance needs to be restarted.


Thanks a lot for your help.

Lotwise Inventory report

$
0
0
Dear all,

Is there a lot wise item movement report in NAV?

Thanks & Regards,
Rahul

Installing NAV 2017 with single click (via PowerShell)?

$
0
0
Hello, i need to make a script that installs NAV.

1)Installs NAV (Parameter: Installation folder path)

2)Restores a DB (parameter: Database path)

3)Creates an NAV Instance (Parameter: a config XML)

3.5) Starts the instance.

4)Uploads Customers License to DB. (Parameter: Customers License File)

5)Installs Language Pack. (Parameter: A Setup file which includes translated ResX files and build.)

6)Adds some records to Add-ins table for Turkish Lang. to be enabled.

7)Copies a txt files to a directory for caption translations. (Parameter: Source file and destination path)

8)Restarts the instance for enabling the Language Pack and Translated Captions.


I am pretty sure that the items above can be achieved with PowerShell comandlets. Can anyone assist me to create this script ? Our company is going to need install a lot of navision instances so a sctipt like this will be amazing.

Getting "precise" coordinates within NAV 2016

$
0
0
Hi, for a customer, we did a development which saves users current location to a record so after some time user can see the records location. But the problem is when we take coords from nav, they are not precise. When user takes the location from WhatsApp, the location (coords) are much more precise. How can make NAV use High Accuracy options? Which C/AL code do i need to put there so NAV will use High Accuracy ??

NAV 2016 Workflow

$
0
0
Hello,

I've created two sales document workflows using the template. The issue is that they do not work at the same time. IF I have a sales order and the credit limit is reached. I'd like the sales order to be sent for approval and also the credit limit. Any ideas?




Technical Upgrade only

$
0
0
Hey,

I have a customer in NAV2015. I want to use the goodies of NAV2017: (better dev environment and events).
I want to do this because the customer currently has a lot of custom code and they still need a lot of custom code. Doing a full upgrade takes to much time and interferes with their need of having new developments on a weekly basis. So what I want to do is upgrade them to NAV2017 without upgrading the application code. Then I can finally start using events! So new developments will use events so that I don't change the standard NAV code and step by step I can update old developments to also use events.
After a few months their database will be 99% back to base Navision + Events and I can do an easy Application update.


Any thoughts? I guess it is not recommended to do a technical upgrade only?
Has anyone tried this?

US ACH file

$
0
0
Hello all,
Does anybody managed to create ACH file, with data exchange definition?

NAV2017 Report Designing - Slow Visual Studio 2015

$
0
0
Hi,

I have not yet been able to establish the cause of the issue, but when designing the layout of NAV2017 reports it opens VS2015.
But when clicking on a control it takes about 3-5sec for the UI to update. Even in the Properties window clicking on different properties as well as opening a menu in the menubar.

If I open a different project, VS behaves normally.

Anybody else have this issue?

A workaround that I have found that is working for me is to keep the VS2015 window open (close all tabs - else it will prompt you to reload the file when it detects a change).
Copy the location of the .sln and open it in VS2017.
It does ask to convert to latest RDLC format, touch wood, no issues with converting it so far.
Now, if only there was a way to select the VS version to open - which I can understand to ensure compatibility they don't allow.


Opening another VS2015 instance has the same problem.

Please let me know if anyone has the same issue or if there is anything I can look at to permanently solve the problem.

NAV 2017 - Send SalesInvoice Email, Body with image

$
0
0
Hi

In NAV 2017 - i try to send SalesInvoice Email, Body with image.

Ind the Preview windows the Image is fine ( and the tmp html file, show the image fine ind internet explorer )

But, when the mail is generated to outlook, the Image link is broken.

Image is BASE64 in the html file.

Using outlook 2016.

Thanks

/Kenneth

NAV2017 change to Item Cross Reference?

$
0
0
I am not understanding a change in 2017 related to Item Cross Reference Table.

In 2015 when I added an item to a Purchase Order I got the Description and "Description 2" from the Item Card.

In 2017 however it puts Description on the Purchase Line to be := Description from Item Cross Reference Table. Meanwhile is simply blanks "Description 2" entirely.

With the effect that all our Purchase Orders since going live to Nav2017 have no "Description 2"

Is this a bug, new feature, or something I am doing wrong in my use of Navision here?

We do not fill Item Cross Reference Table ourselves. It appears to populate itself when we insert a record into the Item Vendor table.
Viewing all 10069 articles
Browse latest View live


Latest Images

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