-
Business Central: Report Extension - Accessing variable from OnAfterAfterGetRecord trigger
Hi, Trying to code against OnAfterAfterGetRecord trigger for a report. How would you access the variable that's in the base nav OnAfterGetRecord trigger of a dataitem? Blanket Sales Report - dataitem RoundLoop - local variable SalesLine in the OnAfterGetRecord trigger.
-
Server AddIns with ServiceTierAdministration
Hi, Thanks for your time in this forum, I am unable to have access to the AddIns placed in the AddIns folder of the instances or services created by the tool. Despite the dlls are there, when I try to access from NAV, the Server Assembly List is empty: The dlls and folders are there. I have tried to provide permissions to…
-
LS RETAIL JOB NOT RUNNING AUTOMATICALY
IF YOU HAVE CONFIGURED JOBS AND THAT NOT RUNNING AUTO THEN check codeunit 99001469 (in job que set interval in 1min) and compile and run codeunit99001468
-
How can I disable the print in report on NAS?
The report should be run without printing.
-
Accessing Global variables in report extension
I'm looking into the new ability to extend reports in, what I need to be able to do and can´t find out if it is possible (yet) is to access the global variables in the OnPreReport trigger. What I'm actually trying is to change the PeriodStartDate , PeriodEndDate and HeaderText in report Aged Account Receivable.
-
Extension not publishing to Sandbox BC 18 cu1 after update from BC18 cu0
After updating Sanbox BC 18 cu1 from BC18 cu0 extension not publishing for Sandbox. Only after creating new sandbox extension was published The request for path /v2.0/Test/dev/apps?SchemaUpdateMode=forcesync&DependencyPublishingOption=default failed with code UnprocessableEntity. Reason: You do not have the following…
-
Strange behaviour of Menusuites
Hello I was confronted yesterday with a somewhat oblique phenomenon: a customer of ours uses an add-on. From this, as if out of the blue, several menu items disappeared yesterday. They also couldn't be found through the search. I compared the menu suite for this add-on as well as the MS 1090 with the respective versions in…
-
Can't download symbols for BC18 when including test
I would like to write custom test codeunits, but I have trouble accessing the necessary symbols. If I don't include"test": "18.0.0.0" in app.json, VS Code download all symbols just fine, but it can't reach the objects relevant for testing, such as Assert. If I do include the property, I can't download the symbols without…
-
File Name with Special Character ~ changed
I am trying to do download file using downloadstream. var
FileName: Text
InS: InStream;
begin
FileName := '01~Jan~2021.txt';
DownloadFromStream(InS, '', '', '', FileName);
end; When the file is downloaded the file name is changed. All ~ is changed to _. In above example downloaded file name will be 01_Jan_2021.txt How to…
-
SharePoint configuration issues in Nav 2017
Hi. I have a problem in Nav 2017 in standard SharePoint connection settings. I configured it a few years ago with my SharePoint site and it had never given me problems, but for a few months, just by hitting the Test connection button, I get the following error: Could not connect to the SharePoint site. SharePoint Server…
-
Null in a function
Hello, i need to use a variant null in a function. The function has 5 parameters, and the first a second have to be null. how i put this null parameters ?
-
How can I prevent the web client from focusing on records that are inserted or modified?
I am building a custom price list page based on a custom temporary price list table. Due to high calculation time on a few price fields, the values of these fields are not calculated prior to the page loading. Instead, these fields are calculated and modified 100 at a time by a page background task. This works fine with…
-
Importing posted invoices in Business Central
Hi folk, We are starting to implement Business Central. We are currently in Navision 4, so the approach we have decided is re-implementation. I am doing a kind of POC for data migration, but I found there is no way to use a configuration package to import posted sales invoices. Is there any way I can do that? We have more…
-
Download old versions
There used to be a nice archive of old versions on PartnerSource. Now PartnerSource is dead, does anybody know if it's still available somewhere? We have a new customer that wants to upgrade from v4 sp2 and doesn't have the original database... Thanks in advance!
-
How to export the Account Schedule data from multicompany
I got a requirement in Nav 2009 classic client, Not RTC, that the users want to export Account Schedule from Multiple companies, do you have some suggestion for that? thank you in advance, I have done some coding, it will change the account schedule description, but it will not change the data(Value), some guy have the…
-
Can we change Action Button Colour in NAV 2017?
How can we change Action Button Colour in Navision 2017? User wants same button in different colours for different operations.
-
AL/Visual Studio Code/OnPrem: Debug Invoke-NAVCodeunit from Administration Shell
Hey there, hope you're all doing fine! I need to debug code that is been triggered by a "Invoke-NAVCodeunit" command from the Business Central Administration Shell. Neither my launch configuration with "breakOnNext": "Background", nor "WebServiceClient" is catching my breakpoints :-( When I publish the codeunit as SOAP…
-
REST Webservice
Hi, I am new to NAV developments. I have a third party application which has exposed REST webservice which has a ~100 records with 4 fields. I need to consume that webservice in NAV and read those records and import in NAV table. I tried to use the SOAP application to invoke the GET method and can view the ~100 records.…
-
NAV 2018 Encryption Keeps Getting Enabled
Hi, We are upgrading from NAV 2016 to NAV 2018 (Business Central 14). Every time I reboot the server machine, the Encryption is being enabled, and I have to manually Disable it. I am wondering if anyone else has encountered this problem. I am wondering if it is because I had encryption enabled on the test database that we…
-
Creating Versions for different items
I want to create versions for different Items in Prod BOMs. If Version1 is existing, It should insert value as Version2. If Version2 is also existing insert Version3 and so.on.... Please help me with code how I can do this
-
RUNREQUESTPAGE question
The RUNREQUESTPAGE is a great feature for NAV. This functions opens up request page for a report, and returns the full request page parameter in a XML file. @!!!! But, within a report it self, can you get this values for the request page in xml? E.g. In the CURRREPORT object, can we get the same request page in xml file?…
-
Hide and Show Records based on Group
Hi All, i am using cloud bc for my customer i am thinking is there a way that we can show / hide for certain records based on the group. for example user A,B,C is group 1 so he/she only can see the records for his/her own group meanwhile user X,Y,Z is group 2 so he/she also can see records that belong to group 2. but there…
-
Connect to BC web service from a windows console application using Oauth 2 for user authorization
Hi community, I am using following code to access business central web service using Oauth2 authentication from C# console application, the access token generated successfully but I'm unbale to access BC web service due to invalid credentials, problem is that the access token generated from below code is rather shorter…
-
Error: Failure while emitting method.
Hi, I've created this xmlport (csv import) in BC17: xmlport 50000 "Invoice Import" { Direction = Import; Format = VariableText; FieldDelimiter = '<None>'; FieldSeparator = ','; TextEncoding = UTF8; schema { textelement(Root) { tableelement(Integer; Integer) { UseTemporary = true; textelement(Field1) { } textelement(Field2)…
-
NAS NAV Exception
Hello all, I'm getting this error . Server instance: BC140_WebServices Tenant: default The Microsoft Dynamics 365 Business Central Application Server session for tenant 'default' has failed and will be restarted in 30 seconds. Reason: Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavNCLNotSupportedTypeException…
-
Business Central product coupling to CRM in two companies
Hi experts!! I need to copy a product from company A to company B and at the same time in CRM, I also need to couple them (BC to CRM) in both companies. I manage to create the product in company B and also in CRM but at the time of making the coupling only in company A and I cannot do it in company B. This is my code:…
-
Client crashes when trying to save a filtered view
Hello an employee of one of our customers has the following problem: When you start with a specific Role Center and try to save a filtered view, the client crashes with the message that the server has been disconnected. Other employees can save filtered views in the same Role Center. I renamed the .zup file. If another…
-
Selling Apps on App Source
Just wondering, if someone can help My apps are free at the moment on app source how can I sell my apps so I can charge a monthly fee from customers I cannot understand microsoft co-sell policy Thanks for your advise
-
TableData Permission Related Issue
Hi All, While trying to send General Journal Lines (Page 39) for Approval an Enduser is facing the following permission-related issue in BC 14 Environment. To investigate, I have found the following things.. 1. Tab 1506 Workflow Table Relation Value has a function called "CreateNew" that is creating the issue. 3. The…
-
How to setup Odata webservice request for Page 197 (Account Schedule KPI Web service)
I am trying to set up an Odata webservice connection for Account Schedule KPI Web service.This is done by publsihing page 197, so the data can be used with Excel. We are publishing several account schedules, so I want to be able to filter on the account schedule name. On normal pages it is not a problem to add an filter…