-
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…
-
Business Central BC180 On Premise / Test environment
I am a (junior) developer in a Business Central development team, we want to set up a test environment to unittest our .al solutions. Via a Mastering BC book we find out that you have to include the following .app packages in your .alpackages folder: Microsoft_Any.app Microsoft_Library Assert.app Microsoft_Library Variable…
-
How to export all objects from BC SaaS SandBox environment to text file
Hi, is there any option to export all objects from BC SaaS database into a text file? Thanks
-
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…
-
Windows Client Issue with Credential Type UserName
Changed ClientServicesCredentialType to Username. Web client works, but Windows client would complain: The ClientServicesCredentialType configuration setting cannot be parsed into a valid NavClientCredentialType Using NAV 2017. Any suggestion please. Thanks.
-
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…
-
Display Mediaset images in factbox
Hi I would like to create a factbox through which I can display all images in the Picture mediaset field in the Item record. Can anyone advise how I can achieve this? It seems by default only the first image in the Mediaset is displayed. Perhaps by having a Next and Previous action to iterate throu the mediaset images and…
-
Connecting middle tier to SQL using a service/single account?
Hi All I've seen this done and I really should have paid more attention at the time but didn't think I'd ever need it again. Basically they setup NAV to authenticate to SQL using a single service account rather than the usual multiple users. I assume the users connect to the middle tier and then the requests to SQL happen…
-
NAV 2013 R2 connect to external SQL Server
We use to have codeunit using Automation to get some data from another SQL server but now getting errors. We would like to re-write it if possible using other means connecting to SQL Server directly. However I've done some search for such info but no luck. Any link/info as how to connect to another sql server and grab…
-
AppObjectId from event log doesn't exist
Hi, I try to track down some performance issues and found an entry in the event log of the service tier with a long running SQL statement. However, it states AppObjectType: Page AppObjectId: 9599 But this page doesn't exist. What is going on there?
-
Upgradation
For one of our Customer we were supposed to upgrade to NAV 2018 from NAV 2013R2. We did the Application code upgrade to latest CU of NAV 2018 but I saw where in Microsoft is saying to upgrade to NAV 2018 CU 2 first. Is that really needed OR I can continue to the latest CU. Eventually we need to move to Business central.…
-
Export File to Azure Storage Location
Hi, From BC on prem, is it possible to export a file to an azure storage location? Regards,
-
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…
-
I am getting an error message while connecting NAV 2016 and power Bi via oData.
Hi, I am trying to connect power bi to NAV 2016 via odata. While trying i am having the below error. I tried to put below URL but cannot connect: http://<Server>:<OData Port>/<DB instance>/OData It give me below error: Dynamics NAV: Request failed: The remote server returned an error: (503) Server Unavailable. (Service…
-
How to encrypt and decrypt the password using RSA algorithm in NAV 2016
Hi All, I need to encrypt the password which uses "Public Key" and send the same using HttpWebRequest, it will give reponce which is encrypted. I can send and receive the data but cannot encrypt and decrypt. Please help to encrypt and decrypt the data using RSA algorithm. Thanks in Advance, Srinivas.
-
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…
-
Report issue
While i opening a report eg: report 1 using report builder, it automatically creating a new report as "report builder - backup" how to avoid this
-
Row not visible until sorted
Hi, I need your help in order to solve a boring issue. I had to migrate some huge data from an old DB (Nav 5) to a new DB (Nav 2017). I used ALTOVA MAPFORCE to open the 2 SQL DB , i choose the tables to migrate, mapped the fields, (created dumb value for the new fields in the new SQL NAV) Run the mapping and everything is…
-
I am faced with a problem when I try to install CU 22 Dynamics 365 Business Central Spring 19 Update
I am faced with a problem when I try to install CU 22 Dynamics 365 Business Central Spring 19 Update EN I have the following error: help me please Microsoft Dynamics 365 Business Central Build 46607 Error Report Server Administration Tool Client Components Fatal error during installation. Error reading from file:…
-
Size of field in mobile version of NAV2018
Hello, I have a problem setting up a development on the tablet version of nav 2018. I need a text field that takes the entire page on the iPad version so that the user can enter their text with the apple pencil. Currently on the Desktop version, the control takes up the entire page but not on the mobile version (check…
-
Reverse Finished Production Order
Hello, Please teach me how to reverse the effects of an erroneously finished production order. User accidentally posted more output and consumption than was necessary. We are running version 17. Thanks.
-
Workflow for multiplies levels of approves in NAV 2018
Hi Team, Please have similar issues where I have the following users 3 users - sequence 1,1,2 one approver per sequence, 4 users - sequence 1,1,2,2 one approver per sequence, 5 users - sequence 1,1,2,3,3 one approver per sequence, 6 users - sequence 1,1,2,2,3,3 one approver per sequence, 7 users - sequence 1,1,2,2,3,4,4…
-
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.
-
Service "" was not found!
When I visit the local webservice page http://SERVER:7047/PROD/WS/ I get an error that service "" was not found. I went to each individual web service and did not find any errors. The error only is in our PROD instance, TEST (a copy of prod) works. I cannot see a blank service name or any other obvious problem. Do you have…
-
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.…
-
BC365 An Internal Error has occured
Hello Guys. Im currently working on BC365 and still newbie. Im trying to publish my work to a remote server. see error below Any idea ? Thanks and God Bless