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

Customize SQL Server Report Builder Wizard

I'm a new NAV dev and currently learning how to generate reports. Everything works, but I always end up having to do the exact same steps over and over. What I am wanting to do, is create a custom template for the wizard that already has some things…
1
vote
1 answer

How to set change log entries user in Dynamics Nav 2016

I've written some code to query the ODATA endpoint in Dynamics Nav 2016. I did this by creating an ODATA connected service. I wrote the following code to add a record: var navision = new Navision( new…
Muhammad Rehan Saeed
  • 35,627
  • 39
  • 202
  • 311
1
vote
1 answer

PDF file printing with MS Dynamics NAV 2017 using PDFSharp library not working

I use the following code in NAV 2017: Printer := Printer.PdfFilePrinter('C:\IBTS\test_folder\pdf-sample.pdf'); Printer.DefaultPrinterName := 'HP LaserJet Pro MFP M521 PCL 6'; Printer.AdobeReaderPath('C:\Program Files (x86)\Adobe\Reader…
bigb055
  • 198
  • 3
  • 14
1
vote
1 answer

How to check recref.field(Integer) is empty or exists in Navision Development ( C/ALL )?

RecRef is datatype of RecRef, and by this i access to table and can select the field of the table; RecRef.OPEN(IDTABLE); RecRef.field(2); // RETURN THE FIELD DATA OF THE IDTABLE. but if this is empty navision send error so; How to check if…
Tabutnas
  • 35
  • 6
1
vote
1 answer

Send BigText via WinHTTP 5.1 in Dynamics NAV 2009 SP1

I know how to send normal Text via WinHTTP 5.1 Automation and how to turn the reponse stream into an BigText object. Now I want to send the content of a BigText via POST/PUT basicly this: CREATE(bigText); bigText.ADDTEXT('...'); ... CREATE(HTTP,…
Ello
  • 907
  • 1
  • 15
  • 33
1
vote
1 answer

SOLR - TikaEntityProcessor - BLOB Import

I'm having issues figuring out exactly how to import blob data from a SQL Server database into SOLR. This is hooked into NAV as well. I've managed to get the data out of the table within NAV, however I need this data in SOLR for search purposes.…
Xyphius
  • 89
  • 1
  • 7
1
vote
1 answer

Future Of NAV and AX

May not be the correct forum but do you guys have any news regarding the future of MS NAV and AX. I have heard(from AX Veterans) that Microsoft will stop support of AX and NAV by 2020. They are going to replace it with Office 365 based new ERP. If…
Sudeep
  • 343
  • 5
  • 12
1
vote
2 answers

Create a lead in Microsoft Dynamics Nav 365, from PHP CURL

Good morning all, I'm trying to create a lead entity in Microsoft Dynamics NAV 365, from a php CURL script. However I keep getting a "HTTP Error 401 - Unauthorised: Access is denied" in my CURL response. I can however, create a lead via the web…
1
vote
2 answers

WPF Toolkit - how to refresh a chart

I just created a pie Chart with the WPF Toolkit. I wanted to create a AddIn for MS Dynamics NAV. If I call that method in NAV: public void setChart(string chartKey, float chartValue) { KeyValuePair value = new…
Marstaw
  • 51
  • 1
  • 9
1
vote
1 answer

fixing and understanding an error in a very simple Navision dataport

Can someone please tell me why my code would error out on CU 5402 UOM Mgmt, specifically at the Item.Testfield("No.) line under GetQtyPerUnitofMeasure function? Below is my code to import 6 columns of data:…
1
vote
2 answers

Is there a way to pull vendor creation date in Dynamics NAV 2016?

The business has a request for auditing to pull a list of all newly created vendors in NAV 2016 for a given period. I was unable to locate an entry creation date or added date for the vendor table. Is this possible? I'm currently supplying the…
1
vote
2 answers

Calling C/AL function FROM .NET component

As per title, I'm trying to call some C/AL function from .NET - is this possible at all? I'm using NAV2017.
Farid
  • 872
  • 1
  • 13
  • 30
1
vote
1 answer

Convert from C/AL object to JSON

As per title, is there any way to convert from C/AL object to JSON object? If I'm not mistaken, some of the data types in C/AL can be converted straight to .NET object (string, int, etc) but I'm not sure which types are / are not. I'm looking to…
Farid
  • 872
  • 1
  • 13
  • 30
1
vote
1 answer

Decimal separator Navision Xmlport

Is it possible to force any numerical value exported from an xmlport to a certain custom format, regardless of regional settings? For example, 120.25 (US) will export as 120,25?
WSNoob
  • 33
  • 8
1
vote
1 answer

How can I select fields from Cronus Sales Invoice Header table using php sqlsrv?

I am trying to connect and select all fields on the Sales Invoice Header table and echo only the 'No_' field. I am using php with the sqlsrv extension. When I run it I get this error: Array ( [0] => Array ( [0] => 42S02 [SQLSTATE] => 42S02 [1] =>…