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

NAV Service start error

$
0
0
We're facing a issue that NAS Service doesn't start.

System events error:

La sesión Microsoft Dynamics NAV Application Server para el inquilino 'default' tiene un error permanente y no se reiniciará. Motivo: Type: System.ArgumentException
Message: Ya se agregó un elemento con la misma clave.
StackTrace:
en System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
en System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
en Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.LoadLanguages()
en Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.GetLanguageIdByAbbreviatedName(String abbreviatedName)
en Microsoft.Dynamics.Nav.Runtime.NCLCaptionStrings.CreateNCLCaptionStrings(String captionML, String defaultValue)
en Microsoft.Dynamics.Nav.Runtime.NCLMetaTable.AssignFromMetaTable(MetaTable metaTable, Boolean databaseConvertedFromNav2013)
en Microsoft.Dynamics.Nav.Runtime.NCLMetaApplicationObject.Populate()
en Microsoft.Dynamics.Nav.Runtime.NCLMetadata.GetMetaApplicationObject(ObjectType objectType, Int32 objectId, Boolean requireCompiled)
en Microsoft.Dynamics.Nav.Runtime.NavRecord..ctor(ITreeObject parent, Int32 tableId, NCLMetaTable metaTable, Boolean isTemporary, NavRecord sharedTable, String companyName, SecurityFiltering securityFiltering)
en Microsoft.Dynamics.Nav.Runtime.NavSession.GetPersonalization()
en Microsoft.Dynamics.Nav.Runtime.NavSession.Open(Boolean useUserPersonalization, Byte[] licenseToUse)
en Microsoft.Dynamics.Nav.Runtime.NavApplicationServer.<RunOnceAsync>d__b.MoveNext()
--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---
en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
en Microsoft.Dynamics.Nav.Runtime.NavApplicationServer.<StartAsync>d__7.MoveNext()
Source: mscorlib
HResult: -2147024809

Payment Date Error in

$
0
0
When creating a Payment Voucher, I get an error saying "Payment Date must have a value in Payment Header. Document Type= Payment Voucher, No.=PV-000134. It cannot be zero or empty."

The document date is February, which I have stated in the Header as well as the creation date and time, but this error still shows up. Someone, help please.

Temporary tables outside license range

$
0
0
I'm hitting an issue in NAV 2013 that isn't consistent with past versions of NAV and wanted to see if this is a known issue (or a design change).

In the past, we would often create tables outside the customer's license range to be used only as temporary buffers by reports (rather than trying to shoehorn the data into a temporary instance of a base table where field names, etc. would not fit well). So long as the table was only used as Temporary = Yes, this worked fine - no license errors or issues.

In NAV 2013, the same approach does not work. We have upgraded logic that works fine in NAV 2009, but under NAV 2013 we get a license error when trying to use the temporary table outside the customer's license range.

Does anyone have experience with this? I'll submit it to Microsoft but i'm hoping maybe we've missed a hotfix (this is NAV 2013, not R2) that may restore the behavior.

XML Automation

$
0
0
I have created a codeunit that creates an xml file
All looks good until the part of the CDATA section in blue.
See attachment.
Anyone has any ideas ??
I know where to get my data, but I do not know know how to get cData blue line to show and what xml function to use.
I have the following right before it for the TextData section


XmlsubElement3 := xmldoc.createElement('TextData');
XmlsubElement2.appendChild(XmlsubElement3);

Any ideas ?

Customer in payment analysis report

$
0
0
Hello,
I would like to analyze the payment behavior of our customers. Normally the customers have 30 days payment terms. I want to see if they pay in time in 45 or >60 days. Is there a report in nav or an additional module which provide this information?

Thanks

Accent on report

$
0
0
Hi,

We seems to have an issue on all of our reports. All french accent are not generated properly (replaced by weird characters).
We didn't modify the reports. If i test it on a tests database with the same report it generate well.

Is someone have an idea ?

Thanks,

Item approval on work flow.

$
0
0
Hi Experts,

i have to put validation on item (e.g. before making order from quote system should check item is approved or not)
How i can get the status of any item weather it is approved or not?

thanks

Update Description

$
0
0
I want to update the description of table A from the another table B description, if the description of table A has a word "Direct".

Data Exchange Framework - Payment Export and UK Banks

$
0
0
I am trying to make use of the Data Exchange Framework in Dynamics NAV 2017, for exporting a payment file for a Bank from the Payment Journal.
I have defined my Data Exchange Definition, and create a file successfully. I just have a question relating to "Sort Codes" for Vendor Bank Accounts.

In the code which populates the Payment Export details in the table "Payment Export Data" (1226). I can't find anything which populates the "Sort Code" for the Vendor Bank Account. This is done in codeunit 1283 (Fill Export Buffer function).

I am not sure if "Sort Code" is specific to the UK, and maybe this isn't implemented. I can see that the code does populate the field "Bank Clearing Code", is this the equivalent to the "Sort Code"?

EU new data protection rules

$
0
0
https://en.wikipedia.org/wiki/General_Data_Protection_Regulation

What does this mean for us? If you book a Navision invoice to a natural person you have personal data in there: name and address. According to GDPR you should delete it after a while. ???

This is the most surprising thing I have heard but there are others. Can someone who knows this stuff summarize it what we need to do for it?

About license information in nav 2016.

$
0
0
Hi guys,
I am using both nav 2009 and nav 2016 on a single machine and whenever I run the objects in nav 2016
vv3g1cydgplq.png
I get the following error message.
I just went through some forums and followed the steps they have suggested but in my case, it's not working.
Can you please suggest the reason for this issue and also how can I solve this problem.
Warm Regards,
Bharath K

UPLOADINTOSTREAM with Job Queue

$
0
0
Hi everybody,
We are working with NAV17 and we're trying to import data from xml files which is stored in a folder on a file server. we want them imported by job queues. But the UPLOADINTOSTREAM function returns a "Client call backs are not supported on Microsoft Dynamics Server" error. We tried to use UPLOADINTOSTREAM without using dialog box as described in this link https://blogs.msdn.microsoft.com/nav/2010/10/05/magicpath-downloadfromstream-and-uploadintostream-without-a-dialog-box/ but still got the same error.
Is there any way to import data with xml ports using job queues?

Change XML Value in an existing XML BLOB (Report Parameter)

$
0
0
Good Evening guys,

I want to Change a Report Parameter befor Executing The Report. The Report will execute automaticlly start by the Job Queue, but some Report Parameter have to be calculate every Time, for example the Reference Month.

The Report Parameter are saved in a blob Field, which will be read before Executing. Some of These Parameter should be Change before executign the Report.

I know the XML Node (ReferenceMonth), i can get the Saved Value, but i dont know how to Change this value.

Below the Function for get the XML Value:

GetNodeValueOfXMLParameters(XMLText : Text;NodeName : Text) : Text
IF XMLText = '' THEN
EXIT('');

XMLDoc := XMLDoc.XmlDocument;
XMLDoc.LoadXml(XMLText);
XMLNode := XMLDoc.SelectSingleNode(STRSUBSTNO('ReportParameters/Options/Field[@name=''%1'']',NodeName));
IF ISNULL(XMLNode) THEN
ERROR(NodeNotFound);

IF STRLEN(XMLNode.InnerText) > 0 THEN
EXIT(XMLNode.InnerText);

Dynamics NAV Partners in Hungary / "data export for tax authority review"

$
0
0
Does anybody know reliable Dynamcis NAV Partners in Hungary? We need to implement the XML interface "data export for tax authority review". Is this interface availabe on the market eg. covered in an add on or localization. We are currently using V2015.

As of 1 January 2016 in accordance with a new regulation (Decree of the Ministry for National Economy No. 23/2014, the „Invoicing Decree") invoicing software must include a new function called "data export for tax authority review" (adóhatósági ellenőrzési adatszolgáltatás) and must be able to extract invoicing data either for a certain invoice (number) range or for a certain period. The document generated for the data export must be in an XML file format.

Thx for any feedback
Peter

DOTNET object -> RunOnClient:Yes

$
0
0
Hi everyone,

After different upgrade for different customers, I've found an issue that makes me a little mess. I'll try to explain myself, and I hope you'll give me your thoughts.
Everything has to see with the development of the "Electronic VAT Information under SII", but I think that happens with every development with DOTNET objects.
I've made an upgrade for one customer to the NAV2017, and the development works perfectly, without changing any property of the DOTNET variables.
But instead, with another upgrade from other different client, doesn't happen the same.
In this case, I'm doing an upgrade to the NAV2018 version. When I try to run a development with DOTNET objects, I'm finding the error: "Cannot serialize DOTNET object". For one integration I've developed with external WebServices, I've solved this issue changing the RunOnClient property to "Yes", and I think that this issue, for the "Electronic VAT Information under SII", could be solved in the same way.
The thing is that I don't understand why this development run without changing anything in one server, and in this new one, I'm finding this issue.
Could be because of something in the server? Or the NAV installation? Any thoughts?

Thnak you all

NAV 2017 - Session Event Table > Long Running SQL

$
0
0
Hi,

We have recently upgraded to NAV 2017, and are having a few issues with the Task Scheduler.
We are seeing a lot of errors/warnings like this in the Event Logs

Message <ii>Threshold Trace Tag. Execution Time = 7398 milliseconds Long Running SQL statement Task ID:1 DELETE TOP (1000) [dbo].[Session Event] WITH(TABLOCKX) WHERE NOT EXISTS (SELECT 1 FROM [dbo].[Active Session] AS acs WHERE acs.[User SID] = [dbo].[Session Event].[User SID] AND acs.[Server Instance ID] = [dbo].[Session Event].[Server Instance ID] AND acs.[Session ID] = [dbo].[Session Event].[Session ID] AND acs.[Session Unique ID] = [dbo].[Session Event].[Session Unique ID] AND acs.[Login Datetime] = [dbo].[Session Event].[Event Datetime]) AND DATEDIFF(Month, [Event Datetime], GETUTCDATE()) >= @ROWCOUNT&lt;/ii>

As I understand it, it is trying to delete entries from the table "Session Event". I presume that this is for the Task Scheduler. We are seeing some performance issues, and often Job Queue entries which are "Scheduled" are not run. I am just wondering if anyone else has encountered this before? Or has any fixes?

Adding Word content from a blob to a Word Report Layout

$
0
0
Hi all,

I have a question not entirely dissimilar to this one.

Background Information
We have the option to store equipment configuration option specs in a Word document and attach it as a blob to that configuration option record. These specs contained text, tables and/or pictures, all in one.

In the "old days" (pre-Word Layout) I tinkered a way to load these specs as Word building blocks (autotext); the user could then add these in the Word report after generation.

Intended Change in Functionality
In the new structure with Word report layouts etc., we would like to use the Word layout to add these blobs to the Word layout, so that when an option is added to the configuration, the specs are automagically loaded and inserted at the placeholder.

For this, I would need to do two things:

1) Extract the content of the stored specs Word document or store only the content of the specs Word document - this is doable;
2) Somehow insert the content at the location of the placeholder.

Question
The question centers around aforementioned action no. 2: how do I insert that content (containing various elements) in that location at runtime?

In designing the Word layout, you need to insert the blob field as a text, RichText, picture, etc.
I can get the blob content in there as text, and even the Word content, but it's still xml and, naturally, text won't abide pictures and tables, so I will need to insert it at the xml level.

The merge process seems to take place in a closed NAV library (Microsoft.Dynamics.Nav.DocumentReport.WordReportManager), which means it's inaccessible code.

Any tips, hints or epiphanies?

HTML content in Word report layout

$
0
0
Hi all,

I'm trying to add some HTML to a Word layout. The only 2 valid options I have in the XML Mapping Pane are 'Rich Text' and 'Plain Text'.
But both options just display the HTML as the literal HTML string, not as actual rendered HTML.

Has anyone ever done this before?
I find it hard to believe that Word layouts actually have worse support for HTML than RDLC ;)

Gr, Erik

NAV 2018 : Item Approval Workflow

$
0
0
Hi,

I'm just testing workflow setup from the item list.
I have create my workflow like this
41ytf5ntt3qw.png

So, if i want use new item on sales orders i can create sales line, release doc, and post it.
Now, if i create new item and send approval request i cannot post my sales document.


How to make mandatory the approval of an item or approval request mandatory?

Store and POS Installation on another machine.

$
0
0
Hey Guys,
I have installed Navision 2017 & LS retail with demo database on PC1 . Now I want to install Navision and LS Retail on PC2 with store databse and POS only. I want to keep HO on PC1, and I want to replicate HO data to store and POS on PC2.
Any thoughts, suggestions, and sources would be greatly appreciated.
Viewing all 10032 articles
Browse latest View live


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