Questions tagged [microsoft-dynamics-nav]

Microsoft Dynamics NAV (formerly known as Navision) is an ERP system that's part of Microsoft Dynamics

Microsoft Dynamics is a line of enterprise resource planning (ERP) and customer relationship management (CRM) software applications. Microsoft Dynamics applications are delivered through a network of reselling partners who provide specialized services.

Microsoft Dynamics NAV (formerly known as Navision) is one product in this product line.


Useful links


Related tags

99 questions
0
votes
1 answer

Restrict back dating and future date when selecting calendar date in NAV 2018

I have a date field which the user will select from the calendar dropdown, now I want only the current date to be selected, future date and backdating should not be allowed. I am using Microsoft dynamics NAV 2018.
0
votes
1 answer

Exchange data from Microsoft Business Central to JavaScript

Curerntly I'am working on a scanner that inputs data into BC fields. The communication between the device and the software is in javascript. I can send data from JS to BC with Microsoft.Dynamics.NAV.InvokeExtensibilityMethod('BarcodeRead',[BCode]…
0
votes
1 answer

You do not have the following permissions on CodeUnit Prova: Execute

In Dynamics Nav 2018 I made this codeunit 50006 called Prova: OnRun() MESSAGE('Hello'); When I Ctrl+R or run it will display this error message: You do not have the following permissions on CodeUnit Prova: Execute My user has SUPER permissions. If…
0
votes
1 answer

How to make sure only one boolean box is ticked at a time

I have a Boolean button where I want a user to only click or choose one. I am using Microsoft Dynamic Nav 2015.
0
votes
1 answer

Business Central Admin Center API

I'm trying to call the Admin Center API of Business Central, but I keep getting 403 Forbidden error. I'm not sure what the problem is - it could be incorrect endpoint or another way to get the required token. I'm authorizing the same way as I would…
0
votes
0 answers

Why always get Bad Request in my c# console application but postman is working fine with NTLM authorization

private static string APIUrl = "http://201.881.xxx.xx:1047/UATDB/WS/Leo/Codeunit/WebApi"; public static async Task GetDataWithAuthentication() { var authCredential = Encoding.UTF8.GetBytes("{apitest}:{apitest}"); CredentialCache credentials…
0
votes
1 answer

How to make an Action that opens a page that is filtered after multiple option values in AL?

I'm pretty new to business central so excuse me if this is a rather stupid question. I have been trying to make a button that sends the user to a page where he can see products that are new or old. A product has a field named "Status" which can have…
0
votes
1 answer

How to select a record on a Test Page

I'm trying to simulate an user, selecting a single record on a list page (i.e. Item List). This is for testing a procedure, which opens said list page, waiting for user input and, if the user presses Ok, adds the selected lines from the list page as…
0
votes
1 answer

Dynamics Nav: How do I create and link an editable field to two tables using Events?

I've created a table and a page for my custom field and I've extended the Customer table and Sales Header. Basically, I want to create a new field in the customer table, card, and list. This field needs to appear also in the Sales Invoice under the…
0
votes
1 answer

c# OdataClient: DataServiceActionQuery, how to execute a function Microsoft Dynamics 365 Business Central?

I've been trying to run a NAV function (Microsoft Dynamics 365 Business Central) from microsoft's odata client. when I create an odatav4 data source, and import the $metadata, I was able to include the codeunits functions in the autogenerated code,…
colo
  • 185
  • 1
  • 1
  • 10
0
votes
1 answer

Is AAD/OAuth the only way to authenticate with D365 APIs?

Dynamics 365 is clearly a huge topic and I know very little about it. If I want to access a handful of web service end-points in D356 using an automated process, is there an alternative to AAD/OAuth for authentication? The examples that I've…
0
votes
1 answer

How do we change url in Business Central 365 embedded Power BI reports when the user changes companies

We have created some custom Power BI reports that are embedded in Business Central Item List, Customer List and Vendor List pages. They work fine and display as expected, UNTIL the user changes the Company via MySettings. The Power BI reports…
0
votes
1 answer

How to update NAV2018 with exported *.fob using command Import-NAVApplicationObject

I tried update NAV2018 using *.txt files first. But it requires some packages as for development. So i tried update NAV2018 with exported *.fob: Import-Module "${env:ProgramFiles(x86)}\Microsoft Dynamics NAV\110\RoleTailored…
ldrahnik
  • 3
  • 3
0
votes
1 answer

Simulating Enter Key Press sending from a Button on it's Click Event?

Hello I have a problem and don't quite know how to fix it, I'm fairly new to C# programming and object oriented programming in general and only really have limited knowledge of procedural programming because I'm mainly a Dynamics NAV Developer which…
0
votes
1 answer

How to get the value of a Business Central Page field based on a global variable

In the Demand Forecast page 99000919, all of the "Header" data fields are backed by global variables. I need to default the View by Period (PeriodType) to Month and then validate the value. I have not been successful at doing so. A. Using…