That is not correct. You can use many source tables with data exchange definitions, otherwise for example then you could not use it for PEPPOL the European E-invoicing function, where you import/export sales invoices etc. And you always have the option of creating your customized, but that should not be required. [quote userid="204411" url="~/nav/f/developers/96599/how-to-export-data-from-multiple-tables-to-csv-file-in-business-central-online/502510"]I tried data exchange definition but we can't use more than one source table with data exchange definition. [/quote]
↧
Forum Post: RE: How to export data from multiple tables to CSV file in Business Central online?
↧
Forum Post: RE: i need to add a line in my C/AL but it shows "End"should come here"
You need to understand WHY you are using BEGIN's and END's. They mark the beginning and end of multiple statements. And a SEMICOLON marks the end of a statement. In you first example you had only one statement, so a semicolon was not needed, but in the second you have two statements (which always must be separated by semicolons), so here you also need BEGIN-END's to work. IF gtItem.Strength = 1 THEN BEGIN IF gvDimValue."28 Day Minimum Units" = 0 THEN BEGIN gvTarget:= (gtItem."Specified Strength"*(gvDimValue."28 Day Minimum"/100))/(gvCementTar/100+1); gvSpecStr2:= (gtItem."Specified Strength"*(gvDimValue."28 Day Minimum"/100))/(gvCementTar/100+1); END ELSE BEGIN gvTarget:= (gtItem."Specified Strength"+(gvDimValue."28 Day Minimum"*10))/(gvCementTar/100+1); gvSpecStr2:= (gtITem."Specified Strength"+(gvDimValue."28 Day Minimum"*10))/(gvCementTar/100+1); END END ELSE BEGIN IF gvDimValue."28 Day Minimum Units" = 0 THEN BEGIN gvTarget:= (gtItem."Specified Strength"*(gvDimValue."28 Day Minimum"/100))/(gvCementTar/100+1); gvSpecStr2:= (gtItem."Specified Strength"*(gvDimValue."28 Day Minimum"/100))/(gvCementTar/100+1); END ELSE BEGIN gvTarget:= (gtItem."Specified Strength"+gvDimValue."28 Day Minimum")/(gvCementTar/100+1); gvSpecStr2:= (gtItem."Specified Strength"+gvDimValue."28 Day Minimum")/(gvCementTar/100+1); END END; The syntax used in AL (both the original AL, C/AL and the new AL) is based upon Pascal. These pages explains it for you: http://wiki.freepascal.org/If and http://wiki.freepascal.org/Begin
↧
↧
Forum Post: RE: Error on upgrade NAV2018 to 365BC
Hi, Funny error message!! How big is the database? If its a large database, then it may help to increase the "SQL command timeout".
↧
Blog Post: Bye Bye C/AL, welcome to the AL era…
This was in the air (Microsoft has clearly announced more than an year ago that in a year or so they will be ready to move their ERP codebase from C/AL to AL), something was under NDA and cannot be blogged but finally at Directions ASIA for the first time the plans were officially revealed in a clear way: April ’19 release (full of new features and with great improvements also in the database platform and in the debugging experience) will be the last release with C/AL supported. From the next major release, we’ll see only VS Code + AL and the Modern Web Client. There’s no more time to wait I think, start re-architecturing your solutions and start embracing the new development experience for Dynamics 365 Business Central as soon as possible.
↧
Forum Post: RE: 'AllowedFrameAncestors' is not valid for Business Central Server
Microsoft has now confirmed that there is an error with BC, IFRAMEs and AAD. And that the error will be fixed in the next update (May 2019): https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb/issues/422
↧
↧
Forum Post: NAV 2009 R2 - Error while restoring database
Hi, I need a help regarding this issue. I'm restoring a database from FBK file. After a long time restoring the database, suddenly this error message occured when it's almost done. What's the cause of this and is there anything i can do to complete the database restore process ? Edit : For more information, i'm using NAV 2009 R2 build 32012
↧
Forum Post: RE: NAV 2009 R2 - Error while restoring database
it occurs when definition of table is changed. has the definition been changed?
↧
Blog Post: Welcome to Modern Client in D365 BC
Microsoft confirmed in Directions Asia, 2019 that October release of 2019 will support only Modern client based on AL and no windows client/RTC and no C/AL. Start learning AL and upgrade to BC. Contact me for D365 Business Central development training at pmohanakrishna@hotmail.com
↧
Forum Post: RE: NAV 2009 R2 - Error while restoring database
What are you restoring? A full database or a single company? It looks like you're restoring a database or its application objects into an existing database, where the database schema for your Payment Terms table has been changed (as Imran wrote).
↧
↧
Forum Post: Dynamics NAV Certification
Hello Everyone I have experience around NAV 5 yrs and wanted to get Certificate to leverage my experience and i know Microsoft scrapped those exams i needed (Damn MSFT) and i know there is DUG certification but it costs more than MSFT exam, it is also not available around where i am.And my final concern is is how much acceptable that certification in the market? Thanks
↧
Forum Post: RE: Dynamics NAV Certification
Hi, Please don't waste your money in Dynamics Pro / DUG exams as I did not feel confident when I passed the exam and I was thinking it will add value or give me a job. If you know the system it's better than having a paper of Certificate. This is my Advise Alemayehu Ayele
↧
Forum Post: RE: Dynamics NAV Certification
↧
Forum Post: RE: Dynamics NAV Certification
Thanks, Mahmoud.
↧
↧
Forum Post: Backup Business Central (Cloud) Data
Dears Backup data in the OnPrem version of NAV/BC is very clear and easy. BUT| what about the same process for Business Central Cloud I searched but no answer yet, I asked also the MS partner and he does not know. What do you suggest?
↧
Forum Post: RE: Error on upgrade NAV2018 to 365BC
Hi, A very small database. Actually just a demodatabase, we are using. However, today I got the problem solved :-) I uninstalled my 365BC and installed 365BC ***.upd. 5 and went through the whole proces once again. This time without any problems, so now we have a new demo-database without recreating demodata :-) Well, seen strange issues before. Don't spend all energy on the RTM- and first ***.updates. Wait some months, and you avoid a lot of unnecessary grey hair ;-)
↧
Forum Post: RE: Backup Business Central (Cloud) Data
I suggest that you find a real partner, they would know. Microsoft handles the backup in the cloud. Neither you or your partner can backup or restore, only Microsoft.
↧
Forum Post: RE: Backup Business Central (Cloud) Data
Microsoft will take backup's and keep for some Today-X days. if you need to restore the backup then you need to create a support case with exact date and time with proper reason..
↧
↧
Forum Post: RE: Dynamics NAV Certification
[quote userid="179786" url="~/nav/f/technical/96620/dynamics-nav-certification"]DUG certification[/quote] DUG (Dynamics User Group) has nothing to do with the certifications. I guess you think about NAVUG and the company behind Dynamic Communities Inc., who also owns DCP. Generally I agree, certifications are not worth much. If they stand alone! What really matter is proven experience. And training in the new versions - learning Business Central/AL is not a self-study task, even for experienced NAV developers. The only time a certification is worth something is if you go to apply for a new job, and you don't have references who can verify you have qualifications you claim to have. Microsoft have discussed to bring back certifications for BC, but no details or timeline has been made public. So I guess people are still asking for it. Despite it's value.
↧
Forum Post: RE: Error on upgrade NAV2018 to 365BC
Happy you solved it. Did you remember to update your NAV 2018 to the latest CU first? Not sure I agree you should avoid RTM versions, with two major releases per year, that's two RTM's. But if you don't, then you should make sure you apply the CU's when they are released (even if you only update the platform).
↧
Blog Post: Microsoft Dynamics 365 Business Central – 2019 Spring Release
I’m not attending Directions ASIA this year – and it doesn’t really feel good. There is a major release around the corner, and I have to experience it through social media – I hate it! But that’s life – my wife is going live with a huge project, so I had some duties at home ;-). Luckily, the go live is going quite well, so it seems to have been worth it ;-). Having said that – the below blogpost is actually completely redundant. In fact, when I finished it, and was reviewing it, I came across this article on Microsoft Docs: What’s new and planned for Dynamics 365 Business Central . But hey, I’ve put the work into it, and I put some of my own thoughts into it – who knows it’s still interesting to read ;-). As said, there is a major release around the corner. And since we don’t have version numbers anymore (actually, we have… I assume this is going to be version “14”), let’s just call it: Microsoft Dynamics 365 Business Central – 2019 Spring Release The information that I will list here, is merely from twitter/facebook/.. . So definitely second hand – definitely not complete – and definitely only from my interpretation! Let that be a big fat disclaimer. But nevertheless, let’s list what I learned from social media today: Last release with C/AL and Windows Client I think the most important piece of information was the fact that this release is the last release that will contain C/AL , and also the last one with the windows client . Just look at these screenshots from Alexander Totovic: and … Enjoy the last 6 months of windows client, people ;-)! To quote Kamil Sacek: “ from 12-24 month announced on 2018 is 12 month in reality! ” ;-). Indeed, the last roadmap, it said that it might happen from 12 to 14 months – I guess it has become 12 months. What does it mean for code modification in the base app? Well, you will still be able to do it, according to Tobias Fenster . Focus on security, stability and performance In the keynote, it was clear that this release had a very strong focus on these three pillars: Stability Security Performance (screenshots by Dmitry Katson) And going forward, the points that I will address, kind of indicates that. Let’s … get … started … Technical Enhancements Last Error We already had the “system information” page in business central, which showed the last error, which I blogged about some time ago here . But now, they got the error info out of it (it seems), and created a new page “Error Details”, which shows like this (screenshot Tobias Fenster): It brings more possibilities to the user as they can figure out in the application of what’s wrong – but also for developers this is interesting, for example to know where to put breakpoints ;-). Force Sync As you know, while developing extensions, it was “challenging” to keep the data. If you do a breaking change (like removing a field), it could happen that you had to remove all data (from the extension) to rebuild it. Well – this release brings a “force sync”! Screenshot from Saurav Dhyani: This solves a LOT of frustrations ;-). Configure Context-Sensitive Help May be something we don’t really think about, but definitely important to realize it exists! From this release, we will be able to apply context sensitive help. More info on Microsoft Docs ! APIs This time, APIs are not in Beta anymore, and will be v1.0. Which means: API contract is fixed, but also versioned ;-). If you need to extend APIs, you can obviously create your own! Screenshot by Dmitry Katson: Tharanga shared that Business Central now exposes all Standard APIs as “Open API 3.0” standard. Which seems to bring “auto documentationand auto SDKs”. Screenshots from Dmitry Katson: I have to be honest – I have NO IDEA what that means, but I’m sure that’s a good thing ;-). Even more, Dmitry Katson shared that the APIs are in MsGraph now! And let’s also mention “web hooks! Or at least, let Dmitry do that ;-): Business Central Admin Center When you are a CSP and sell SaaS implementation of Business Central, you probably know about the Business Central Admin Center. It would be weird if you would not know about it, because this is where you maintain, handle, set up, … your customers. With this release, a lot of new features are introduced into this portal. Just to name a few: Schedule upgrades for customers (screenshot by Tharanga) Multiple sandboxes . Another thing we have been waiting for a long time :-). Now we can do it, and even more: we can choose a BC version (like ‘next’ or ‘preview’) to test our developments even against an upcoming version . Very necessary, and it’s there now! Indicated here by a screenshot from AJ: Monitoring and notifications – you can subscribe to receive notification of more events happening in your customers’ environments. Enhancements Intelligent Cloud for Dynamics SMB and Business Central As I’m not intelligent enough to tell you anything about the intelligent cloud and its enhancements .. But I’m just going to leave this here for you ;-): https://docs.microsoft.com/en-us/business-applications-release-notes/april19/dynamics365-business-central/enhancements-intelligent-cloud In-Client Designer Dependency Pruning When you were using the in-client designer in the previous release, it created dependencies for all extensions in the database. This didn’t make sense, and caused a lot of problems going forward (where you had to remove the unnecessary dependencies). It was the exact reason why I hated the tool. Well – it’s fixed now ;-). Only the necessary dependencies are there now! Time to give this tool another go – may be now it can be a real addition to a developer’s life. Screenshot from Saurav Dhyani: Source and binary format for Runtime Packages “Runtime Packages” is also still an area I have to dive into, just because I never had the need to hide source code (as I don’t believe that’s where is the IP). But I didn’t want to hold this screenshot from you from Saurav Dhyani: Some more minor enhancements: Max Record Size : 8060 bytes. More info here: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-object-specifications-limitations Even more: text-fields can now be up to 2048 characters . But as Soren says : “ Just because you can doesn’t mean you should” . Data Access has changed quite a bit. The updated info is already online: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/optimize-sql-data-access RAD – or Rapid Application Development lets you build and deploy only a part (the changed part) to speed up development. Now you know where the “rad.json” comes from ;-). Screenshot by Aida: Many performance improvements . This screenshot from Saurav quite indicates a number of them: Or this screenshot by Tobias Fenster: It is quite impressive to see the performance gains all over the place, like as well in this screenshot from Saurav: Let’s not forget the page inspector , like Saurav did on Twitter: The debuggers (in C/AL as well as AL) now shows SQL statements to easily see what’s slow on SQL! Even more, you can start the debugger now without even publishing the extension – again speeding up development. Screenshot by Saurav: Code actions in VSCode is when you have a message/warning from one of the code analyzers, you can “take action”. The famous “light bulb” kind of thing in Visual Studio. This is coming to AL as well, indicated by Saurav: Multiple Unique Keys – I didn’t see this on twitter, so people must be sleeping out there – but Soren blogged about it . One of the features I have been wanting for a long time – and will be using extensively :-). More info on Microsoft Docs as well! Client and UX changes Applying a theme Look at this screenshot by Dmitry Katson: I seem to be missing a “Dark Theme” though – while I’m a fan of dark themes. Microsoft? Focus-mode & quick entry …to easily enter lines on document pages. Screenshot by Tobias Fenster: Saving and personalizing list views Yep: you can save a view now :-). I’m sure users are going to love this! Screenshot from Docs: New Keyboard Shortcuts. As far as I know, we’re still not able to post from F9 or so (so no execution of actions on a page though shortcuts), nor are we able to configure our own shortcuts (yet?). But at least, even more shortcuts have made it to the client. More info here . Work date indicator. Let me explain by this screenshot from Microsoft Docs: Autosave indicator We are users from NAV, and we know that basically all pages our bound to the dataset – which means all data is automagically saved. For users that are expecting a cancel button, it might not be that clear. Now it is: Improved scrolling It seems a very simple thing – not that scrolling is faster (it might be though), but the experience is completely different. Just watch this here . Improved contextual search the “tell me” box is even searching in AppSource now! Application enhancements And if you think Microsoft didn’t work on the Application, think again! Many changes on this side – en let me refer you to Microsoft Docs for this . Just to list a few: Longer names and descriptions Bulk import item pictures (I wonder if they finally use the mediaset as a real set now…) Default ship-to addresses Background jobs with data formula … (many many more) Release Notes on Microsoft Docs Very important – Microsoft has documented all the things we can expect in this new release. As said, I just found this link after writing this blog – it could have saved me some time ;-): https://docs.microsoft.com/en-us/business-applications-release-notes/april19/dynamics365-business-central/planned-features Release date I haven’t seen a definite release data. Is it already here? Next week? End of April? No clue – but I expect this Spring release to be here very soon. Will update as soon as I have it, but I’m sure you will know before me anyway .. as social media will be swamped with it ;-). Resources It tried to note down all resource I used to compile this blog. There are some blogs, some links to Docs, and some tweets. All worth checking out! Totovic Dynamics Blog: Directions ASIA 2019 – After Keynote Soren Klemmensen: Field and Row size changes coming to the Spring 2019 Release Standard Web APIs are going out of BETA with the spring release Multiple Unique Keys on AL Tables in Business Central Jared Hall: Scheduling your April 2019 Upgrade for Business Central Stefano Demiliani: Bye Bye C/AL, welcome to the AL era Microsoft Docs Configure Context-Sensitive Help Data Access Object Specifications and Limitations Multiple unique keys April 2019 release notes Database insights in C/AL and AL debuggers Twitter: https://twitter.com/tobiasfenster/status/1112541059538550785 https://twitter.com/tobiasfenster/status/1112545333056159744 https://twitter.com/tobiasfenster/status/1112546278615867392 https://twitter.com/sauravdhyani/status/1112615013074649088 https://twitter.com/EdupontM/status/1112628781632626689 https://twitter.com/DmitryKatson/status/1112597999316881409 https://twitter.com/TharangaNC/status/1112621691836854273 https://twitter.com/TharangaNC/status/1112621337896316928 https://twitter.com/sauravdhyani/status/1112616123445317632 https://twitter.com/sauravdhyani/status/1112615442193879040 https://twitter.com/DmitryKatson/status/1112606163063828480 https://twitter.com/DmitryKatson/status/1112605528771850242 https://twitter.com/DmitryKatson/status/1112536430763536386 https://twitter.com/MSDYN365BC/status/1112606071695110144 https://twitter.com/aidaonnav/status/1112605065322192896 https://twitter.com/MSDYN365BC/status/1112604024283357185 https://twitter.com/MSDYN365BC/status/1112600707209687040 https://twitter.com/DmitryKatson/status/1112601930964959237 https://twitter.com/MSDYN365BC/status/1112600707209687040 https://twitter.com/MVPKine/status/1112594707413114880 https://twitter.com/KennieNP/status/1112586699333210113 https://twitter.com/KennieNP/status/1112588100692111360 https://twitter.com/DmitryKatson/status/1112541477224284160 https://twitter.com/sauravdhyani/status/1112562098939138049 https://twitter.com/ajkauffmann/status/1112543145999253504 https://twitter.com/sauravdhyani/status/1112540398570749952 https://twitter.com/tobiasfenster/status/1112538540284366848 https://twitter.com/tobiasfenster/status/1112537205765898241 https://twitter.com/sauravdhyani/status/1112640428195471360 https://twitter.com/aidaonnav/status/1112616401607417857 https://twitter.com/MSDYN365BC/status/1112636260592439296 https://twitter.com/sauravdhyani/status/1112612795663540224
↧