Questions tagged [dynamics-nav]

Dynamics NAV, formerly Navision, is an enterprise resource planning (ERP) development platform produced by Microsoft.

Dynamics NAV, formerly Navision, is an enterprise resource planning (ERP) development platform produced by Microsoft.

Dynamics NAV uses a proprietary programming language called C/AL, which is syntactically similar to Pascal. The C/AL runtime provides constructs for interacting with database records, files and the host environment. Runtime functionality can be extended using COM and .NET.


Useful links


Version-specific tags


Other related tags

371 questions
2
votes
1 answer

How to replace a COM object?

I need to develop a COM object DLL that could replace an old one. I need this, because I don't wan't to develop an application that uses the old COM DLL. I'll make a new COM object with the same properties and methods. The main difficulty I see is…
vico
  • 17,051
  • 45
  • 159
  • 315
2
votes
3 answers

XMLPort Skip empty Tags

I created a XMLport in Dynamics Nav. The problem I have is that empty tags appear in the XML and I need to remove them. I have to do to fix it?
Marcelino
  • 29
  • 1
  • 2
1
vote
2 answers

Joining using a series field

Is there a way to join tables on one field that represents a series of valid values? For example, one table has a number or string with "51234" and the other has something like "46610..46680|48670|50000..54280|48240". If there isn't a way to…
Korn1699
  • 77
  • 1
  • 8
1
vote
3 answers

MS Dynamics NAV XML Namespace is set automatically

I'm creating a new XML File out of a table. The problem is I don't want the children of the root node to have the attribute xmlns. This happens automatically and its incorrect. If i have the attribute on the root element, no matter how it gets there…
peshkatari
  • 151
  • 3
  • 15
1
vote
1 answer

Invoke-NAVCodeunit with Arguments

In the context of Powershell and dynamics NAV 2015 there is a function for running codeunits. This provides the Argument parameter. There is no documentation on how to use this parameter or how the used values ​​can be received within the…
1
vote
1 answer

How can I loop only the page records from the selected one to the latest?

I'm trying to loop all records displayed in a page, from the selected one to the end of the rows: For example here, as I'm selecting only the 5th row it will loop through 5th and 6th row (as there are no more rows below) What I've been trying is…
1
vote
1 answer

Test Automation in business central

I am trying to create a test automation project for my business central app (version 21). But I am unable to reference test libraries in the project. I followed the manual, installed business central ver.21 sandbox on docker, however I am unable to…
1
vote
3 answers

How can I find all my available objects in my NAV license?

Microsoft Dynamics NAV 2018 I'm trying to create objects with this customer license: I should have space for new objects as license says... but how I can find which object ids are available for each object type? This is what I get when trying to…
kuhi
  • 531
  • 5
  • 23
1
vote
1 answer

The HTTP request is unauthorized with client authentication scheme 'Anonymous' Dynamics NAV

I have an issue regarding an .net core app (3.1) trying to consume a WS (SOAP) from a Dynamics Nav Server. (on-premise). When I'm in debugging mode everything works fine, but when I deployed the app to local IIS server I keep getting "The HTTP…
1
vote
1 answer

Adding XML Source to xlsx file in python

I am trying to create a xlsx from a template exported from Microsoft dynamics NAV, so I can upload my file to the system. I am able to recreate and fill the template using the library xlsxwriter, but unfortunately I have figured out that the…
1
vote
5 answers

SetAscending Business Central Sales Order List

I am attempting to use the SetAscending in Visual Studio Code for Business Central Sales Order List Page. It works to set the Sales Order "No." field to descending however it does not reset the scrollbar to the top of the page. I've tried adding…
1
vote
0 answers

Consume Dynamics NAV web service in Visual Studio using Digest authentication issues

I recently posted about an issue with 401 errors when accessing a Dynamics NAV 2018 web service using NTLM. This can be viewed here Because Dynamics NAV has multiple options for authentication, we are attempting to use the "Username" option which…
Karl
  • 912
  • 2
  • 16
  • 28
1
vote
0 answers

Docker deployment of dot net core application which is consuming NAV soap endpoint gives error The HTTP request is unauthorized

I have dot net core application 3.1 which is consuming NAV soap endpoint, consuming NAV soap endpoint working fine in IIS deployment but failing in docker deployment. Previously there was an error GSSAPI operation failed with error - Unspecified GSS…
1
vote
1 answer

The HTTP request is unauthorized with client authentication scheme 'Basic' for NAV SOAP client in Dot Net core 3.1 upgrade

I have dot net core 2.2 application which consuming NAV SOAP endpoint working fine in the IIS environment. I have upgraded to dot net core 3.1 where the SOAP endpoint not working giving the error "The HTTP request is unauthorized with client…
1
vote
2 answers

Adding a Tracking Spec Line through AL Code?

I am trying to add Tracking Spec entry through code; rec_trackingspec.init(); if rec_trackingspec2.FindLast() then …