-
Execute function for two minutes or until nested function responds true in Business central
Hi I need execute TryCallData for two minutes or until GetPDF responds true How can i do it in Business central?, Thanks procedure GetPDF(Bill: text) ReturnPDF: Boolean begin <Statement> end; procedure TryCallData() begin while not GetPDF('HMO986') do message('waiting...'); end;
-
Cannot insert date to warehouse activity header table
Hi Guys I'm trying to insert current date when a warehouse activity (inventory pick ) is created and thought it would be simple but below code is not working: Table extension- Warehouse Activity Header .(inventory Pick) also tried "validate": trigger OnAfterInsert() begin Rec."Posting Date" := WorkDate(); Rec.Modify();
-
Item card field visibility
Hi NAV Experts, Sorry for some basic questions. There is a field for example "Replenishment Type" on the Item card and it is not hidden. One user is able to view the field on the item card, But another user is not able to view the field. I have tried to customize the fast tab and check if the field is not selected. The…
-
Insert Sales Lines AFTER Sales Header complete Or aster MakeOrder complete
Hi All We want to insert freight charges (non inv items) on sale orders automatically. The item inserted will be dependent on the ship method. We have a version that works using a event subscription on the ship method code in sales header Works great when I change the ship method, but I have 2 problems 1. if I create a new…
-
Automated Testing: Check Validation Message
Hi All I'm writing automated tests for one of our extensions and I need to confirm that the validation message is correct as part of the test. Let's take a simple (made up) case Record.Field1 cannot be more than 2x it's current value. The extension would have an Subscription to the OnAfterValidateEvent and raise an error…
-
Page error.
Is there a way to clear the error on a page. I have code on a page that will throw the error message when a person tries to ship too much product. Simple calculation... works perfect. But when they correct the entry, the error ribbon still retains the error even though you can continue on with the entry. Just an annoying…
-
Debugger very slow
Hello, i just installed my machine and i still have a great problem. If i debug any Nav Version (2013,2013R2,2015) the debugger reacts very slow. Slow means i click and get a responds in 30 seconds or more. Actually i have just installed NAV 2013 R2 and NAV 2015 and SQL Server 2012. The Service runs on a networkmachine, so…
-
Create a XMLPort to import *.CSV files
Hi All, Do you have any basic guidance what are key steps to write an object type XMLPort that imports *.CSV file into T81 - "Gen. Journal Line"? I need to import *.CSV files into the T81 - "Gen. Journal Line" where user manually selects the CSV file to import. I know that I need to mapp fields from CSV file to the field…
-
How to correctly read XML to import the data into a table?
Hi, Currently I have a procedure that reads and imports some elements from the XML to a table correctly, I only need to read some elements well, since some fields are repeated when they are imported. I get the XML of a response from a WS, the response is stored in InStream and then I read it to import the information into…
-
How to merge pdf files for open Invoices in one single pdf file?
Hi Friends, [Version: NAV 2009] I have an another issue where I got struct. I need to merge the Open Invoices in one single pdf file. Below were the code I have done. Function: SendMailToRegOpenInvoicesLocals:
Parameter
CustNo (Code20) Variables:
Customer (Record) - Customer File1 (Automation) - 'Microsoft Scripting…
-
EU VAT Reg No. Validation Service Setup
Hello, Does anyone know if or when a service will be available for UK to validate VAT Registration Numbers? This was previously available via the service connection "EU VAT Reg No. Validation Service Setup" but is no longer valid since we have left the EU. Thank you.
-
NAV 2009 R2 - Default Label Printer Settings Not Working
We use a Rollo label printer for some product labels. The labels are 61mm (wide) x 47mm (high). Everything is properly setup on the printer settings, but when I send a print job to it from NAV, the default label sizes are being overridden by NAV and it's picking some random label size. Each time we print to it from NAV, we…
-
Dash Board type report for Management
Guys, Is any body have dash board type report in Navision for higher management . so that on one screen we have key information related to business. This information might be related to Sales , purchase, Finance, project, inventory etc. If any one have then please reply. rgds dhananjay
-
Dash Board - Dynamics NAV Web Version
Figures are coming with out separating thousands, ("000). But if we change the language code to Srilanka (Sinhala), then only it's coming perfectly. any one know how to configure same to English.. ??
-
wave 2 Add-in not found
I want to use control add-in in my project on wave 2 With setting But I have this error An assembly named 'Microsoft.Dynamics.Nav.Integration.Office, Version=13.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be found in the assembly probing paths 'my folder\./.netpackages, C:\Windows\assembly,…
-
Create Custom Approval Workflow
Create Custom Approval Workflow Manage specific workflows more effectively with this extension. It allows you to create all methods that you need to generate a specific workflow. All you need after use this object is to setup the workflow in the Application. Supported editions: Microsoft Dynamics NAV 2018…
-
Idle Session Management
Idle Session Management With Idle Session Management inside NAV, you can specify Idle Client Timeout, Total Sessions for each user, and allocate Concurrent Client Access Licenses (CCALs) to group of users. CCALs are based on the number of users accessing NAV simultaneously. And users have various requirements for NAV time…
-
LS POS Button Property Card does not have OK and CANCEL buttons. Cannot save button changes.
There are three POS in the store. It seems that all are configured the same way, but one out of three doesn't have OK and CANCEL at the buttom of the Button Property Card. What can cause this issue?
-
Import attachment in Web Client is not working
Hi All, [Version: NAV 2016] In a customized page, I newly kept an feature for Importing, Exporting and Deleting an attachment. I can able to Import/Export/Delete without any issues in Windows client. When I try to import an attachment from web client, immediately the web page gets closed and am getting below error: An…
-
I can't evaluate a DateTime value
Hi, I'm trying to evaluate a value, however I am getting the following error: The value "2021-02-16T09:26:36.953" can't be evaluated into type DateTime. With what method can I solve the problem?
-
How do you clear an undefined Report after RUNMODAL?
Hi so i'm having trouble to clear the report afterREPORT.RUNMODAL(51173,FALSE,FALSE,GenJnlBatch); since clear only works on defined variables
-
Quickentry not working?
hi All, hope someone can help. It seems like we don´t have nextcontrol anymore so I placed quickentry in few fields. However it seems not to work (it goes always to the next field and then to the top of the page). Do I have to set quickentry=false in all the remaining fields? Thanks. Edit: I will answer myself: On classic…
-
Convert DateFormula to text
Hi experts Is it possible to convert a DateFormula to text? Example: Input=3M, Output=3 Months Detail: FORMAT works, but returns just 3M as a text string. Documentation for FORMAT does not mention DATEFORMULA... Thanks in advance. Thomas
-
Multitenancy PowerShell Script not working
hi, we have this scenario: 1. Separate SQL and NAV Servers 2. Multitenancy enabled - trying to move companies from a single tenant to multiple tenants 3. SQL Server 2017 - SQL Server Management Studio 18 I'm working on the NAV Server, where I am importing the NAVMultitenancySamples.psm1 and running the…
-
Breaking change in Item Cross Reference BC18
Microsoft is going to replace the Item Cross Reference functionality with item Reference. https://docs.microsoft.com/en-us/dynamics365-release-plan/2020wave2/smb/dynamics365-business-central/write-longer-item-references Microsoft has created a migration feature for this The breaking change consists of that it migrates…
-
How can I install Test ToolKit on an existing Azure Container?
I have created a Business Central conatiner in Azure using az container create ` --resource-group 'RG-Container' ` --name 'democontainer’ ` --image mcr.microsoft.com/businesscentral/sandbox:13.1.25940.26323 ` --dns-name-label 'democontainer’ ` --port 80 Once installed, how can i now add / install the testtoolkit ? I dont…
-
Nav 2016 Web Services Pausing
We use Nav 2016's web services for various minor tasks. All has been working well for years, but yesterday we started getting random slowdowns that seem to consistently last 2 minutes. For example we'll send a command to update an order, let's say changing a checkbox from checked to unchecked. The response will take a…
-
Converting Unicode to UTF-8
Hello, I am trying to convert a simple text from Unicode to UTF-8 because our Webservice can't handle Unicode. I couldn't find any NAV native functions to do this and after trying to find a solution online for a couple hours I find my self here. NAV Version: BC14.12 Any help is appreciated
-
Business Central Codeunit 49 Global Events do not react
I have created a new codeunit with an event subscriber function to the event "OnAfterOnGlobalModify" in Codeunit 49. But when I make changes in a record, the event subscriber does not react. Properties of my subscriber: EventPublisherObject: Codeunit GlobalTriggerManagement EventFunction: OnAfterOnGlobalModify I tried also…
-
Permission error when upgrading from Business Central 16.1
Hello, I am trying to upgrade Business Central 16.1. I have tried upgrading to 16.2, 16.6 & 16.10. No matter the version, when I run the commandStart-NAVAppDataUpgrade -ServerInstance BC160 -Name "System Application -Version 16.10.21502.0" I get the following error: The "same" error, has also looked like this with later…