-
Authenticating against Web Services on Docker
Hi, We're building local Docker Development Environments for NAV2016 development (Using standard NavContainerHelper functions). I'm trying to call a NAV web service using a couple of different web service testing tools (Postman and SOAPUI). In either case, I'm getting an authentication error: HTTP/1.1 401 Unauthorized…
-
Business Central 17 - D365 2020 release wave 2 preview
Hi All, I'm upgrading a vertical solution to business central AL from BC 14 C/AL. Does anyone know of a preview version of BC 17, maybe on docker that I could get my hands on please? Or do I need to use BC 16 for now? Regards and Thanks Roddy
-
Date Formula
Hi, I have a hard time figuring out what my date formula should look like on my items. Our suppliers deliver 2 times a week (tuesday and friday) so what I would like to achieve is that the customers would get the fastest delivery date. E.g. if a customer orders on a wednesday and our suppliers have 3 weeks delivery the…
-
Read image file by webservice in AL
Hi All, I hope somebody can help. Im trying to read an image returned from a webservice, however, I´m not sure much about it. This is what I´ve used for reading xml response which is fine, since is a text that I then parse, but as image, I´ve never done before. Any ideas? thanks a lot. RequestHeaders :=…
-
[SOLVED] Passing Data to JavaScript Addin
Hi Guys, We are starting with the Adding development and I was wondering what is the preferred way of passing a lot of data to JavaScript addin. Sure, passing single variables is simple, but what about something like an array? How about a record? Any help is appreciated. Thanks
-
Two Sales Order Workflows required
Hi, I have an issue with the workflows that have me confused and I cannot seem to find any solution for this issue. The scenario is as follows; We have 1 workflow that is setup under sales, MS-SOAPW where we have set certain criteria for this workflow. It is a custom field on our Sales Order for Gross Profit percent, and…
-
Can't "Print WHT Certificate" on page "Payment Journals"
I've tested and debug from different version, The result is still the same error, What should I do?
-
RDLC problem
Hello, I am creating a report in Business Central, using Microsoft SQL Server Report Builder. The report has a tablix where it iterates lines. The lines have a field called "Line category". There is a repeater and for every line I want to control if the line gets displayed or not. I therefore select a row and select the…
-
Boolean checkbox in factbox
Hey everyone, Is it possible to display a Boolean field as a checkbox in a factbox? It is not necessary to make the field editable. I just want to display the normal "Yes" and "No" as a checkbox.
-
Write and read Active Directory
Hi, I need to create or read users on active directory, anyone with experience with this? thanks in advance NS
-
Pass the value between pages
For example I have "Page A" and "Page B" And I have to pass the value from "Page A" to the "Page B" For this case I was created the function that takes as a parameter value(the value that I have to pass) on "Page B" In the body of this function executes next: parameter := globalVar (where globalVar - global variable of…
-
User interected fields in NAV/BUSINESS CENTRAL
Hi BCExperts, I need your valuable suggestion on below query!! Is there any way to get a user modified field through code? For example, I want to prompt an error to user if he/she modify a field that is blocked for her/him. For this i have subscribed OnAfterOnDatabaseModify event from GlobalTriggerManagement codeunit. But…
-
Code coverage: time spent per object?
Hi, I´m trying to find some performance issues and as you know, it is tricky, specially when the code has a lot of bespoke and facboxes you are not aware of. Do you know if there is any tool that tells the amount of time spent in each object? This could ease the search between them. thanks.
-
Insert a line at the end of a table
Hello, I'm sorry if this question has been asked before but I couldn't manage to find an answer to it. I'm trying to insert a new line by pressing "Insert button" which is created in a form, that line I wanted to be the last line in a table(If other lines exist) The function Rec.INSERT would insert the line and it would be…
-
Print MediaSet (or stream) on business central
Hi folks, I have a kind of weird request. My customer made me save a .pdf file on the item record. I saved it in a MediaSet data type filed. I can save/delete/download it without problem. Now he is asking me to print it. I'm working in BC16 so I can't/don't want to use temporary path or whatever. I wish to print the file…
-
Passing credentials through SOAP Header in XML to connect to NAV Web Service
Hello, Hoping someone has come accross this before, but has anyone connected to a NAV Web Service to create data in a table and passed the credentials through the SOAP Header section of the XML within the envelope? NAV Version: NAV 2017 NAV Authentication: NAVUserPassword I am using SOAPUI to Test and I can insert data…
-
How to call webservice which Require Json structure and XML as attachment using REST API .
Hi i am trying to call an API which require Param as Json file structure and xml file attachment as body .
-
I have not action "Open in Excel" on pages BC16.
We have two the same databases but in 1st database I have this action in 2nd - not. Excel version meets the system requirements of Microsoft. Permission sets include either the D365 Excel Export Action permission set or the system permission 6110.
-
Sort records based on Date
I am trying to sort the records of Item Ledger Entry to give me the expiration date as the earliest date relative to today(). If there are 2 records let us say in ILE Entry No, Item No, Expiration Date 1, itm01, 5th of October 2020 2, itm02, 10th of October 2020 3, itm03, 11th of September 2020 I want it to be sorted as;…
-
Adding a Tracking Spec Line through AL Code?
rec_trackingspec.init(); if rec_trackingspec2.FindLast() then rec_trackingspec."Entry No." := rec_trackingspec2."Entry No." + 1 else rec_trackingspec."Entry No." := 1; rec_trackingspec."Creation Date" := WorkDate(); rec_trackingspec.Positive := true; rec_trackingspec.Validate("Item No.", rec_SalesLine."No.");…
-
Clear All fields in a form
Hello, I'm sorry if this question has already been asked before but I couldn't manage to find an answer to it. a form has been created with a couple of fields, checks marks, and an "Add" button which will add all these fields into a table. My question is I want once that button is pressed all these fields in the form…
-
Can´t Undo Shipment - got error There is not enough space to insert correction lines
Hi, Then I try to Undo Shipment on a Sales Shipment I got this error messages "There is not enough space to insert correction lines" I am using NAV2016 Kind Regard Mats Gustavsson
-
Trying to find a codeunit to help me automate posting shipment.
I am trying to write a Job Queue codeunit that will at an interval try to post sales shipment from Sales Order. I have looked into Sales-Post (Yes/No) and Sales-Post codeunits and could not find a procedure that I can use to Post a Sales Shipment from a Sales Order document. What codeunit is available that will assist me…
-
Table locking on approval with Workflow Step Instance table
Since moving to NAV 2018 (R1) and now using the newer Workflows for approvals, we have a lot of locking that occurs. For example when users send for approval from the sales order, they receive an error due to the Workflow Step Instance table being locked. It is intermittent. I have looked through the code around the…
-
"Schema of the file is not supported."
Hello everyone, I'm getting this error when trying to open navision through citrix "Schema of the file is not supported." Any one got this before?, anything to check ?. Please help me with your suggestions. I found only the below post , when I googled with the error.
-
Nav 2016 Json Page Api Postman Issue
Hi, I am using Nav 2016 CU1, in which i have created a List Page-50000 on table Item Ledger Entry and have used 3 fields (Item No.Remaining Qty & Location). When i publish this page in web service, the ODATA link is working nav server & on my local machine (i.e; on public network). But when i run the same in POSTMAN, it is…
-
Creating Report DataItems via VS Code
I have gone through the tutorials and trainings on VS Code. I think by far, the most difficult part of it all, is creating report data items via VS Code. Even using the standard snippet, this gets very cumbersome. When I tried creating a very complex dataitem (e.g. a BC Sales Invoice), I ended up switching to the classic…
-
Is NAV 2015 compatible with SQL SERVER 2019?
Planning for SQL Server upgrade, I would like to know if NAV 2015 is compatible with SQL SERVER 2019? If not, what are the other version of SQL Server available that are compatible with NAV 2015
-
The connection to the server was suspended
Hi, I am getting "The connection to the server was suspended" from NAV 2017 web client. Your help will be much appreciated. Regards, Evyn
-
Displaying field from a form into a table
Hello Everyone, I'm new to Dynamics NAV, but I created a form with two buttons("Add" and "Exit") and some fields. These same fields already exist in a Table. What I'm trying to do is after filling the form's fields, then I need to press the "Add" button so all the values from the form's fields needs to be added into the…