-
Get page number from change log (CU1)
Good morning, I was wondering if someone has some idea (even with external components like a dll) to get the current page number/name just before opening and trigger that from change log. I´m looking to know the page that is being opened and check if the user would have permissions (in a new bespoke table). Thanks.
-
Is there a way to get the 400 respons message and the response JSON with .Net 4 in CSIDE?
Hey I use the following to send a json to a server. The problem is, when an wrong formatted JSON is send, i only get the Message "400 Invalid [...]" , while the server is sending the wrong JSON (with some notes) and the 400 errorcode back. Any ideas how i get the Json (the one with notes)? // Authorization
HttpWebRequest…
-
BC14 CU23 Session Timeout
I have upgraded client Platform from BC14 Cu16 TO BC14 CU23. Application version is still CU11. Client is using multiple add-ons and they might have be based on different CUs. But, all add-on functions correctly. If User session is idle for 20-30 minutes then it gets timeout. We have configured it for 8:00:00 Hours. Still…
-
Upgrade Tool Kit objects -NAV2013 to NAV2015 -need for data upgrade
I am doing a data upgrade from NAV2009 to BC2014. Following the steps, Microsoft papers say to go from NAV09 to NAV13 to NAV15 to BC14. The first step to NAV2013 was painless... but upgrading from NAV13 to NAV15 is proving a challenge for the data. I opened the db with a NAV15 executable and it did its thing with…
-
Invoice Number to be filled in on Report Requestpage textfield
I need to get information from the customertable based on the Invoicenumber (invoiceHeader.No.) The problem is that is is first initialized when the report is running and The invoice report is called with the invoice record (standard). How do i Get that ?
-
Report group expression on 1 item no
I want to add an extra Group by expression in my report by item number. This group by must only be done with 1 item number. So if item number = 92070 then group and otherwise not. I tried this by putting this code in the GroupExpression but it doesn't work. =iif(Fields!No_SalesInvLine.Value = '92070') In what (good) way…
-
Renewal of Dev-Licence NAV-2018 not possible?
Our Dev-Licence-Files for NAV 2018 have an expiration date of 31. July 2021. If I try do dowload or generate a new one, ist has the same expiration date. How can I do this? Or am I missing som news? Has https://businesscenter.mbs.microsoft.com/ moved somewhere?
-
How to check if table is locked or not.
Dear All, Is there a way to find whether a table is locked before doing any update operation on it? For eg before I go on updating the records in the Table MyREC, I would like to know before hand whether the table is locked or not IF MyREC.FINDSET(TRUE, FALSE) THEN REPEAT ...... UNTIL MyREC.NEXT = 0 Thanks.
-
The SELECT permission was denied on the object 'Object Metadata', database 'NRANAVDB', schema 'dbo'.
I recently install a new instance of Dynamics NAV 2016 and copied the database from the old server to the new server. The servers have different names. I logged on to the SSMS of the new server and updated "[NRANAVDB].[dbo].[Server Instance]" table [Server Computer Name] to that of the new server. After doing that I…
-
Database Key Groups (Item Tracking)
In NAV, there was a feature known as "Database Key Groups". This was used to group keys across multiple tables, allowing them to be enabled\disabled together. An example if a customer using Item Tracking. The keys to support item tracking and not enabled in the base product. The appropriate key group would be enabled if…
-
Cannot start the service
Hello, I am getting the following error after installing Dynamics.365.BC.23795.US. ServerInstance 'MicrosoftDynamicsNavServer$BC180' failed to reach status 'Running' on this server due to the following error: 'Cannot start the service.'. Additional information may be in the event log of the server. Tried few solutions…
-
confirm dialog to go back to document without error
Hi Guys I have a confirm dialogue on the sales order to check if the posting date is equal Today. If the date is not equal to Today I want to go back to the sales order without the error message as we have already shown this to the user. Below code works except unnecessary showing of error message. How to not show error…
-
Start-NavDataUpgrade during upgrade to v17/18 - how to detec when it is finished?
I am running upgrade to V17 according to this MS guideline Upgrading Customized C/AL Application to Microsoft Base Application Version 17 . Everything is fine but... Task 10 point 1 when I run Start-NavDataUpgrade is asynchronous :( In next point they say: "To view the progress of the data upgrade, you can run…
-
Double validation if same value entered
Hello, I have very specific problem which I cannot find any information on. I am working on Microsoft Dynamics NAV 2017. I have created custom Page, where I use variables on fields. These fields have custom ControlAddIns (to change color or sizes of the fields). I have the case where I have to validate same value two times…
-
Rec.Skip in PageType = List
it's possible to skip a record from a page list given certain conditions that cannot be added in filters (SourceTableView)? In a report it's possible with record.skip but in the list page it's not available
-
Adobe Reader loaded via control add-in stopped working after Windows security update
We use the Adobe Reader to view pdf files from within NAV and it's been working great for the past year and a half, however, with the most recent Windows security update (KB5003637) it stopped working. The odd part is that it's only happening to some but not all PC's. Has anyone else experience similar issues? Our only…
-
Log in Perm set
Hello all, I want to create a user with the minimum permissions. So I just created new permission set via the "Record permission" function. It's all good, but it's not enough because I cannot "record" what is happening when users log in. I started manually adding codeunits one by one but looks there are too many of them.…
-
PO with UK VAT, EU VAT and ROW VAT all in one consolidated invoice from popular parcel service.
Customer ships all over the world and at some point in the past we've modded the Purchase Order and Purchase Invoice Subform pages to allow line level access to the VAT Business Posting Groups. So, when the delivery company sends in their consolidated invoice, they can setup an Invoice that matches what they were sent.…
-
Xmlport export
Simple one, but not getting it right. I have a custom Boolean field in purchase header called 'exported'. It gets checked when a purchase order gets exported. Now I want to export purchase lines which are not already exported using a variable text XMLport. Wondering what would be the right way to filter purchase lines as I…
-
Cannot create companies in Business Central OnPrem
Dear all, We have BC 19 Spring Edition on a SQL Server 2019 standard edition. When I want to create a company or copy a company I get the following error: "Online index operations can only be performed in Enterprise Edition of SQL Server". Is there a way I can disable Online Index operations? Or do I have to upgrade to SQL…
-
Promoted action is shown in the wrong category
Hi experts, In Business Central cloud on page "Posted Sales Invoice", there is these promoted action categories: PromotedActionCategories = 'New,Process,Report,Invoice,Correct,Print/Send,Navigate'; On the same page, the action "AttachAsPDF" has this promoted category: PromotedCategory = Category6; It is shown under…
-
Show SSRS report within NAV Page
Guys, Has anyone found a way to show native SSRS reports within NAV page? Thanks
-
Upgrade from NAV 2017 to BC. NA version to CA or US?
Hello One of my client is upgrading from 2017 NA to BC and they have companies in US and Canada. Since they have split the databases, which version will they be upgrading? Has MS released a document on this?
-
Manufacturing Policy - Make-to-Stock subassembly
Hi, we are struggeling to set up the following scenario and are hoping for some helpful insights. We have a manufacturing item A001 that contains subassemblies B001, B002 and B003. We want to produce B001 and B002 together with item A001. Therefor we set Manufacturing Policy on all 3 items to "Make-to-Order". B003 should…
-
The logic behind Report 5756 "Create Warehouse Location"
Hi everybody, we have lots of item ledger entries and a slow server and this report is running for 24 hours and has made 3% progress so far. I need to speed things up. I don't understand why this report is looping through all item ledger entries regardless of the location that is to be converted to using bins. It would…
-
NAV 2017 connection to Dynamics 365 (CRM) just stopped working
Hi all, not sure if anything has changed in the last day or two but our connection from NAV2017 to Dynamics 365 has stopped working. It's been working fine for a few years and just stopped working yesterday. The error we get when we try the 'test connection' is "Unable to login to Dynamics CRM". I have checked the login…
-
How to format date bound to Custom Xml Part
We are using Word document layouts for customer facing Business Central 365 (SaaS) reports. When binding a date to a Text Content Control, how do you format said date?
-
How to check Where-Used List from Other company?
Hi all, how do I check Where-Used List from other entity (Same database) I just need to know how many records from this Where-used List. I created my own function to get this counted Where-Used List. but it only detect in own company. from company A want to check how many records in company B (For the same GL Account) it…
-
Sending PDF's with a Password protection layer.
Hello, I would like to know how it's possible in Nav 2017 to send PDF's with some form of password protection. Thank you.
-
How to get a list of all orders and archived orders if order deleted
Hi all I'm trying to extract a list of sales orders and archived sales orders (in case the order is deleted due to fully shipped/invoiced). Sales orders part is easy but getting the archived orders, I'm struggling to do this in AL code. In SQL I'd write a query something like: Select Sales Archive Header.No where Sales…