-
Usage of CurrPage.SetSelectionFilter()
Hi, I have got a question about this standard C/AL code. It is in Page 132 (Posted Sales Invoice):SalesInvHeader := Rec;
CurrPage.SETSELECTIONFILTER(SalesInvHeader);
SalesInvHeader.PrintRecords(TRUE); What is the first line of code doing here? It kind of looks like its selectiong only the current record. But if so, why not…
-
Visual Studio Code Snippets: User Personalization, Shortcuts, Keybinding
In this blog post, it will be outlined how to modify and create shortcuts and Visual Studio Code snippets to suit your workflow and save you some time spent on repetitive tasks. Have a read here➡️https://bit.ly/39hV7fa
-
Mobile app something went wrong "unable to localize service.."
Hi Mibuso, I try to connect to a BC Cloud with domain "blabla.onmicrosoft.com". The BC mobile App cannot connect to the tenant. If I connect using a browser it works like a charm. (same login information) Where is the problem? (I supposed it's something with the ..onmicrosoft.com) The error [translation from french] on the…
-
Extension Download Symbol Error
Hi all, I have upgraded database from nav 2009 to bc 14 but when i use visual studio code to download symbol it's error. FYI, I already done this step cd C:\Program Files (x86)\Microsoft Dynamics 365 Business Central\140\RoleTailored Client finsql.exe Command=generatesymbolreference, Database="Demo Database BC (14-0)",…
-
Delivery Note, Sum previous send quantity based on DN, Job No, and Job Task No. from Job Ledger Entr
Hi All, I am new here, recommended by a friend. My work place are preparing to launch Dynamics NAV 365 Client side manufacturing next week and they have asked me to write a few reports, I am a full C# Developer. I am stuck on a particular report and I am not sure what I am doing wrong! Basically I was asked to create a…
-
The Sales Header does not exist
Good day, I have a job queue that would automatically generate invoices and receipts for your customers. Unfortunately it is now giving errors: The Sales Header does not exist. Identification fields and values: Document Type='Invoice',No.='INV-00555459' and no more invoices or receipts are being generated. Could someone…
-
DotNet passing "Missing" parameters
Hi experts, I'm trying to use the DotNet variables in NAV2009R2, the Microsoft.Office.Interop.Word assembly to create some automated document creation. Looks like it works in the beginning but I have a little problem. Almost all of the methods require parameters as "ref" - wordApp.Documents.Add(ref object Template, ref…
-
Something Went Wrong - WebClient external access deployment in Azure VM
Hi experts, My problem is I'm having problems granting external access to the NAV webclient and there is no much info I can get from the error (all I get is "Something went wrong") or from the event log (the most meaningful message I get is "ThreadPool.MinworkerThreads…"). I don't know what else to look at so any…
-
Updating Excel without losing formatting
Excel Buffer provides a functionality to update worksheet - but the trick is: it is forcing new cell Decorator during update - function WriteCellValue looks like this: [External] WriteCellValue(ExcelBuffer : Record "Excel Buffer Advanced")
WITH ExcelBuffer DO BEGIN GetCellDecorator(ExcelBuffer, Decorator); CellTextValue :=…
-
Could not open C/AL Editor
Smth happen and now when I try to open C/AL Editor Navision closed
-
How to connect CDS with BC Online
Hello, Can someone help me connect a custom table in the online version of Dynamics Business Central 16 with CDS? I already tried but I have the following error "Table connection for table type CRM must be registered using ResisterTableConnection or cmdlet NewTableConnection before it can be used." How can I run the…
-
Exchange Rate Web Services - Filter on Currencies
With the Exchange Rate Web Service function, I wonder if it is possible to have it filter on one or more curencies to update. We wish to use a different source for the feed for different currencies. It seems though the tool will pull in rates for ALL currencies that exist in NAV.
-
Navision 2015 Web Client : Communication with the server failed, and the content cannot be displayed
Dear Friends Recently we configured three tier architecture (One for NAV Server, Second for SQL Server and another for IIS Server). RTC client working fine. Accessing the Web client working ok,. But after select/click menu, system throw the error. We did check Event viewer on NAV Server & IIS Server, but nothing captured.…
-
Using AD-Group Commands in a Nav-Container
Hey there, I would like to try out a few things within a Nav-container created by Freddy Skript this way:New-NavContainer -accept_eula -licenseFile $licenceFile -containerName $containername -imageName $imagename -doNotExportObjectsToText -includeCSide
-TimeZoneId (Get-TimeZone).Id -shortcuts "Desktop" -alwaysPull…
-
Use "New-NAVServerUser" Powershell command in Container
I want to use the New-NAVServerUser Command in a container to create a new Nav User. The Container has been build this way: When im done, i try the following script: As you can imagine, the Username of the Windows Account on the mashine the container is running on is "User". So this wont work and the error occurs: This is,…
-
Extension development: access to file located in the extension folder
Hi to everyone, I'm working with version 14 of business central on premise and with extension al development runtime 3.2. Is there a way to access files within the application folder during runtime? In particular I would like to access a xml file located in the application folder and put it in a BLOB field during the…
-
How to add missing GUIDs on NAV 2018 Approvals upgrade?
Upgrading approvals does everything except assign GUIDs to the Workflow step instance ID, so when the workflow is continued, the sequence starts over. Has anyone figured out how to assign GUIDs to maintain integrity to the approval workflow?
-
Calculate the Amount Vendor Ledger Entry And Insert Table
Hi Everybody, I create a table with the following fields: Table Name: Cal Balance Vendor 1. Vendor Code 2. Ending Date 3. Currency Code 4. Total Amount 5. Line No I use this table to save the results of the calculations at the end month. The purpose of reporting liabilities of Vendor. * I'm new 1 report on the data source…
-
Cannot access help in my desktop.
Hi all, I cannot access the help with the url: http://desktop-ijtkh1g:49000/main.aspx?lang=en&content=S_HOMEPAGE.htm where desktop-ijtkh1g is my desktop name, but can access the help using http://localhost:49000/main.aspx?lang=en&content=S_HOMEPAGE.htm. The issue is when is click on f1 or help in Dynamics NAV 2016 it is…
-
How to keep the order of the columns on the form
Hi, The users have customized the sales order subform to their own preference. (they changed the order of the columns) But every day when they log in to the system, they get the default order, even if they have changed the form before. We use NAV 4. Any advice on this. Thanks
-
Debugger (Extension) Suddenly Stopped.
Hi all, When I'm doing the debug in extension, debugger suddenly stop and showing the error: That is standard Business Central coding, I don't know why this error will appear. May I know that how to solve this issue? Thanks.
-
Save XML to Sharepoint
Dear Friends, I need to save my XMLPort output to a SharePoint location. Can anyone give some hints, sample codes to achive this in Business Central CAL code? Thanks vineeth
-
Error accessing Website Microsoft Dynamics NAV 2015 Web Client
Dear Friends Recently we configured 3 tier architecture (NAVSERVER, SQLSERVER & IIS Server on separate machines). As per Microsoft documentation SPN registered & delegation setup done. SPN setspn - l domain\serviceaccount ServerInstance/navserver:7046 ServerInsatnce/navserver.domain.com:7046 Delegation DynamicsNAV…
-
BC - Dynamics CRM Integration
Not sure how many people have used the BC<->Dynamics CRM integration, but once enabled the CDS and Dynamics connection loads BC "CRM ....." tables series 53xx The question is, are these virtual type tables or references to the CDS Entitiy? I wrote an event OnAfterModifyEvent and OnAfterInsertEvent from the CRM Incident…
-
How to send Vendor Remittance via mail to Vendor while posting Payment Journal?
Hi Friends, [Version: NAV 2018] I need to send Vendor Remittance via mail to Vendors as soon as Payment Journal is posted. I have done steps in NAV as mentioned in the blog: https://itsolutions.bdo.ca/insights/microsoft-dynamics-nav-2017-emailing-from-the-payment-journal/ but still I am unable to send mail automatically to…
-
Print Settings section in report request page BC16.3
hi All Hope you can help me. BC 16.3 Saas. Report 116, and 1316 both have a Print Settings Section at the top as shown in the screenshot below. Viewing the code of the request page in VScode this section does not exist! it starts at "Options" The reason I am looking for this section is to see how it's populated and why it…
-
No. Of Copies report?
i want to implement no of copies as original,duplicate,triplicate,extra copy, i have seen standered report 206 for reference but i unable to understand how to implement in my report can anyone tell me how to implement ? untill now what i understand is use integer table and write code on pre,onafter trigger what i don't…
-
NAV 2018 API - Complex Types
I really like the new NAV 2018 API feature. The only thing I'm missing is better documentation and too much time has gone into reverse engineer how standard Nav is using this feature and finding out the little thing. The purpose by this post is to hopefully save some other poor programmers a little time. If you see…
-
Printer selection VScode BC15 on Prem,
Hello How to send sales invoice to a printer in VSCode? The below code wil always print PDF an open a dilogbox to save the file. SalesInvoice.SetTableView(SalesInvoiceHeader); SalesInvoice.UseRequestPage := false; SalesInvoice.Print(); MS say that we cannot use Printer selection anymore as BC15 uses cloud printer. we are…
-
Adding dimensions to custom master table in BC 15
Hi guys, I need help, I am able to add global dimensions to my custom table using the event 'OnAfterUpdateGlobalDimCode' present in table 352 Default Dimension, my problem is that how can i add additional 6 shortcut dimensions ? If anyone can anyone help or guide, it would be great.. thanks