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

Mail notification to the initiator of PO.

$
0
0
Hi Friends,

[Version: NAV 2016]

Scenario:

User A creates a Purchase Order and send it for approval to the User B followed by User C. After each approval and at the final approval of the PO, User A has to be get a mail notification. Seems in default NAV this is not possible. Can anybody tell how to address this?

Thanks in advance.

Aarvi.

Automatically Idle Client Timeout - NAV2016 - doesn't work!

$
0
0
Hello,

I have problem with NAV 2016.

I set at the NAV Service Instance property: Idle Client Timeout for 10 minutes (00:10:00), but it doesn't work.

If i set this property for 1 minutes (00:01:00) it's work, but only if i go deeper in app and leave idle.

I have seen many tutorials about set this property, but neither of them doesn't work in my case,

If you have any suggestions please let me know.

James

Dynamics NAV 2017 Azure licence

$
0
0
Hi there,

Does any one have experience with Dynamics NAV license when the database is on Azure. When we upload ours client license and try to open Dynamics NAV we get this error:

>>Your are not licensed to use MyCountry country/region. Database can be used only for demonstration. Work date is set to 07.03.20.<<

If we upload the license on local server or our local machine everything is ok.

Any ideas?
Thanks in advice

New Production Item with FIFO as the Costing Method

$
0
0
If I have created a new Item which has a Prod BOM and Routing, the costing is FIFO, can I calculate the Standard Cost to insure my costing is accurate?

Nav 2018 clickonce deployment issue

$
0
0
Hi all,

I'm on a deployment of nav 2018 Cu2 clickonce client for a customer with IIS option, but I obtain some issues never encountered in the past with previous version, even that I'm following the same procedure.

Except the issue that I cannot connect directly the correct main page as before (I've to load it manually from the listing directory), when I try to launch the package installation on client side I always obtain a blank page with message "The page can not be displayed because an internal server error has occurred."

Nothing seems wrong on server side, deployment, manifest update and mage management are working fine without errors.

Anyone has some experience with this latest version of clickonce deployment?



thx!

Schema synchronization may result in deleted data referencing a table that doesn't exist

$
0
0
Running into an odd situation when trying to create a new table in NAV. Created a new table in NAV under my custom object range and when I go to compile the object I get the following error:

The schema synchronization may result in deleted data...

It then references a linked table that was from 5 years ago and deleted. Some observations are we did a clean install 2 years ago and imported all active objects into a new database. The phantom table wasn't part of that but it seems to have been in metadata somewhere? I'm not able to force a synch through Object Designer or Powershell at this point. I could just use a different object number but I would like to clean this up.

I was thinking of recreating the phantom table in its entirety and see if I can then go through the delete process again. It seems to be an issue with the fact that it was a linked table. The associated view no longer exists and hasn't for years.

Thanks for any suggestions.

[solved]Phone Client - Access to files (pictures)

$
0
0
Hi all,

My question in short is whether there is a way to access the pictures stored in the phone through NAV using the Camera dotNET variable or any other alternative suggested method.

We have added an action to the location card to be able to capture pictures from the camera directly into it (to a new picture field). For that we use the Camera.RequestPictureAsync function (.NET variable: Microsoft.Dynamics.Nav.Client.Capabilities. CameraProvider.'Microsoft.Dynamics.Nav.ClientExtensions'). This works fine, more or less what described here:
https://community.dynamics.com/nav/b/sauravdhyanimicrosoftdynamicsnav/archive/2016/06/06/microsoft-dynamics-nav-2016-implement-the-camera-in-c-al


However we would like to have another option that allowed the users to select the pictures that are already stored in their phones (instead of taking the picture through the camera). So they take the picture(s) first and later, from the location card, select "Upload Pictures" and browse through the pictures/files in the phone and select them for uploading (ideally several pictures at a time, as we have several "picture" fields).

I have done an experiment using the File Management, openFileDialog function, but it does not work (The operation cannot complete beacuse it uses a feature that is not supported (.NET framework interoperability).
gteFileName := FileMgmt.OpenFileDialog('Select File','',Text50001);

That is expected, it is described in the client limitations:
https://msdn.microsoft.com/en-us/library/hh168959(v=nav.90).aspx#General

Any suggestion would be appreciated.

Thanks,
Tomigs

Problem loading type library

$
0
0
Hi everyone,

i am doing an upgrade from NAV2013r2 to NAV2018.
In the old version, I've created a codeunit to manage different connection for an integration with a delivery enterprise. For this, in the procedures of the codeunit, exist different automation variables. In the old server, work perfect, but when I'0m trying o compile this CodeUbnit in NAV2018, in a new server, I get this error:

ccxr78y5obr7.png

"Cannot obtain information of the type library
The type library could be damaged or has an invalid format.
Try to register again OLE control or the Automation server"

Any hint?

Using CLEAR for .NET Variables

$
0
0
Hello
We often see CLEAR commands for .NET Variables at the end of functions, for example in Codeunit 5054 "WordManagement".
The question: Why is it used? As far as I understand, local variables are cleared anyway when function ends and global functions are cleared as soon as the instance of the objects is not used anymore.
Btw: I know I seems to be good practice, but I wonder if it is really needed and what happens if not following this good practice (of course apart from the fact we'll get caught by the boegeyman) :#

Looking forward to your opinions.
Thanks, Thomas

NAV 2009 - Access to Public Web Services Password Exception

$
0
0
Hi all.

We're having troubles setting up external connection to NAV Web Services through public IP.

We have no errors in the BPA.

Does anyone knows if there is a particularly setting or configuration to achieve this?

Currently, if we access, we've the following error:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"&gt;
<s:Body>
<s:Fault>
<faultcode xmlns:a="urn:microsoft-dynamics-schemas/error">
a:Microsoft.Dynamics.Nav.Types.NavDatabasePasswordException
</faultcode>
<faultstring xml:lang="pt-PT">
The login failed when connecting to SQL Server SRVVMCDFPDB01.
</faultstring>
<detail>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/"&gt;
The login failed when connecting to SQL Server SRVVMCDFPDB01.
</string>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>

Thanks in advance.

Configuring certain clients to "KeepAlive"

$
0
0
I've been trying to figure out how to make clients that are idle disconnect from the server, but also allow certain clients to stay connected.

I have modified the "Idle Client Timeout" so that it now holds the value "00:10:00", meaning that a client should timeout if it's been inactive for 10 minutes. I have tested that this works.
yqlhhvir5ksd.png

I then added the "KeepAlive key" to the ClientUserSettings.config and set it to "00:09:00", meaning that a client should send some form of signal to the server every 9 minutes so that it is not disconnected. This however does not work.
mbw70wbp9q93.png

I'm not sure wether the "keep alive functionality" is present in NAV 2013 (I should like to think so), but I've not been able to find any information about it in regards to NAV 2013. I'm using NAV 2013 V. 7.0.35355.0.

NAV 2018 RTM Job Queue - Enqueue - Scheduled task record created, but never executed

$
0
0
During tests of creating a job queue entry via codeunit 453 Job Queue - Enqueue via a webservice running under a super account, I notice the following behaviour:
Job queue entry is created, status is set to ready and has a system task ID.
In the table Scheduled Task, I see a new entry being created under the account calling the web service.
A moment later the entry is removed (possibly because the task scheduler picked it up), but the job queue entry remains untouched.
Job Queue's scheduled is set to "No", the corresponding system task id has been removed.

When running the same code via a client session, everything behaves as normal, but when it's a web service session, the described behavior is showing.
Has anybody run into this issue?
Web service is of the SOAP kind, did not test this with ODATA

[SOLVED] NavUserpassword authentication - possible to use with RTC?

$
0
0
Hi,

In NAV2016, is it possible to use non-windows users in the RTC client? Or using the RTC you always have to have a Windows user behind?

Let me explain: I would like to create test users for that database, but ideally I would like to avoid creating one Windows user for these users.

Like in the old times, where you could create database users, and the classic client would ask you for the username and password.

I'm almost sure that we cannot, but reviewing the documentation I don't see it clearly stated. I wonder if there is one option that I'm missing. Like creating a user with the NAV Password authentication instead of Windows, creating a NavUserPassword NST and when running the RTC would ask you for user and password?

Is this science fiction?

Thanks,

Tomas

Compiling Objects.

$
0
0
How can i compile objects through code in navision 2013r2.

Access modifier for table fields

$
0
0
Hello all,

Because Dynamics NAV is not an object-oriented environment, we have to simulate an object by using a table; fields for class properties, functions for methods. It is good that we can conceal some functions from outside access by making them local. But what about the fields? It would be best to mark any field as private to prevent outside access in the code. Is there any workaround to do that?

Cannot correct this posted sales invoice because an item is used on a sales order

$
0
0
Hi folks,

while reversing a sales invoice, NAV checks whether it's allowed or not. Some parts are tested by CU 1303 function TestSalesLines. There, the presence of a sales order number in the to the invoice corresponding delivery note is checked:
IF SalesShipmentLine.GET(SalesInvoiceLine."Shipment No.",SalesInvoiceLine."Shipment Line No.") THEN BEGIN
        IF SalesShipmentLine."Order No." <> '' THEN
          ErrorHelperLine(ErrorType::LineFromOrder,SalesInvoiceLine);

The sales order is deleted by now (as every posted sales order). Why is NAV checking the sales order number within the delivery note? How can I reverse this invoice (without creating a credit memo manually)?

Help is appreciated!

Issue with Bing Maps Control Add in.

$
0
0
Hi all,

I have just created Bing map control add in for Dynamics NAV and I have added it to Dynamics NAV 2018 as followed steps from here https://msdn.microsoft.com/en-us/library/dn182584(v=nav.90).aspx.
But when I runs the created page Bing Maps, there is nothing to show on map in page except my default values set for Longitude an latitude.
Even I am not getting any error.
Can any one please suggest what an issue?

Windows Client
l9qrdmssqmx0.png

Web client
gu3lzwxb9a55.png


Kind regards
SUD

IncludeCaption on field item which is not part of the DataItem

$
0
0
On NAV 2017 it seems that it's still not possible to get IncludeCaption on RDLC report to work when the field reference is not part of the dataitem (ie : Item) but coming from a global variable such as Weigh_ItemUOM ?

I keep on getting the Weight_ItemUOM variable printed instead of the actual caption value.

Does anyone know if this has been fixed in a cumulative update ?

Working with FIELDCAPTION and TextConstant ML is clearly not a super productive solution when your reports must work on multiple languages.

Webclient setup error - NAVWebServerInstance Path error

$
0
0
Hi dear,

Does any got this error for installing Webclient 2018 RTM and CU2 on Azure:
WixCreateInternetShortcuts:  Creating IUniformResourceLocatorW shortcut 'C:\Users\navision-eos\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Dynamics NAV 2018 Web Client.url' target 'http://localhost:8080/DynamicsNAV110'
CAQuietExec64:  OK.
CAQuietExec64:  Set-WebConfigurationProperty : The data is invalid. (Exception from HRESULT: 0x8007000D)
CAQuietExec64:  At C:\Program Files\Microsoft Dynamics NAV\110\Web 
CAQuietExec64:  Client\Modules\NAVWebClientManagement\NAVWebClientManagement.psm1:623 char:5
CAQuietExec64:  +     Set-WebConfigurationProperty -Filter '/system.webServer/security/ ...
CAQuietExec64:  +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CAQuietExec64:      + CategoryInfo          : NotSpecified: (:) , COMException
CAQuietExec64:      + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.IIs.PowerShell.Provider.SetConfigu 
CAQuietExec64:     rationPropertyCommand
CAQuietExec64:   
CAQuietExec64:  Set-WebConfigurationProperty : The data is invalid. (Exception from HRESULT: 0x8007000D)
CAQuietExec64:  At C:\Program Files\Microsoft Dynamics NAV\110\Web 
CAQuietExec64:  Client\Modules\NAVWebClientManagement\NAVWebClientManagement.psm1:624 char:5
CAQuietExec64:  +     Set-WebConfigurationProperty -Filter '/system.webServer/security/ ...
CAQuietExec64:  +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CAQuietExec64:      + CategoryInfo          : NotSpecified: (:) , COMException
CAQuietExec64:      + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.IIs.PowerShell.Provider.SetConfigu 
CAQuietExec64:     rationPropertyCommand
CAQuietExec64:   
CAQuietExec64:  Error 0x80070001: Command line returned an error.
CAQuietExec64:  Error 0x80070001: QuietExec64 Failed
CAQuietExec64:  Error 0x80070001: Failed in ExecCommon64 method
CustomAction CreateWebApplicationCore returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 8:24:54: InstallFinalize. Return value 3.
WixRemoveInternetShortcuts:  Error 0x80070103: failed to read shortcut attributes from custom action data
CustomAction WixRollbackInternetShortcuts returned actual error code 1603 but will be translated to success due to continue marking
Action ended 8:24:56: INSTALL. Return value 3.

This is on a blank windows 2016 Datacenter istance.

Trying the powershell, the error is diffrent:
https://pastebin.com/Q6KAsR7q

Certain structures in inetpub are created, in IIS setup also..

Any suggestions ?

Kind regards

Nav 2018 crash on "customize this page" for item card/list

$
0
0
We're running the base 2018 11.0.19394 but I did go over the CU 1-3 notes and did not see anything that might address this issue. I was able to verify the crash on multiple computers and with multiple different client service tiers. Anybody else run into it or know of a fix? One of our clients very much wants to customize the item card.
Viewing all 10063 articles
Browse latest View live


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