Quantcast
Channel: Dynamics 365 Business Central/NAV User Group
Viewing all 11285 articles
Browse latest View live

Forum Post: RE: How to get a field from Payment Journal to G\L Entry

$
0
0
Yaa the code works in "Glentry.init" in Codeunit 12 . Initially I have did a mistake in syntax. Now its Working properly. Thanks, Priggy.

Forum Post: RE: How to get a field from Payment Journal to G\L Entry

$
0
0
And you have this code on Codeunit 12 as suggested by Palle Arentoft ?

Forum Post: RE: Report in nav2017

$
0
0
See if you have hard coded the Table View Filter as Reason Exit Code = Filter(13), how come you can get Reason Exit Code = Filter(5) as these two Pages are from the same Table.

Blog Post: Who are you following?

$
0
0
Dynamics 365 Business Central and Dynamics NAV is part of a vibrant community with a lot of very active people. Tweets, blog posts, webinars, books, github projects could easily fill up my day just trying to follow everybody who are working on our product. This blog posts lists some of the people/sites you can follow if you, like me, are passionate about Dynamics 365 Business Central and Dynamics NAV. NAV Team Blog If you only follow one blog (beside my blog :-)), it should IMO be the NAV Team blog. https://blogs.msdn.microsoft.com/nav/ @mpdynamics365 If you only follow one person on twitter (beside @freddydk  :-)), it should IMO be Marko @mpdynamics365 . People i follow on twitter - and their blogs... I follow a lot of people on twitter and the following list is not exhaustive, but these guys also have blogs where the main goal seems to be to spread their knowledge about our common favorite product. No political BS, no non-sense, just pure love for our product and as a wise man once said, the only thing that doubles when it is shared is knowledge. In alphabetic order: Alexander Ermakov @Alex_Ermakov   https://community.dynamics.com/nav/b/russianerpexperience Arend-Jan Kauffmann @ajkauffmann   https://www.kauffmann.nl/ Daniel Rimmelzwaan @drimmelzwaan   https://thedenster.com/ Dmitry Katson @DmitryKatson   https://community.dynamics.com/nav/b/katsonsnavblog Eric Wauters @waldo1001   http://www.waldo.be/ Erik Hougaard @eHougaard   https://www.hougaard.com/ Erik P. Ernst @EPErnst   http://dynamicsuser.net/nav/b/admin Gunnar Gestsson @gunnargestsson   http://www.dynamics.is/ James Crowter @JamesCrowter   http://www.dynamicsbusiness.co.uk/ Jatin Patel @jatinnav   http://jatinnav.com/ Luc Van Vugt @lucvanvugt   http://dynamicsuser.net/nav/b/vanvugt Miguel LLorca Gómez @mllorcag   http://msdynamics.es/ Mike Glue @NavBitsBytes   https://navbitsbytes.wordpress.com/ Mohana Krishna @mohana_cse06   http://mohana-dynamicsnav.blogspot.dk/ Rene Gayer @dynamicsblog   http://www.dynamicsblog.at/ Roberto Stefanetti @robstefane   https://robertostefanettinavblog.com Saurav Dhyani @sauravdhyani   https://saurav-nav.blogspot.dk/ Stefano Demiliani @demiliani   https://demiliani.com/ Steven Renders @srenders   http://thinkaboutit.be/ Suresh Kulla @skkulla   http://www.navisionworld.com/ Søren Klemmensen @SorenKlemmensen   https://klemmensen.ca/ Tharanga Nuwan C. @TharangaNC   http://tharangac-dynamicsnav.blogspot.com/ Tobias Fenster @TobiasFenster   https://www.axians-infoma.de/navblog Vjekoslav Babic @vjekob   http://vjeko.com/ Please let me know if I should be following your blog as well? Other important Microsoft people to follow A few extra Microsoft people who I get value of following: Dynamcis 365 tweets @MSFTDynamics365 James Phillips @JamesMPhillips Mark Russinovich @markrussinovich Satya Nadelle @satyanadella Scott Gutthrie @scottgu The full list of people I follow on twitter The complete list of the people I follow can be found here: https://twitter.com/freddydk/following Please let me know if I should be following you? Conferences, forums and webinars Besides twitter and blogs, we have the conferences, the forums and the webinars. Here are the ones that I follow: Directions EMEA @DirectionsEMEA   http://www.directionsemea.com/ Directions ASIA  http://www.directionsasia.com/ Directions NA @DirectionsNA   http://www.directionsna.com/ Dynamicsuser @DynamicsUG   http://dynamicsuser.net/ Mibuso @mibuso_com   https://mibuso.com/ NAV Skills @NAV_Skills   https://nav-skills.com/ NAV Tech Days @NAVTechDays https://www.navtechdays.com/ NAVUG @navug   https://www.navug.com Please let me know if I forgot any? Facebook, LinkedIn, Instagram, Pinterest,... Personally, I use Facebook for personal stuff only. I typically do not share work related stuff on Facebook, but I do have a number of friends from the community as friends on Facebook. I haven't really started to use LinkedIn, Instagram, Pinterest or the various chat apps for anything, but it is something I will be investigating. Enjoy Freddy Kristiansen Technical Evangelist

Forum Post: RE: Report in nav2017

$
0
0
Reason Exit Code is a table relation of Table (Benefit) which contain code (code) and Description (Text). Then, code = 13, Description = Additional Lumpsum, Code = 5, Description = Lumpsum I defined Members (Record as member) as variable in global variable In report C/AL under Memeber - OnAfterGetRecord Members.RESET; Members.SETRANGE(PIN, Memeber .PIN); Members.SETRANGE("Reason for Exit Code",'5'); IF Members.FINDFIRST THEN OldLumpsumPaid := Members."Approved Lumpsum"; Its working now. Thanks

Forum Post: RE: How to get a field from Payment Journal to G\L Entry

$
0
0
I have tried the code which Sbhatbng Said.

Blog Post: What the announcement of Azure Availability Zones means for users

$
0
0
Microsoft recently announced general availability of Availability Zones in Azure , as part of an effort to safeguard both applications and data centers against failures. Availability Zones are physical locations within an Azure region, equipped with backup power, cooling and networking. Three separate zones are available across the region for resiliency. Capabilities for customers "This is a great addition for Azure and will give customers more confidence in deploying mission... Read the full text.

Blog Post: Microsoft Dynamics NAV on Azure: SQL Server on Azure VM best practices

$
0
0
When talking about Microsoft Dynamics NAV installed on Azure, we have mainly two choices: use an Azure VM with SQL Server installed or use Azure SQL. In the Azure-based NAV deployments I see every day, it seems that using SQL Server on an Azure VM is the choice where everyone are going or prefer. However, too often I see that the installation is done like an on-premise SQL or without considering some important best practices and SQL performances are poor. Here are few tips that I would like... Read the full text.

Message from umashankar

Forum Post: NAV 2013 web service call error 500

$
0
0
Hi , I want to consume external web service in Navision 2013 & But I got below error . Microsoft Dynamics NAV --------------------------- This message is for C/AL programmers: A call to System.Net.HttpWebRequest.GetResponse failed with this message: The remote server returned an error: (500) Internal Server Error. --------------------------- OK --------------------------- I have used .net variable in my code . Please suggest if i missed something in code. MLTFsetup.GET; Path := FileMgt.Magicpath; //XMLRequestDoc := XMLResponseDoc.XmlDocument; XMLRequestDoc := XMLRequestDoc.XmlDocument; GenerateXMLMLT2(VendorLoc); TempBLOB.Blob.CREATEINSTREAM(TempInstream); TempBLOB.Blob.CREATEOUTSTREAM(TempOutstream); XMLRequestDoc.Load('\\tvdcwnav001\Navision\germany\testold\request.xml'); IF MLTFsetup."Run in test-mode" THEN XMLRequestDoc.Save(MLTFsetup.testfolder+'request.xml'); HttpWebRequest := HttpWebRequest.CreateHttp(MLTFsetup."Web service URL"); HttpWebRequest.Timeout := 30000; HttpWebRequest.UseDefaultCredentials(TRUE); HttpWebRequest.UseDefaultCredentials := TRUE; HttpWebRequest.Method := 'POST'; HttpWebRequest.ContentType := 'application/soap+xml; charset=utf-8'; //'application/soap+xml; charset=utf-8';//'application/xml; charset=utf-8';//'text/xml; charset=utf-8';// 'application/xml; charset=utf-8'; HttpWebRequest.Accept := 'text/xml'; //HttpWebRequest.Headers.Add('Content-type','application/soap+xml; charset=utf-8'); HttpWebRequest.Headers.Add('SOAPAction','nmTransactionEvaluationRequest'); GenerateXMLMLTDotNet(VendorLoc,StreamDotnet); tempint := StreamDotnet.Length(); HttpWebRequest.ContentLength := tempint; MemoryStream := HttpWebRequest.GetRequestStream; NETtype := NETtype.GetType('System.Byte',FALSE); NETArray := NETArray.CreateInstance(NETtype,tempint); I:= StreamDotnet.Read(NETArray,0,tempint); MemoryStream.Write(NETArray,0,tempint); IF EXISTS('\\tvdcwnav001\Navision\germany\MemoryStream.XML') THEN ERASE('\\tvdcwnav001\Navision\germany\MemoryStream.XML'); XMLRequestDoc.Save('\\tvdcwnav001\Navision\germany\MemoryStream2.XML'); MemoryStream.Flush; MemoryStream.Close; SLEEP(1000); MemoryStream := HttpWebRequest.GetResponse().GetResponseStream(); MESSAGE('Response %1',MemoryStream); XMLResponseDoc := XMLResponseDoc.XmlDocument; XMLResponseDoc.Load(MemoryStream); MemoryStream.Flush; MemoryStream.Close; IF MLTFsetup."Run in test-mode" THEN XMLRequestDoc.Save(MLTFsetup.testfolder+'_before_namespace_response.xml'); TransformXMLFileDotNet(XMLRequestDoc,XMLRequestDoc); IF MLTFsetup."Run in test-mode" THEN XMLRequestDoc.Save(MLTFsetup.testfolder+'_after_namespace_response.xml'); Function is GenerateXMLMLTDotNet is working absolutely fine. But Error is coming while getting response . Please help me to fix this issue Thanks in advance Uma shankar

Forum Post: RE: NAV 2013 web service call error 500

$
0
0
Hi Uma, Please post questions in the forums. Not as status updates. :) I changed your group status post into a forum post here in the NAV developer forum.

Blog Post: NAV 2018 CU 04 is out… yes, with GDPR tools!

$
0
0
This update contains a big improvement on managing GDPR related tasks. The link for download are these: NAV 2018 – https://www.microsoft.com/en-us/download/details.aspx?id=56822 NAV 2017 – https://www.microsoft.com/en-us/download/details.aspx?id=56824 NAV 2016 – https://www.microsoft.com/en-us/download/details.aspx?id=56823 Read the full text.

Forum Post: Problem with importing Company backup trough powershell

$
0
0
So this is my situation - I have two databases - Originall database (Lets call it Database A) and temp database (we will call it Temp). Temp is Demo database (9-0) that came with NAV 2016 installation. These two databases are same build. So what I did. 1.) Export all objects from A 2.) Export one company from A (this is new company with only setup, no other data) 3.) Imported objects from A to Temp and compiled them 4.) Import company from A to Temp with powershell (Import-NAVData). After this i get error that I don't have enough space. So I tried to investigate, ant in my sql server databse limit is 10GB, and I have set the autogrowth setting to 300MB, unlimited. So I don't get it why a company backup file that is 600MB large, cause database to grow beyond 10GB ?? Is there any normal explanation ??

Forum Post: RE: Problem with importing Company backup trough powershell

$
0
0
Hi Junior, Did you find out where the error originated? What was the exact error message? And was it from the SQL database? Did event log leave a trace?

Forum Post: RE: Problem with importing Company backup trough powershell

$
0
0
Error was - Import-NAVData : Could not allocate a new page for database 'Demo Database NAV (9-0)' because of insufficient disk space in filegroup 'PRIMARY'. Create the necessary space by dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup. Error ocured because database reach 10 GB size that was SQL server limit. It is not logical that only one company 600MB size during import gives dabase larger then 10GB ....

Forum Post: RE: Problem with importing Company backup trough powershell

$
0
0
Hello Junior The short answer is yes, the database can easily grow to more than 10gb during the upgrade - Remember that if your backup takes around 600mb then the actual database size (with all the sortingkeys and flowfields) easily can be multiplied with 5-6 times meaning more than 3 gig - All data is stored at least twice during the upgrade AND the Transaction log grows to an insane size. So upgrading is not done with with 10gig limitation database sorry. (When finished you can do a SQL backup and the database will usually take up 3 times the size of an NAV2009 base when its converted to +NAV2013. PS Dont set your autogrowth to 300mb - let be at the default value which is autogrowth 10% Regards Palle PS. Be aware of that you might have to redo the upgrade again, depending on how far the upgrade went, you might have to start all over with the import.

Forum Post: RE: Problem with importing Company backup trough powershell

$
0
0
I tried with default settings to, but outcome was the same.

Forum Post: RE: Problem with importing Company backup trough powershell

$
0
0
One more thing Also take a look here: https://blogs.msdn.microsoft.com/nav/2015/02/23/upgrading-from-microsoft-dynamics-nav-2009-r2-or-microsoft-dynamics-nav-2009-sp1-to-microsoft-dynamics-nav-2015/ Read the user comments! One of the main reasons is that when you upgrade, the database is converted to Unicode which by default doubles the size of a varchar field.

Forum Post: RE: Problem with importing Company backup trough powershell

$
0
0
Yes.. the autogrowth is a matter of HDD-space reservation. The 10% gives the best performance of the database.

Forum Post: RE: Problem with importing Company backup trough powershell

$
0
0
Sorry but I don't get how this is connected I am not doing a upgrade, this is two databases from same version and build.
Viewing all 11285 articles
Browse latest View live