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

Forum Post: RE: Looking for a solution for interacting with an old NAV 5.0 Database

$
0
0
Hi Cristi, Welcome to DUG! You're new here, but it would be great to know a little about your background. Like do you have any NAV experience already, do you work for a user or partner? Just so that we don't waste time suggesting things you already tried. [:)] To "interact" with a good old Dynamics NAV 5.0 on the native database, then you had two quite easy ways. N/ODBC NAV's native ODBC driver or C/FRONT a SDK for writing dotnet apps to access the database. You find NODBC on the installation DVD for the NAV version installed. So you need to find the right version for your database. C/FRONT is found in the DevKit folder on the same DVD. Finally, depending on exactly what it is that you're trying to do with this interaction, then best practice may be completely different. For example if what you're trying to do, to create sales orders etc., then that could also require additional "things" to happen inside NAV. Like communicating with the message queue. Or you could be using XMLPort's inside NAV, to perform the actual import/export of data.

Forum Post: RE: Code comparision between two database

$
0
0
I'm so sorry to hear that. [;)] NAV 2013 R2 (not the first builds though) was actually a very good version. Remember that I liked it a lot. But it still has the "old" C/AL Editor. And it doesn't have the same PowerShell CmdLet's etc. From NAV 2015 each new version has had so much new "stuff", now with NAV 2018/Tenerife even a completely new AL language/compiler in Visual Studio Code. Things just keeps getting better and better! But a lot of new things to learn also. And I love it. [:)] Save

Forum Post: RE: No series in copy customer report

$
0
0
What i suggested you do same thing, write a function that i given you and then Call GetLastNoFromNoSeries function After Cust.CHANGECOMAPNY(Comp); NewCust := GetLastNoFromNoSeries('CUST');

Blog Post: Heute: Learn4NAV Online Q+A Dynamics 365 Tenerife – kostenfrei

$
0
0
#nav2018 #dynamics365 #tenerife #webcast #learn4nav Hallo zusammen, wie nachstehend bereits vor wenigen Tagen angekündigt führen wir heute „online“ eine Q+A zum Thema Dynamics 365 Tenerife durch. Die hoffentlich zahlreichen Antworten nehmen wir aus der Directions von letzter Woche bzw. den Informationen ...read more

Join upcoming webinar: Simplanova NAV Upgrade Converters and Report Designer Online Demo

$
0
0
Simplanova team released the ultimate NAV upgrade tool pack for automated conversions: Simplanova’s Report and Dataport Converters. During our upcoming webinars, we will show how Simplanova NAV Upgrade converters upgrade NAV objects from Classic NAV to the recent version, analyze different cases and answer questions. Also, You will be able to see how to create from scratch new NAV report with Simplanova Report designer. Webinars are planned: on Thursday, October 19, 2017, 4:00 PM CEST (Central European Summer Time) on Tuesday, October 31, 2017, 4:00 PM CET (Central European Time) choose the best time for You. The webinars are planned to last for 1 hour and will be presented by Petras Butenas, CEO of Simplanova and Igne Butene, Product manager. You can register here - http://simplanova.com/join-upcoming-webinar-simplanova-nav-upgrade-converters-report-designer-online-demo/

Forum Post: RE: No series in copy customer report

$
0
0
what variables u selected in GetLastNoFromNoSeries function.

Forum Post: RE: No series in copy customer report

$
0
0
Open no. series page and check what is the code for your customer no. series, that code you have to pass in single code. in demo database CUST that is default.

Forum Post: RE: No series in copy customer report


Forum Post: RE: No series in copy customer report

$
0
0
open Role Center Client -> In Search Menu type No. Series and then No Series Page -> A no. series page will display, -> now Find your Customer Record and copy the Code value . see below screenshot.

Forum Post: RE: No series in copy customer report

$
0
0
You're trying to look up the last or next number in a number series in a different company. That is not as easy as it sounds. It's not enough to use CHANGECOMPANY and then just call the GetNextNo function. The CHANGECOMPANY is local for the record for which you change it. I did it once, where we had a "global no. series" to manage and a assign. In our case a global order no. we had to assign to all orders created in every company. What we found to be the "easiest" and most robust way, was to create a copy of codeunit 396 (NoSeriesManagement) and add a CompanyName parameter to the functions we needed. Here we used CHANGECOMPANY. That was in NAV 3.70. Since NAV 2009 we have had Web Services. If I had the same requirement now, then it might just be easier to create a new code which would publish a codeunit which would return the last/next number. And then call the same web service from another NAV codeunit. If you just need to get the last no. then the GetNextNo function is really the only function that needs to be "public". And when that has been said about number series, then just using CHANGECOMPANY and COPY to insert customers in a different company, is just as dangerous. The no. series is just one issue. Every field on the customer, where there is a relationship to a different table, then you risk that the related record does not exists. You really need to think very carefully about how you handle errors and verifies the data. In my current project, we don't copy customers or sales orders. But we have a global chart of accounts. This is maintained in a master data company. And whenever our global finance department creates a new G/L account, then they run a job to synchronize their changes. We are using a "master data management" add-on for NAV for this. Not only does it give us full tractability over all updates, but it also allows us to synchronized any related data, like new posting groups (incl. their setup). Compared to how much it would take to program similar functionality, then this was much cheaper. I've tried both. CHANGECOMPANY is basically only useful for simple lookups or very simple updates.

Blog Post: Service Management in Dynamics NAV

$
0
0
Service Management in Dynamics NAV Leer in minder dan een halve dag hoe je field service en repair shop kan organiseren en administreren in de Service Management module van Microsoft Dynamics NAV. Trainer Vincent Bellefroid leert je hoe je onderhouds- en herstelopdrachten kan registreren, plannen en administratief verwerken in NAV. Ontdek hoe je de volledige onderhoudshistoriek van machines kan bijhouden en consulteren en hoe je onderdelen uit de warehouse kan picken voor herstelopdrachten. Leer Service Management online »

Forum Post: RE: how to transfer a new custom field Such as Driver from sales order to the customer ledger entry?

$
0
0
Hi Gary, Getting data around in NAV from i.e. a sales order into the customer or general ledger must follow a certain pattern. It needs to go from sales header to general journal lines, before getting posted as customer and general ledger entries. And it uses a number of different codeunits on its way. This is from a blog post I wrote about it a few years back. Here you can see the flow as it was in NAV 2013. Some of the functions have been rewritten in later versions, where we also have the ability to subscribe to events, when we need to extend the number of fields, instead of changing directly in the standard posting codeunits.

Forum Post: RE: Jobs: Reallocating Revenue

$
0
0
Hi Edward, Yes cannot have entries without cost. But exactly how do they imagine that the flow would be? I guess the solution would be to create a custom function, which reallocates it directly somehow. [:)]

Forum Post: RE: Error While Running NAV R2 RTC

Blog Post: How Do I: Use Visual Studio Code instead of SSMS?

$
0
0
Using Visual Studio Code as a replacement for Sql Server Management Studio is very easy. Once you have downloaded and installed VSCode ( download it here ), you need to add the mssql extension in Visual Studio Code, which you can find here . Then create a new file in VSCode and give it the extension .sql. The mssql extension enables mssql commands and T-SQL IntelliSense in the editor when the language mode is set to SQL .   Press CTRL+N . Visual Studio Code opens a new ‘Plain Text’ file by default. Press CTRL+K,M and change the language mode to SQL . Alternatively, open an existing file with .sql file extension. The language mode is automatically SQL for files that have the .sql extension. Then you need to connect to your SQL Server: In VS Code, press CTRL+SHIFT+P (or F1 ) to open the Command Palette. Type sql to display the mssql commands. Select the MS SQL: Connect command. You can simply type sqlcon and press ENTER . Follow the prompts to specify the connection properties for the new connection profile. After specifying each value, press ENTER to continue. Verify your connection in the status bar. Now you need to see your databases on your SQL Server. Simply use the following query: Press CTRL+SHIFT+E to execute the Transact-SQL commands. View the results in the query window. Then you can query any table in any database, for example: Press CTRL+SHIFT+E to execute the Transact-SQL commands. View the results in the query window. On the View menu, select Toggle Editor Group Layout to switch to vertical or horizontal split layout. Voila, it’s as easy as this! More information and examples are available here:  Use Visual Studio Code to create and run Transact-SQL scripts for SQL Server .

Forum Post: RE: Serial No.

$
0
0
I have differents branch in a company when i select the another branch it show from 150 because the first branch has 149 employees

Forum Post: RE: Group by problem in navision

$
0
0
Hi Gary, Do it directly in RDLC! That would be so much easier. Making grouping/group totals etc. is one of the strongest thing about using RDLC. And very easy to setup filters and conditions for when a control/row is hidden or not. Sure you can also do much of it in NAV, but you would still need much of the same inside RDLC also, no matter if your dataset contains all the data, or just "group-sum" information. To do the same in NAV, you need to do much more code. To see how you can control what is shown or not, try to check out the total section in the sales invoice report 206. Here depending on different options (vat, discounts etc.) then different rows are shown in the total area. If you are new to RDLC, then I do understand you're skeptic. When I first started with RDLC with NAV 2009 in 2008, then it took me a very long time to learn and understand it. And even today then developing new reports in RDLC is really something I do not enjoy, compared to regular NAV development.

Forum Post: RE: Group by problem in navision

$
0
0
Thanks Erik. I am checking this report... So much complicated....

Forum Post: RE: Invoice Rounding, using LCY Currency Code in Currency table

$
0
0
In some countries, it is actually common practice to set up the local currency as a foreign currency with a 1:1 exchange rate. Although there are issues that would affect performance, the time needed to get a currency record and divide 1/1 is trivial. To me it just seems ""un-Navision" but I have seen many installs where this is done (and been used for over a decade) and it works fine. So adding say USD and then USD-CASH I don't think will be a problem.

Forum Post: RE: Invoice Rounding, using LCY Currency Code in Currency table

$
0
0
FYI the reason this is common in particular countries is where there are a large population of immigrant workers that can easily forget what the local currency is and accidentally get it wrong. So by having them enter the currency on every single invoice reduces user error.
Viewing all 11285 articles
Browse latest View live


Latest Images