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

Publish-NAVApp UnhandledErrorMessage

$
0
0
I have just upgraded a client database from NAV2009 to NAV2017. I am now trying to add in the Sales & Inventory Forecast extension, but when I try to publish the app using the Publish-NAVApp cmdlet, I get the error "An item with the same key has already been added"

There are no extensions installed in the database.

Any suggestions where I should be looking to resolve this?

Issue with Upgrade extensions NAV 2017

$
0
0
I had installed some extensions on customer database and after doing the changes when I wanted to reinstall the extension I get massive error (publishing works ok )

Install-NAVApp : Could not upgrade the NAV extension 'CustomApps' due to the following
error: 'The following tables contain data but cannot be upgraded because the relevant
upgrade instructions are missing: 15 (G/L Account),....

Any ideas why that would be? I have a codeunit with upgrade subtype included with the blank NAVdatapercompany and NAVappupgradeperdatabase() functions

Thanks
Imran

Create NAVX-Package with AL-Files and Visual Studio Code

$
0
0
Hey there,
in early examples of Creating NAV Extensions with Visual Code you could see that you can create Extensions for NAV 2017 with Visual Studio Code, Creating AL Files and create and publish an NAVX-Extensions. When you now install Visual Studio Code and install the AL Language Vsix. the whole configuration is for NAV 2018 and create an APP-Package.
On official Microsoft Docs
NAVX-Packages (ExtensionV1) is descripted the old way, using txt-files and create delta-files. and then use the powershell to create an navx-package.
Only Extensionv2 is descripted using Visual Studio Code and Create APP -Extenstion. Therefore you need the Developer Service Endpoint of the NAV 2018 Service Tier which you don't have in NAV 2017.
So when reading the old Examples i don't get, how to create an navx-extension and how to get the symbol referecence without developer endpoint.

Nav 2018 & Dynamics 365 Integration - sysncronising working but...

$
0
0
Hi all

After successfully integrating NAV 2018 with Dynamics CRM trial account and syncing customers, contacts etc etc...

When creating an order in D365 and that order appears in the sales orders - dynamics 365 orders list when you click on Create order in NAV (as long as you have coupled the customer to NAV) it kicks you out and doesn't create the order in NAV

Has anyone come across this and identified any fix or workarounds to create the order?

Many thanks

Application Area in NAV 2018 for on premise installations

$
0
0
On the item card page there's a field "Type" where the visibility is set in OnOpenPage based on whether an Application Area Setup record with basic or suite values enabled exists. Yet everywhere else I see in code, that is governed by the ApplicationArea property of the field/action which, if no Application Area Setup record exists, appears to show it by default. Since the documentation explicitly says that this is for Dynamics 365, and not recommended for use in on premise installations, this seems to me to be a bug for on premise installations. The consistent thing to do would be to simply set the ApplicationArea for the type field to #basic,#suite, which if application areas were being used would correctly show or hide the field.

Does anybody have any insight on whether this is intentional or part of a new usage for the Application Areas?

Upgrade only Table objects fields without Code behind and Globals/Locals

$
0
0
Hello, I'm just wondering if someone knows a fast way to upgrade only table objects and there only fields without the code behind and any Globals/Locals in these objects.

For sure we can do this in a known way with deleting unused code. Does anyone know a good script or tool for that?

NAV 2018 + Lot Tracking + No Warehouse Licensing = bug, no posting.

$
0
0
Just sharing here something I ran into because it took ages to get to the heart of it, maybe I'll save someone some pain.

In NAV 2018, there was a change made to the way that Lot Tracking was checked when an Item Journal Line was posted which affects posting Sales/Purchase Documents.

If the customer does not have READPERMISSION to Warehouse tables, when you try to Post a Sales Order with Lot Tracking enforced on an Item, it simply just will not post. Even if you specify the Lot No for the Line via Item Tracking Lines, even if you set specfically which Item Ledger Entry to apply against, it will tell you you must assign a Lot No. for it.

In Codeunit 99000832 - VerifyPickedQtyReservToInventory does an EXIT(TRUE) if you don't have read permission (which is absurd, obviously you can't have picked it if you don't have permission for picking). The result of this is that the code to transfer Sales Line Reservation Entries doesn't copy things over to the Item Journal Line before posting, which is how the SplitPostLine functionality runs.


I know this isn't "Microsoft Bug Fix" report central, but saving someone else a headache like this one is worthwhile.

changing extension does not recover data

$
0
0
When I uninstall and unpublish and change the extension and creating new NAVX, then when i install it back , this does not recover the data in the fields that include extension.
Any help.

How to export report as text file in navision

$
0
0
How to create a report to export into text file and also i had three companies i want to run the report in one company then i need to get each company information in to in each text file. when i run from another company then i need to get error message.
Thanks in advance.

Export-NAVData not support for NAV 2018 with Extension V2 Installed ?

$
0
0
Does any try before when export-NAVData in NAV 2018 ? I am using Cronus DB when export data using Powershell error message prompt out as below.
"Export-NAVData : The specified action is not currently supported because at least one V2 extension"

When i use RTC to export Data the session will be timeout automatically.

checkbox to display option field in Page

$
0
0
Hello,
It's possible to use a checkbox to display option field in Page ?
Option field : Rank (Mrs,Miss,Mr)
Someone have an idea ?

Add Total in the footer for every page in a Report NAV2015

$
0
0
I need to create a total of all the lines of a page for a report, and this will acumulate in every page.

An example to explaining myself,

FIRST PAGE (1000$)
shows total->1000$

SECOND PAGE(1500$)
shows total ->2500$

THIRTH PAGE(500$) (last page)
shows total->3000$

Migrating Data best way

$
0
0
Hello all members,

My customer was using NAV 5.0 and now migrating to NAV2016.
According to your experience, what's the best way to migrate data, specially transactional data such as sales orders, quotes, contracts... how should I do?

Many thanks for your urgent reply.

Posting a sales invoice with EAN No. but without VAT Reg No. ?

$
0
0
Hi guys I have a query that if we want to post a sales invoice of a customer who have EAN No. (we are using OIOUBL electronic invoicing) but not VAT Reg No. Is this possible in NAV 2017 Denmark ? This may be a scenario because there can be customers who do not have VAT Reg No.
Waiting for your reply guys.
Thanks !!!

Calling NAV Web Service from JavaScript

$
0
0
Hi all

I'm having a REALLY bad week so I'm hoping someone can help with this little frustration :-)

I'm trying to write a piece of JavaScript which calls a NAV Webservice. Now I've played about a lot with webservices but it's normally me calling them from NAV rather than calling a NAV one. On top of this, I don't really know JavaScript :-)

Anyway, I have a simple NAV webservice which adds a record to a table. I am trying to call it as a SOAP web service but don't mind if there's a better option such as OData. I have also tried both with windows logins and NAVUserPassword (https) and get the same error.

The error is:

Server instance: DynamicsNAV110CU1
Tenant: <ii>default</ii>
<ii>Session type: WebServiceClient
Session ID: 10
This licence is not compatible with this version of Dynamics NAV.</ii>


The html page is as follows:

<html>
<head>
<title>SOAP JavaScript Client Test</title>
<script type="text/javascript">
function soap() {
var xmlhttp = new XMLHttpRequest();
xmlhttp.open('POST', 'http://xxx.xxx.co.uk:7047/DynamicsNAV110CU1/WS/Codeunit/BraintreeWebFunctions');

// build SOAP request
var sr =
'<?xml version="1.0" encoding="utf-8"?>' +
'<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:xsd="http://www.w3.org/2001/XMLSchema">' +
'<soap:Body><CreateCustomerPaymentNonce xmlns="urn:microsoft-dynamics-schemas/codeunit/BraintreeWebFunctions">' +
'<custID>WEB</custID>' +
'<nonce>Friday C</nonce>' +
'</CreateCustomerPaymentNonce>' +
'</soap:Body>' +
'</soap:Envelope>';

xmlhttp.onreadystatechange = function () {
if (xmlhttp.readyState == 4) {
if (xmlhttp.status == 200) {
alert('done. use firebug/console to see network response');
}
}
}
// Send the POST request
xmlhttp.setRequestHeader("Authorization", "Basic " + btoa("xxx.xxx@xxx.co.uk:xxx"));
xmlhttp.setRequestHeader('Content-Type', 'text/xml; charset=utf-8');
xmlhttp.withCredentials = true;
xmlhttp.send(sr);
// send request
// ...
}
</script>
</head>
<body>
Test
<form name="Demo" action="" method="post">
<div>
<input type="button" value="Soap" onclick="soap();" />
</div>
</form>
</body>
</html>


Now I've tried shorted Service Names and Database Names. It also works with Web Service Studio and I can run the RTC with no issues.

Anyone have any suggestions?

Cheers

Chris

NAV 2013 R2 Lanham EDI 860

$
0
0
Hi Everyone,

We have the lanham EDI we are using and have everything pretty much mapped out and working correctly. Just 1 question.. does anyone know if there is a way to process EDI 860 manually? Meaning that the 860 document will reopen the sales order, change it, and re-close the sales order? We thought it was by just checking the "Enable PO change" check box but when we ran a test import of a 860 nothing happened...

Anyone have any thoughts?

Thanks

ilf9h0cnmnix.png

Building NAV Syntax Highlighting in Dev Environment

$
0
0
Hi,

Would anyone know if its possible to make syntax highlighting, and auto indenting feature for Integreated Dev Environment of NAV 2017/18.

Select item in list on phone

$
0
0
Hello,
I am building an application to use on an Android (or IOS/Windows) Phone. The idea is that the user selects an item in a list, and then clicks on an action to start a wizard to answer a set of questions. This works well on a tablet, but on a Phone you cannot see which item in the list is selected. If I click on an item in the list, a new 'page' is opened showing all fields in the list (no card page is linked), but from there I cannot access the actions.
I have tried a few things like adding an extra boolean to select the row, but this isn't even visible in the list.
Is there a some method available so the user can easily see which record is selected?

Kind regards,
Andy

How to find code of Event/Subscription

$
0
0
Dear Sir,

How do I find the code of Event/Subscription in NAV 2016 ?

Thanks,
navuser1

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
Viewing all 10032 articles
Browse latest View live


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