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
1
vote
1 answer

How to get line items from Business Central Web Service (Odata)?

From Microsoft Documentation, to get salesOrderLines, the following http request is needed: GET businesscentralPrefix/companies({id})/salesOrders({id})/salesOrderLines({salesOrderLineId}) However, it assumes each json object has a unique GUID. But…
Breaker
  • 45
  • 6
1
vote
1 answer

Multiple table relation in one table field (Dynamics NAV)

I have created some field with table relationship property in Dynamics NAV. Now I need to create a field that has several table relationships based on different conditions. Could you tell me how to do this? it´s possible?
JMarR
  • 55
  • 7
1
vote
1 answer

Error to consume automation variable Dynamics 365 Business Central

I create an automation variable in Dynamics 365 Business Central On Premise. This code work fine the first time but then an error apear. Code: EVALUATE(_PC, PCStr); CREATE(_Export, TRUE, TRUE); _Export.process(_PC);
JMarR
  • 55
  • 7
1
vote
2 answers

How to take user input using C/AL in NAV 2016?

Suppose I want to write a simple addition program using C/AL in NAV 2016. How can I dynamically ask user to enter the two numbers? In Microsoft Dynamics AX we use "dialog" class for this purpose. I need some code reference or the description to…
1
vote
1 answer

How can i get list of files from a directory?

I'm trying to get list of files from a directory in D365 Business central , because in the AL language DotNet var is not supported, so i don't know how can i get those files paths. In my requirement i know the path of folder but need to get actual…
Nav Dev
  • 11
  • 1
  • 6
1
vote
1 answer

I want to run a codeunit automatically in nav2009

I want a codeunit to run automatically at certain time intervals everyday or once every week.is there any procedure in nav to achieve that?i preferably would not like to run or start nav(from the program files) for that but without starting nav.
user533297
  • 15
  • 5
1
vote
1 answer

Dynamics Nav 2015 oData service returns just one record

xxx.xxx.xx/.../Company('XXXX')/FR_CustomerLedgerEntry?$format=json I want to get 'Customer ledger Entries' via OData service from Nav 2015 I try oData service URL in the browser but value array contains only one object while I see a lot of…
Metin Ilhan
  • 231
  • 7
  • 16
1
vote
0 answers

Inheritance security rules violated while overriding member when calling assembly from NAV

I'm developing a library to upload files to Azure-Storage, to be called from Dynamics NAV ERP. If I call the library method that uploads the file from a Test Console, it works. If I call it from the ERP I get the error: Inheritance security rules…
Ricky1983
  • 19
  • 2
1
vote
1 answer

Dynamics Navision 2018 - Insert Sales Order Discount using Web Services

I have Navision Dynamics 2018 Update 10 which has Sales Orders exposed as a SOAP web service. The problem raises when we want to set Invoice Discount which is not available in SO header and it appears in SO Lines as read only property :( How could…
Masrico
  • 45
  • 4
1
vote
3 answers

Dynamics Navision 2017 - Insert Sales Order using Web Services

We have Navision Dynamics 2017 which has Sales Orders exposed as a SOAP web service. Technically, I am supposed to be able to create sales orders via this web service. We also have another system built in C# .NET that has staff sales orders that…
Harry
  • 2,636
  • 1
  • 17
  • 29
1
vote
2 answers

Authentication for NAV Web Services with Windows User over HTTP Basic Authentication

I have a NAV instance which exposes (OData) Web Services and is configured to use Windows as the credential type. I am able to authenticate against these Web Services successfully with NTLM. However, I would prefer to use HTTP basic authentication…
1
vote
1 answer

Random "The destination file has an extension that may be blocked" on JobTask export

I have an inherited problem with Navision 2016 ODATA web service I use in my application. Normally it works well, but randomly (1 per 100 runs aprox.) it faults with the following stack log: Server instance: NAV Tenant ID: User: Type:…
Sergey
  • 1,332
  • 2
  • 18
  • 30
1
vote
1 answer

The service principal name (delegation) configuration has been set incorrectly (Ms Dynamics NAV)

I am getting this error on client computers when they try to open Ms Dynamics Nav. I have read some of the suggestions online and from what i have gathered, I am suspecting that the Ms Dynamics server might be encountering the "The trust…
1
vote
2 answers

Azure as a proxy for application

We need to develop integration between ERP (Dynamics Nav) and cloud-based telephony provider. The provider needs to have an endpoint published and accessible from internet but for security reasons it is not possible for us to allow inbound…
Mak Sim
  • 2,148
  • 19
  • 30
1
vote
1 answer

OData, DataServiceClientException: Unauthorized

I'm developing (as a totally no-C#-guy) a web app which communicates with an external data source over OData (server B, some windows 2k12 machine). The web app runs (is about to run) on an IIS (server A, another windows 2k12 machine), the OData…
kubanek
  • 21
  • 2
  • 5