-
what is meant by test case and how to write it
Please!Explain it Clearly Thanks in Advance
-
Modify a Record from a RequestPage
Hello NAV experts, Is it possible to modify a Record from a RequestPage ? Here is a code example that generates an Error "ID=0" dataset
{ dataitem(CalculLoyerEntete; "Calcul Loyer Entete") { DataItemTableView = SORTING("ID"); column(Name;Name) { } column(DateMail;FORMAT("Creation Date Last Mail",0,'<Day,2> <Month Text>…
-
The problem about get business central trials.
Hi everyone, I tried to get the business central trials from this link below. https://trials.dynamics.com/ I used work email (the email that have onmicrosoft.com in domain). After I click "GET STARTER" button I got this message "That didn't work We don’t support your country or region yet. We’ll add more countries and…
-
Webservice returning 413 Request entity too large
Hi all, On Navision 2015 CU30, I'm having a problem when I send a request to the navision webservice, the request contains a base64 encoded PDF, so the request is +100 000 charachters. I get the response 413 request entity too large.. I tried changing the max msg size in the instance admin console to the max value allowed…
-
Make it impossible to print report
Hey everyone, For a project at work, a report has to be altered so that is only possible to print the report if the report is run from a certain page. So for example, printing is only possible from the sales line page and not from the customer card page. In both pages, making a preview should still be possible. Is there a…
-
Not allow to modify a record in some conditions
trigger OnValidate() var StatusLbl: Label 'The status of the policy has changed to: %1', Comment = '"ESP = "El estado de la póliza ha cambiado a: %1"'; begin Rec.Reset(); // --- IF para comprobar si el estado de la póliza es Aceptada o Rechazada --- if (("Policy Status" = "Policy Status"::Approved) OR ("Policy Status" =…
-
BC 17 - cannot enter table ID in field mapping from a data exchange definition
Hi. I think this is something simple that I have missed but I am banging my head against a wall! I am setting up a simple payment export. I have created the new data exchange definition, set the details (variable text and all code units etc), entered the line, entered the columns and then I go to field mapping and I try to…
-
Set-NAVServerUser to add profile to user failing, after New-BcContainer for BC 17.0.16993.0
Hi, I am trying to add a profile (role) to a user. I have created a docker image/container using New-BcContainer and then using Set-NAVServerUser as below. However, I am getting an error. I have tried various profiles ACCOUNTANT, BOOKKEEPER etc. Regards & Thanks Roddy
-
NAV 2016 cu1 client does not run on terminal server
Hi, Strange problem here. I've installed NAV 2016 cumulative update 1 on a navision-server. Installed the client too on that server. It opens fine. Now when I install the client on the terminal server the installation seems succesfull, but when I start the client it crashes. In event viewer there's a ".NET runtime"-error.…
-
NAV 2009 R2 Classic Client and Shopify API + JSON
Hello I need to integrated with our new Shopify shop, so NAV 2009, can get orders, update orders, products etc by some sort of automation. Ive created a shop i Shopify, greated a private App, got the API key and the password, and when i enter the url:…
-
Network share as URL/Hyperlink in field
Hello! We are facing the following problem: In Business Central web client, we would like to use network share as clickable links. It's working for HTTP and https protocols but for file:// protocol it redirects us to about:blank#blocked, and the field trims the \\'s from the url \\machinename\share\file.ext to it's parsed…
-
VS Code compile errors for dotnet in BC17
Hi, I'm preparing a baseapp for BC17, it is all going well but I've had an issue after installing and then uninstalling NAV 2015 on my machine for an emergency. I'm now getting a handful of .dotnet compilation issues for BC17. Note, I have repaired/uninstalled/reinstalled BC17. I'm wondering in anyone has come accross this…
-
BC Task Scheduler Retry Flow
Hello all together. Our company is in the process of upgrading from NAV 2009 R2 to Business Central. I was looking into the Task Scheduler and came across the following. Under certain conditions (e.g. table lock) a task is restarted ("Retry Flow" or "Retry Process"). The first time after two minutes, then after four…
-
Can we capture mobile device ID in Dynamics 365 BC
Hi All, We are using MS Dynamics 365 business central on premises. User is accessing application from mobile. Can we capture his mobile device ID? If any user fill the data through mobile we have to capture his mobile device ID also. Please help how can we capture this? Thanks in advance. Regards, Kishore
-
Data migration from BC 14 to BC Online
Hi, I'm a bit lost and wonder if someone can give me some tips. I'm in a process of migrating data from BC 14 to BC Online After upgrading the data, I have many tables with "warning : The table does not exist in the local instance". Some of them are coming from extensions that are not in by BC 14 on prem but others are…
-
could not find a debug adapter descriptor for debug type 'al' (extension might have failed to activa
Hello I have been using vscode yesterdag, but todag i am getting the message: could not find a debug adapter descriptor for debug type 'al' (extension might have failed to activate) I couldnt finde something on google. thanks for the help. Kinde regards Firsa
-
Publish of Extension Error
Hello, I'm trying to re-publish a perfectly running extension but suddenly I'm getting this error "Couldn't find a debug adapter descriptor for debug type 'al' (extension might have failed to activate)" using AL Extension v0.13.195601 any help is highly appreciated thanks
-
OData Connected Service throwing exception with NAV2017
Hi Everyone, Im attempting to send data to Dynamics NAV 2017 from a C# Application via a ODataV4 Connected Service. However when saving the changes tracked by the connected service extension in Visual Studio i am getting the following error. The context URI '[i]ODataV4 Endpoint Redacted[/i]' is not valid for the expected…
-
ODATA 'company' name issue (..."O'Reilly Corp"?)
For a NAV 2016 CU48 instance we have published pages as web services, to be consumed by ODATA. We consider them stable. However we have a company called for example "O'Reilly Corp" and the apostrophe is causing us some headache. This is an issue that should be resolved by reading the ODATA specification documentation. For…
-
Purchase Variance with Items of type Service - NAV 2018 (ver 11)
Hi everyone, We are selling services to our customers that are handled by our partner (using the Purchase Order and Items of type Service), then, when the service was actually provided, we're receiving back the invoices from the partner. Sometimes the amount in the partner Invoice is equal to the original Purchase Order,…
-
A logical problem i don't know how to resolve (code comments in spanish)
I have to import orders from an XML that contains:* Customer No && Order Date (Header) * Line Type && Item No && Quantity (Line) The point is that some headers has the same customerNo and Order Date combination so I have to put in that case the lines into the same order. This is my xmlport code: The filter doesn't seems to…
-
3CX phone system NTLM auth with Nav2016
I am in the process of linking a 3CX VoIP telephony with Nav2016. I got some web services where I can get the data out of Navision perfectly when logging in manually. Now this has to be done automatically and the flow is as follows: -> A customer calls the phone number is passed on to Navision, in return we get a Queue…
-
Converting Text to Date
Hi, can anyone say to me if it's possible to convert Text Data to a Date Data? I'm importing a CSV text file to headers and lines and I want to pass one information to the Order Date date field. Thanks!
-
Get user input
Hi All Using business central 2020 (so 100% AL). I have a codeunit that gets called from the sales line functions menu. I need to get a percentage from the user. How do I prompt the user for a value? Thanks mark
-
Export XML and Save To Local Directory
Hi, i am running BC16 on prem on a local docker and want to be able to export an xmlport file to my local machine. My code is as follows below, but rather than saving it automatically to a specified folder it is saving to my downloads. OutputFileDirectory is set to 'c:\TestExport\' and OutputFileName is set to…
-
customize standard C/AL report as AL
I'm trying to make a customized version of report 4 i BC ver. 14, so I've ExportToNewSyntax and Text2Al, this gives me 4 files *.al, *.rdlc and 2 xlf, I have added the al and rdlc to my vsc project, here I have added possibility for Dimension filter and corrected the RDLC path in the al file, this all went smooth, but when…
-
How do I add a pdf/base64 to a cloud api?
Is it possible in the Cloud to generate a pdf document and transfer that to an API? I am trying to create an API for the "Purch. Inv. Header" that includes a printed version of the Invoice as Base64. I have been trying to use the Report.SaveAs funtionality, but keep getting an error stating that unknown language has been…
-
How to handle manual consumption WITHOUT picking.
Hi Guys, I have a customer that produces beer. The location is set up for picking so they can pick based on FEFO. On every production order they need to record how many liters of beer was used to produce, say 5000 bottles of beer and then register this on the production order. Sometimes they use 2045 liters, sometimes…
-
Web service Azure authentication with OnPrem NAV installations
Hi, I am using NAV2017 OnPrem with Azure Authentication. Managed to get Azure authentication working with the Windows and Webclient. But, could not get it to work with Web services. How does one configure Web services to work with Azure Authentication? Jordi
-
BC 2020 - how to select records (like select more) in AL
Hi All Trying to write an extension that will give users a function on sales lines. When they run it, it will select certain records in the lines (based on an internal calculation, so that they can then hit Ctrl-C and have the selected records copied to clipboard. In the UI, you would click "Select More" and then select…