-
BC14 Service Tier Event Log errors
Hi, we are running BC14 and in the eventlogs of our servers I see a lot errors like this one. Protokollname: Application
Quelle: MicrosoftDynamicsNavServer$BC14-TEST-EK1
Datum: 08.12.2023 11:34:49
Ereignis-ID: 708
Aufgabenkategorie:(33)
Ebene: Fehler
Schlüsselwörter:Klassisch
Benutzer: Nicht zutreffend
Computer:…
-
FTP Transfer using WinSCP
Hi, here in the forum are some instructions how to do use WinSCP to transfer files. I downloaded the WinSCP-Automation package, which only contains the WinSCPnet.dll and WinSCP.exe I copied both files to the Addin Directory on my Client. If I create a DotNet Variable in my C/AL Dev Client, I see the WinSCPnet Assembly in…
-
Business Central 14 The remote certificate is invalid according to the validation procedure
We use the ECB (European central bank) exchange rate service. When i add the URL in BC, https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml, i get error "The remote certificate is invalid according to the validation procedure". I've checked that the root certificate for the issuer Entrust is there and if i go to…
-
BC Check MICR font
We are using BC V22 On-Prem. We are implementing bank checks in BC. I am using report builder. We copied the MICR font from the NAV Server to the BC Server. I am using the exact alignment as NAV. The checks look perfect in NAV. The bank rejected checks in BC. The MICR font is not aligned and not in the proper position.…
-
How to convert custom reports from NAV to Business Central?
How can I convert NAV 2018 reports as extensions for Business Central in the cloud? Is it possible to do it using Microsoft tools, as it was done previously with Business Central on-premise and not with third-party tools? As an additional note: the version has already been upgraded to Business Central but without the…
-
BC service falling over
Hi, I have a client whereby the BC service is falling over a couple of times a day, this is from the event log:- I was wondering if anyone has seen this before? Regards and Thanks Roddy Server instance: SVCT-Live Tenant ID: Environment Name: Environment Type: User: Type: System.OverflowException Message: Arithmetic…
-
API Page-OnInsertRecord(BelowxRec: Boolean): Boolean
Hi all, I have created a new custom API page, and I have seen in a book and in the standart API pages that exit(false) is used in OnInsertRecord(BelowxRec: Boolean): Boolean on API pages. Could you please tell me why is like that. In which cases I have to use exit(false) ? Thanks Ivona
-
How do I get NAV 2017 to work with Visual Studio 2017 for the creation of reports?
Hello, I am very new to working with Nav, so please excuse any nonsense I may say. According to the system requirements of NAV 2017, I should be able to use Visual Studio 2017 with "Microsoft RDLC Report Designer for Visual Studio" installed, to create and edit RDLC report layouts.…
-
Restore BC OnPrem from BCOnLine Bacpac file
Hi, Has any one ever done this before? The steps I used to do this: 1) Download bacpac from BCOnline 2) Dowload and Install BCOnPrem with the same app version as BCOnLine 3) Import bacpac file to a SQL Server database 4) Set BCOnPrem to multitenant 5) Mount BCOnline tenant db to BCOnPrem instance 6) I get errors in NAV…
-
How to create custom workflow for customized table and customized page?
Hi experts, Is it possible to create customized workflow for a customized page related with customized table in NAV. How far it is possible and if yes, how we can achieve it. Please help.
-
How to make reusable sales quotes in BC?
Hello, we want to make templates for sales quotes which can be used for different contacts/customers. It is possible to copy sales quotes, but prices etc. get lost or have to be recalculated. So I want to know what's the best practice. Should you create a "master" contact or a "master" customer to store the templates?…
-
How to lock columns in NAV 2018 using excel Buffer
I need to lock (protect) all columns except one. In Classic, the automation routines used, have protect and lock. In NAV 2018, the dotnet routines used do not seem to have these functions. Name DataType Subtype Length XlWrkSht DotNet Microsoft.Office.Interop.Excel.Worksheet.'Microsoft.Office.Interop.Excel,…
-
Adapting Dotnet usage - Moving into Cloud development
Hello all, As you know, in AL development, when you change your target:"OnPrem" to "Cloud" to follow the Universal Code Initiative, your dotnet variables and some functions blow up. I lost count of all the modifications that I had to do to XML/HTTP/web request-related variables and file management, so I thought it would be…
-
is it possible to select customer template before create new customer (via API)
Hi All, I am planning to create new customer from API (Cloud BC) but i want to select from which template first. is it possible? Thanks.
-
PageBackgroundTask issue
Hi all, I have a problem understanding why OnPageBackgroundTaskCompleted and OnPageBackgroundTaskError are not triggering in my page, in some cases. The page consists of a group and a repeater, the repeater shows some records and the group contains cues for totals. I want to update the value of one this cues through a…
-
NAV 2013 R2 Object changes not working until service is restarted
Hello Everyone I am facing problem then I am making change in Codeunit but it does not work until service is restarted or Sync-Tenant Command is used using PowerShell. Version is 2013 R2. I have verified and assigned necessary permission to Service Account and my user on SQL Server and service tier. Any suggestion or help…
-
VS Code debugger in wrong place on standard code - BC v23
When debugging, I go through several functions of bespoke code and everything works fine. Stepping into, over and out all fine, but when I get to here and step into the standard Sales Header table code, it brings me here I believe it is debugging the correct lines in the background, it's just not taking the Namespace ___…
-
Run codeunite when a new value is added in Service Invoice Header.
Hi everyone. How I can run CodeUnit when a new value is posted in Service Invoice Header.? Thank you for help
-
Creation of "My Notifications"
I want to implement custom "My Notifications" for all users. Where are these initialised in code? Thank you.
-
Reports multiple dataitems
Hi , I am making a report where there are three datatiems and the last two dataitems makes a relation with first dataitem. Both last dataitems consists of multiple records(table of list page). Report layout have diff tables for every dataitem. Now If I do publish the report, all tables in report layout gets equal no of…
-
Change user password?
After login into BC on-Premise (using NavUserPassword), how can a user change his own password at any time.? Is in't supposed to be under MySettings page?
-
Full upgrade path from 22 to 23
What is the recommended way to do a full upgrade of a live system (On-Premise) from BC 22 to the latest release available now? May I know whether there is a step by step guide somewhere? I searched and came across only the Technical upgrade guidelines. My understanding is that this is different from a full upgrade ??
-
Batch job/job ques takes different time in BC
Hi, We are at a performance testing stage with a customer. We have an isolated on prem environment (BC22). We are testing batch jobs. We are running identical tests with the same amount of data, and the same code. But the time the jobs takes, differs from 2 hours to 6 hours. BC runs on a Azure platform with and Business…
-
Problème with the use of Trigger when service order is posted.
Hello everyone, Please I need your help. I have one CodeUnit that I want to run when I post Service order. In post action of Page 5900, I call the codeunit (CodeUnitName.RUN(xRec);) but I receive the following message. . I think that the error occures because when I post "Service order" the related data was submitted.…
-
Block users from deleting system notes that wrote other user
Hello, I used OnBeforeDeleteEvent for this, but the problem is that it also triggers when users are converting a Sales Quote to Sales Order. It also happens when deleting Records containing notes. Is there a way where I can block the user only when it's pressing the delete button of a systempart Note? Thank you :)
-
separate schema inside NAV or BC database
Hi All Is there any issues in creating and maintaining a separate schema inside the BC or NAV database and creating and maintaining custom SQL views to extract data from NAV tables? Will this be lost or change or creating any problem?
-
Json reading array using JSON Management, Variant value to loop throw the values arrey 1 to 10?
{ "enum": [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", ] } Hello every one¨need your help please :-) Json reading array using JSON Management, Variant value to loop throw the values arrey 1 to 10? gJSONMgt.InitializeObject(TempBlob.ReadAsText(CRLF,TEXTENCODING::UTF8)); gJSONMgt.GetJSONObject(gJsonObject);…
-
Error while converting BC14 to BC21
Hello Experts, I have trouble converting my BC14-OnPrem-DB (only CAL-Code) to BC21-OnPrem. When I try to publish the "BASE Application" from Microsoft I get the following error: PS C:\WINDOWS\system32> publish-navapp bc210 -path "T:\Microsoft_Base Application.app" -SkipVerification publish-navapp : Extension compilation…
-
item tracking. importing serial nos from external system
Hi, Not an expert on item tracking here :-) External system assigns serial numbers to Purchase Order Lines via BC extension method (see code below) Sometimes, purchase order line already has the serial numbers assigned and they could be the same as those in external system. External system does not know about it and still…
-
The record is already open ?
I have a page with area faxboxes, part attached documents, but I get an error, "The record is already open". It is in all companies in this environment. The same code works fine in 25 other environments. Customer Card works fine in this environment, so where to look for the error? Regards Maria Code: area(factboxes) {…