-
JSON string truncated to 240 characters
Hi everyone. I'm using the Newtonsoft JSON library in NAV2016 C/AL to format a JSON web request. The code is straightfoward: JsonTokenWriter := JsonTokenWriter.JTokenWriter;
JsonTokenWriter.WriteStartObject; //curly open {
CreateJSONAttribute('name','Shawn…
-
Convert a DotNetDictionary into a JSON string
Does anyone have any C/AL code examples of deserializing a DotNet dictionary object (System.Collections.Generic.Dictionary`2.'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089') into a JSON object?
-
PO attachment
I'm trying to get the file(Terms and conditions) from a field in a table. And then attach that field to the Purchase Order attachment. But I'm getting the following error when I get that file downloaded, please note the file size is ZERO Bites. Could anyone explain why??
-
Sales Invoice report - sales line type blank removes totals
Hi all, I am kind of a newbie in AL programming. I am working with customized sales invoice report where I run into a strange issue. Whenever the last sales line is type blank (the customer uses it to add some comments to the invoice), the totals are not showing up. I have tried to look into my rdlc layout but I am not…
-
Restrict one field in the permission sets
The goal was to restrict this one field "Last Direct Cost" in the permission sets, but I only see how to restrict all edits to the item card itself. There is no standard way to put permissions on the record to make a field non-editable for specific users. However, this could happen by adding a small enhancement so that…
-
Let me how to view Detailed Stock Ledger Report in navision?
Let me how to view Detailed Stock Ledger Report or report related to it in navision.Please
-
Page.Close() don' t work
Hi All, Can someone tell me why the CurrPage.close() don' t work in page trigger such as OnOpenPage but work in action trigger or control add-in trigger. Thks for any reply.
-
controladdin function
I need to convert a string representing a numeric expression into its corresponding result. In the same way by when in an excel cell you enter "2+2*4" and the result is 10. EVALUATE Function not work. Need for a 'numerical' string and does not calculate expressions and I cannot use DLL. Cannot find a solution. I had…
-
add email recipient during send sales invoice
Hi All. I have added new field in Customer card, which is "E-mail 2" --> text 250 how do i include this when i send Email from Posted Sales Invoice ? any idea? Thanks.
-
Fail update Odata Web Service BLOB field with return 400 Bad Request using larger file
Hi, i have create request Bussiness Central W1 19.5 OData Webservice to update BLOB field based on this Dynamics Picture Update It return successfully with 204 code for small size file (100kb) But if i try with larger file size (ex. 200kb) it return fail with 400 bad request Is there any suggestion to upload image to BC…
-
Business Central Adobe Reader API Integration
Hello, I am working on Business Central Adobe Reader API Integration. I am struggling with passing MediaType in Request via programming. I have followed Adobe Reader API Documentation and passing MediaType as per given example. But I am getting error when Request is sent via programming. The same works when I send Request…
-
Change Reference in NAV 2017 bank export (Danish BEC-Indland format)
Can't find where to change 'Own reference' when export payment to bank (fileformat BEC-INDLAND). In reference NAV exports the Voucher No. I want to export 'External Document No.' and the Vendor account instead. Where do I change that in NAV??
-
Validate on existing page... Page Extension or Event ?
Hi masters ;-) When some modification has to be done on an existing page for a Validate for exemple, I usually use the Event Subscription to perform it. I saw some of my collegues doing this operation if a Page Extension using the Modify... Both system works but I am wondering if one option is more efficient or not... Any…
-
Two instances of NAV 2018 on same RDS?
We have a NAV 2018 environment which is running on CU 2. Recently, we were asked to setup another NAV 2018 environment which is running on CU 60. How can we run both NAV 2018 CU2 & CU60 client applications from the same RDS server? Any tips on how we can configure this?
-
How to make customize dialog
Hello all, I have a function which need a dialog to display how many time past. Both of all the system providing dialog can not meet needs, Does there have a way to make a customize dialog. Thanks for any reply.
-
Chart of accounts
I have setup a new Company on Business Central. Please kindly advise how I can copy the chart of accounts from an existing company to the new company?
-
HttpResponseMessage.Headers() does not contain Content-Type and Content-Disposition?
Hi Community, it seems that the HttpResponseMessage.Headers() method does not return the http headers for "Content-Type" and "Content-Disposition". Headers traced with Fiddler: Headers List in AL-Code debugging: Does anyone know why or how to access them? I'm doing a http get for a file and want to get its mimetype and…
-
Microsoft Dynamics NAV 2015 - Start Job Queue thru terminal commands
Good day! Is it possible to Start the Job Queue in MS Dynamics NAV 2015 thru terminal commands? Microsoft Dynamics NAV 2015 Version W1 8.00 / 8.0.38798.0 Thank you!
-
How to identify if BC is opened on tablet or on tablet view (on browser)
Is there a we can identify if BC is opened on tablet on on tablet view?
-
"Incoming Doc. Attach. FactBox" causes massive performance problemes
Hi guys, when opening the Sales Order Page (9305) the data are shown after 11 seconds. While analysing the performance, I figured out, that the subpage "Incoming Doc. Attach. FactBox" causes these problems. It is strange that this is not always the case. The same fact box sometimes causes this problem also when opening…
-
Email CC customization
I'm trying to modify the Send Email "CC" field in Posted Sales Invoice page to populate the value of the custom email fields(Email 2 and Email 3) that I have in the Customer Card I have found the following event to subscribe to in order to modify those fields (To, CC, or BCC) but I encountered an issue when they have a…
-
customization of sales invoice emailing
Three email fields have been created, and I want to take all those emails from all those three fields and add them to the "To" field. Anyone knows which event I should subscribe to or what needs to be done to include those emails?
-
Base function missing
hi all , I am using Nav 2018.in the report 1401(check),the base functions are missing. I have checked with someone who have same version of navision 2018. for the reference i have attached the screen shot of the function which i have currently. I need to use the FormatNoText function from report-1401.but it is missing for…
-
NAVCancelCredentialPromptException with infinite loading loop
Hi everyone, after upgrading from BC17 to BC21 onprem we are encountering the issue that some users will get caught in a seemless infinite loading loop after changing the language or company in BC. We are using AAD fot authentication. After clearing cookies it works just fine. The event log for the time of the problem is…
-
User Access Report
is it possible to run a report from BC showing user access over a period, so who logged and on what dates?
-
New Company Request
Hi I need to add another company to our system. It isnt live yet but is is based in SWITZERLAND so I need to maje sure the tenant set up etc is correct. Please advise how to add a company?
-
if boolean of a field is set to true then Editable in another field should also be true
Hi, can someone please help? on Business Central AL, I am trying to set a rule, where if a Field Property Editable is set to true then another field should be set to true, if it's set to false then the other field should also be set to false. field (Record1Boolean) { Editable=true } field (Record2Date) {…
-
Post Code Look Up
We are looking to upgrade to BC later in the year and would some information in regards to how the POST CODE LOOK UP function we have currently works in our current version of NAV. Are you able to provide the information?
-
Repeated Refresh Issue
Users getting repeated message asking to refresh, see image
-
Put away per zone and bin?
In Business Central, it is possible to create a pick per zone, bin, etc. But is this not possible for Warehouse Put-Aways? For example you want to create 2 picks for 2 different zones? Thanks.