Quantcast
Channel: Microsoft Dynamics NAV
Viewing all 64865 articles
Browse latest View live

Forum Post: How to send an Email automatically when a JOB encounters an error?

$
0
0
Hello Experts, How to send an Email automatically when a JOB encounters an error? Here I have created a codeunit which runs the report through JOB after every 24 hours. How can I automate the the Email sending if it encounters any error. What code or trigger has to be written to get this functionality. Please suggest!

Blog Post: Microsoft Dynamics NAV and Dynamics 365 Business Central on-premise: why don’t you resize your Azure VMs?

$
0
0
This post comes after spending two days working with some customers that have started to move all their on-premise infrastructure to IaaS on the Azure cloud. They have used Azure VMs for hosting their Microsoft Dynamics NAV databases and servers and they have sized the VMs by starting from my suggestion and increasing the size by 2 (“ we want to move to Dynamics 365 Business Central on-premise soon, so I don’t want to have problems with resources ” was the absurde reason for that decision). What I see always in these cases is that the art of scaling the VMs resources is a mistery for everyone! One of the main benefits of a cloud-based infrastructure is that you can scale (horizontally or vertically) accordingly to your needs, so why using (and paying for) an enormous Azure machine for NAV or SQL Server when we’re for example in the developing phase and few users are working with the ERP? I think that everyone in the IT field should work with Azure VMs by scaling them as needed. And scaling a VM in Azure is very simple. As a sample, I have this test Azure VM for NAV with 4 vcpus and 8 GB of memory. To reduce the size of the VM (but the same process if for increase the power) click on the Size menu to the left in the Virtual Machine blade: In the Choose a size page, you can see all the available sizing for this VM, you can filter by type, disk and vCPUs (in the following images I’ve decided to see only VMs that has Premium Storage and >= 4vCPUs), then you can select the size where you want to scale and by clicking the Select button the resizing process is performed. In few minutes, you have a VM ready to go with the new size. Resizing a VM requires a reboot of the machine , so plan it accordingly. As always, the best part of this is that you can also perform a resizing via Powershell (and so schedule it for example by running a runbook in Azure Automation ). By using Azure CLI and Powershell, here I’ve declared a Resource Group name variable and a VM name variable. Then I retrieve all the available sizes for my VM: $resourceGroup = "vmeidnav2017" $vmName = "vmeidnav2017" Get-AzureRmVMSize -ResourceGroupName $resourceGroup -VMName $vmName This is the output of this command: Here I want to resize my Azure VM to a smaller size (Standard_A3) and this is the command to use for this task: $vm = Get-AzureRmVM -ResourceGroupName $resourceGroup -VMName $vmName $vm.HardwareProfile.VmSize = "Standard_A3" Update-AzureRmVM -VM $vm -ResourceGroupName $resourceGroup Wait few seconds and the machine is resized: Why paying for resources that you’re not using or having poor performances only because you don’t scale up un particular heavy business hours? Remember this for tuning your Microsoft Dynamics NAV or (future) Dynamics 365 Business Central on-premise infrastructure in the cloud.

Forum Post: RE: NAV Performance Issues - Physical/Virtual Server

$
0
0
Hi, NAV on virtual machines is quite common nowadays. My current client has two productional ServiceTiers as virtual machines (Azure) and no problems. I'm not an admin, but I think it's either your test-case which causes problems or the configuration of the host-server. You could create a pre-configured NAV-machine in Azure and run your test. That would exclude the possibility that NAV is not compatible with virtual machines as a host system.

Blog Post: Twitter Links for All Exhibitors You Will Find at User Group Summit Phoenix

$
0
0
You are strolling through the aisles of the Expo Hall at User Group Summit Phoenix and see you see a perfect photo opp. Or you know a specific ISV vendor is there, and you want to send them a message. Use Twitter! Social media is a great way to promote and connect with your favorite partners at User Group Summit. But sometimes looking up their names on Twitter just takes too much time. Follow these Twitter Lists for quick access to the exhibitor accounts: AXUG - https://twitter.com/erpsoftwareblog/lists/axug-phoenix-exhibitors BCUG/NAVUG -  https://twitter.com/erpsoftwareblog/lists/navug-phoenix-exhibitors GPUG -  https://twitter.com/erpsoftwareblog/lists/gpug-phoenix-exhibitors CRMUG -  https://twitter.com/CRMSoftwareBlog/lists/crm-phoenix-exhibitors Refer to this list to find the Twitter handle of a specific partner: Company Name Twitter Name as URL Aatrix Software, Inc. @AATRIXSoftware Absolute Value   Act-On Software @ActOnSoftware Adage Technologies @adagetech Adaptive Insights @AdaptiveInsight ADP @ADP Advanced Business Systems, LLC @advusacom Altec @DocLinkbyAltec AMC Technology @AMCTechnology Arbela Teachnologies @ArbelaTech ArcherPoint @ArcherPointInc Armanino LLP @ArmaninoLLP ARRIA NLG @ArriaNLG AssureSign @assuresign Avalara @avalara Avanade @avanadeinc AvidXchange @AvidAutomates Beck Consulting @BCfood4NAV Binary Stream @BinaryStream BKD, LLP @BKDLLP BlackLine   Blue Horseshoe @bhsolutions Blue Moon Insudtries   Bluestar PLM for Dynamics 365 for Finance & Operations/AX @BluestarPLM Bottomline Technologies @bottomlinetech C5 Insight @c5insight CafèX Communications @CafeXComms CALUMO @CALUMO CEM Business Solutions @CEMBSglobal Centerprism @Centerprism Centric Consulting @centric Century Business Solutions @CenturyBizSolut Charge Logic @ChargeLogic Chetu @ChetuInc Cincom Systems, Inc. @Cincom ClickDimensions @clickdimensions ClickLearn @ClickLearn Cobalt @thecobaltco Columbus @us_col u mbus Compass Technologies @CompassTechUS ConnectBooster @connectbooster Continia Software @ContiniaSoftwar Coveo @coveo COZYROC @cozyroc Crowe LLP @ C rowe USA CyberlinkASP, formerly RoseASP @CyberlinkASP Data Masons @datamasons Data8 Limited @data8ltd DataBase Masters   Datahaven for Dynamics (Torrential Data) @Datahaven4 deFacto Global @deFactoCPM Demand Works Company   DiCentral @DiCentral_EDI DocStar @docstarsoftware DocuPhase @DocuPhase DocuSign @DocuSign Dooap @DooapAX DSI @dsimobile DXC Technology @ DXC _ E clipse Dynamic Budgets   Dynamic NetSoft Technologies @dynamic_netsoft Dynamics Edge, Inc. @DynamicsEdge_ Dynamics eShop Inc. @DynamicsEshop Dynamics TMS @DynamicsTMS Dynamicweb   Dynaway @dynawaydotcom Easy e-Bank Rec   EasyTerritory   E-Con Solutions @e_consolutions Edgewater Fullscope @edgefullscope Elevate HR @Elevate_HR_Inc Ellipse Solutions @ellipsesolution Emfluence Marketing Platform @emfluence Encore Business Solutions @encorebusiness Envisage Software Solutions   EnVista @enVistaSpplyChn eOne Solutions @eOneSolutions Episerver @episerver eRequester @e R equester Ernst & Young LLP @ey_advisory Esker @EskerInc ETL Source L.L.C.   Experlogix @experlogix FASCOR Inc. @FASCORWMS Fastpath @gofastpath Fieldpoint Service Applications @fieldpointtalks Flintfox International @FlintfoxIntl Forecast Pro   Formpipe Lasernet @LaserNet1 Fourvision HR Plus @FourVisionHR Full Circle Budget @T3InfoSystems GEMKO Information Group, Inc. @GEMKOLLC Generix Group @GenerixGroupNA Greenshades Software @Greenshades_ Halo @halo_bi HighJump @highjump Hitachi Solutions @hitachisolus Horizons International, Inc.   HSO @HSODynamicsAX i95dev @i95Dev Image Tag @kwiktag Implementation Specialist (IS) @ISCorpmn iNECTA @iNECTA_LLC Infogroup @infogroup InGenius @InGeniusSW Innovia Consulting @InnoviaNAV Inogic @inogic InsideView @insideview Insight Works @dmsinsightworks insightsoftware @insightsoftware Integrity Data @integritydata iPayables, Inc. @iPayables ITK Solutions Group @itksolutionsgrp JAT Computer Consulting, Inc.   Jet Reports @JetReports JourneyTEAM @journeyteam_ut Journyx @JournyxInc k-eCommerce @keCommerce KEY2ACT @keytwoact KingswaySoft Inc. @kingswaysoft KTL Solutions, Inc. @ktlsolutionsinc Lanham Associates/Lanham Services @Lanhamassoc Ledgeview Partners @ledgev ie wcrm Let Lucy @letlucyhandleit Liaison Software Corporation   Liberty Grove Software @libertygroveso LIDD @LIDDsci Living Spaces @livingspaces Logan Consulting @loganconsulting Loki Consulting @lokisystems Maestro Suite by Centage @centage Magic Software Enterprises Inc @MagicSoftware Malibu Commerce @malibucommerce MC2 Visions   MCA Connect @mca_tweets Medius @mediusgroup Mekorma @Mekorma_GP Melissa @melissadata Mergetool.com @Mergetool Merit Solutions @meritweb MetaViewer from Metafile @metaviewer Microsoft @MSFTDynamics MineralTree, Inc @MineralTree Minisoft @Minisoft_Inc MSCRM-ADDONS.COM @mscrmaddons MSX Group @msxgroup NAV-X   NETSTOCK @NetstockInv NMB Solutions @NMBSolutions Nodus Technologies, Inc. @NodusTech Nolan Business Solutions @NolanBusSol nQativ @nQativ Oanda @OANDA Olympic Systems @OlympicSystems On24 @ON24 Openprise   Optima Global Solutions @Optimags Optimus Business Transformation @OptimusGuruBT Pacejet @pacejet Panatrack @Panatrack PaperSave @Paperless_Post Paradigm Technology Consulting @Paradigm_Consul Paramount WorkPlace @ParamountWP Perfion @Perfion Planet Technologies @PlanetTech PlannerOne – Dassault Systemes @PlannerOne_NAV Plus Consulting @PlusConsulting_ PN3 Solutions   PowerGP Online @PowerGPOnline PowerObjects, An HCL Technologies Company @powerobjects ProcessWeaver @processweaver Professional Advantage @ProfAdvantage Progressus Software @progressussoft Prophix Software Inc. @prophix Pulse Dashboard   PVBS @ GovConERP Red Maple @redmaple Resco @rescomobilecrm RF-SMART @rfsmart Rise Against Hunger @Rise2030 Riva International, Inc. @crm_integration Rockton Software @RocktonSoftware RSM US LLP @rsmusllp SaaSplaza @saasplaza SAGlobal @SAGDAXFIX SalesPad LLC @salespad Sana Commerce @sanacommerce Sierra Workforce Solutions @sierraws SignUp Software AB @SignUp_Software Sikich LLP @sikichllp Silverware @SilverwareERP SIS (Strategic Industry Solutions) @SISSoftware_LLC SK Global Software @sksoftax Slimstock @Slimstock Smart Software, Inc. @smartforecasts Sniperdyne @Sniperdyne Solver @SolverGlobal SourceDay @sourceday SPS Commerce @SPS_Commerce StockIQ Technologies   Stoneridge Software @stoneridgesoft Sunrise Technologies @SunriseD365 Sycor Group @sycor_microsoft Synoptek @Synoptek Tangicloud Technologies, Inc. @tangicloud TARGIT @TARGIT Tasklet Factory @TaskletFactory Technology Management Concepts @tmcdynamicserp TGO Consulting a division of SHEA Business Solutions @tgoconsulting The Portal Connector for Dynamics CRM/365 @crmportal Thomson Reuters @yourONESOURCE TIBCO Scribe @scribesoft Tier1, Inc. @tier1oracle Tigunia   TimeClock Plus @TimeClockPlus To-Increase @ToIncrease TrinDocs @trindocs True Sky @TrueSkyCPM TrueCommerce @RedTailEDI Velosio @velosio Versoft Design Inc @TheTAG_Software Versium Analytics   Vertex Inc. @vertexinc Vicinity Manufacturing @Vicinity_news Visionet Systems @Visionet V-Technologies @ShipVtech WatServ @WatServLtd Western Computer @WesternComputer Winthrop Development Consultants @WinthropDC Wipfli CPAs and Consultants @Brittenford Wolters Kluwer @salestax Xpertdoc Technologies Inc. @xpertdoc XPLUS   Zetadocs by Equisys @equisysplc Do you see any names that we should add? Email us at info@erpsoftwareblog.com or send us a Tweet @erpsoftwareblog Don’t forget to download the User Group Summit Mobile App onsite will have pretty robust options for finding exhibitors. The Exhibitor button on the App home screen is where to go to for the latest Expo Hall information and hours and to search the Exhibitor list and view the company descriptions and details. You can check out the Expo Hall floor plan and view the booth listings and details to find answers to all your exhibitor questions. It will be available to download in early October. User Group Summit Events: October 15-18, 2018, Phoenix Convention Center, Phoenix, AZ AXUG Summit:  https://www.axugsummit.com BCUG/NAVUG Summit:  https://www.navugsummit.com CRMUG Summit:  https://www.crmugsummit.com/ D365UG Summit:  https://www.d365ugsummit.com/ GPUG Summit:  https://www.gpugsummit.com Power Summit:  https://www.powerugsummit.com CRM Software Blog Members Exhibiting at User Group Summit Phoenix 2018 with Twitter Links ERP Software Blog Members Exhibiting at User Group Summit Phoenix 2018 with Twitter Links SPECIAL OFFER:  Take a photo with any of the ERP or CRM Software Blog members at UG Summit and tweet it with the hashtag  #ERPBlogISV or #CRMBlogISV . One lucky tweet will be selected to win a $150 Amazon gift card from  @erpsoftwareblog . By ERP Software Blog Editor, www.erpsoftwareblog.com Related Posts ERP Software Blog Members Exhibiting at User Group Summit Phoenix 2018 with Twitter Links Why Attend User Group Summit in Phoenix When You Can Just Login Online? Everything is Taxable until Proven Otherwise

Forum Post: Purchase Order Reports for Good Received Note

$
0
0
Illustration: I have 85 items of which i ordered from a vendor but unfortunately, 40 out of the 85 items is what I can only receive presently. However am to do a Purchase Order for the ordered quantity on Microsoft Dynamics NAV. That is CompanyDepartment Purchase OrderNew, after all inputs on the purchase card I encountered an error when I printed out my report from the "Posted Purchase Receipt". My Report suppose to reflex Qty Order which is to be 85, Qty Received 40 of which am to receive and short fall which suppose to be 45. Observation: I observed that the Quantity to receive is taking values from the Quantity Order which might be improper and the short fall have on input. Conclusively: I need solutions to the issue Please can any experience teacher help me Out

Forum Post: licensing for Inventory Put-Away

$
0
0
Can anyone tell me why Invemtory Pick is a part of the Starter Packag and Inventory Put-Away is not? (or am I completely mistaken?)

Forum Post: RE: Add Action To Page In Extension 2.0 Business Central

$
0
0
Muhammed, if I wanted to take this a step further and send this report to the customer(s) via email how would I do that?

Forum Post: RE: How do we delete/clear purchase orders received but not invoiced?

$
0
0
Many thanks Robertas. Since the inventory is already affected, best would be to post the invoice and raise credit notes to remove from the GL. Many thanks Cheers Sandy

Forum Post: RE: Interim accounts and Nav

Blog Post: Procurement Planning in Dynamics NAV

$
0
0
Procurement planning can be difficult because of the number of different factors that must be considered. Assessing likely stock availability involves the significant task of  combining the information from the supply and demand of existing orders, production forecasts, and planning suggestions. At Fenwick, we have taken the availability tools that MS Dynamics NAV offers and restructured them to create the Item Availability Overview which makes it easier to estimate likely stock availability.  This is part of the Fenwick Gold module FG 12 Advanced Budgeting and Forecasting. This reports key availability figures per period (Day, Week, Month, Quarter, Year, or Accounting Period). Inventory – The current inventory for all Locations included in the Location Filter. If no Location Filter is set, the report will display the inventory for all Locations. This is the only value not to be reported by period as it is the current inventory. Gross Requirement – The total demand in this Location(s). This includes all outgoing stock such as Sales Orders, Assembly and Production Consumption, Purchase Return Orders and Service Item Lines. Reserved Requirement – The total demand in this Location(s) that is reserved to supply. Scheduled Receipt – The total supply in this Location(s). This includes all incoming stock such as Purchase Orders, Assembly and Production Output and Sales Return Orders. Reserved Receipt – The total supply in this Location(s) that is reserved to demand. Projected Inventory – The expected availability of stock after considering existing stock (Inventory), all demand (Gross Requirement) and all supply (Scheduled Receipt). Forecast – The forecasted quantity as per the Production Forecast that is selected in the Forecast Name field of the General tab. Remaining Forecast – The forecasted quantity less the demand for that period. This value is used instead of the direct Forecast field so as not to over-report demand by recording the same values twice. That is, production forecast is intended as an estimation of what orders will be placed within a period and if some of those orders have already been placed, that should be considered when calculating the total available value. Forecasted Projected Inventory – The projected inventory less the remaining forecast. If there is no inter-warehouse replenishment between locations, or there is only one location for the company, this can be considered the final value. It will appear orange if under Safety Stock and red if under zero. Transfer Forecasted Projected Inventory – If this Item is replenished in other Locations from the Location being filtered to, this value will display the forecasted projected inventory of those locations. This is useful for providing a larger picture about where the stock is required and whether there will be enough available. It will appear orange if under the combined Safety Stock of those locations and red if under zero. Total Forecasted Projected Inventory – This is the total of the forecasted projected inventory and transfer forecasted projected Inventory. If the requisition or planning worksheet is being used, this can be considered by Including Planning Suggestions. Action Qty. – The quantity suggested within the planning worksheet. The forecasted projected inventory values also change to suggested projected inventory values as they now consider the Action Qty. A quick assessment of item availability can also be provided by Showing Summary and removing the Item Filter. This tool was designed to assist procurement planners to accurately assess their stock levels so they can make informed decisions about ordering and scheduling. Alongside the replenishment planning capabilities of Dynamics NAV, planners should have complete visibility and control of their stock levels. Looking for more information? Fenwick Software is a leading implementer of Dynamics NAV in Australia. Contact us to learn more about Dynamics NAV and Dynamics 365 Business Central. Contact Us

Forum Post: RE: Multiple Remit to Addresses

$
0
0
[quote user="Peter Vogt"] We are implementing NAV and our current system we have multiple remit to addresses for same vendor. The implementation company is having difficulty trying to setup multiple Remit to addresses for same Vendor. We are being told it will be difficult if we want to use predicted payment payment option. For example for vendor #123 which is a large supplier and depending on what is purchased we might need to send payment to Texas or Illinois. So when we have two invoices and Invoice #1 has 10 widgets the payment might be sent to Texas however for 15 Gadgets the payment would be sent to Illinois. We do not want to create multiple vendors and would like different mailing address for same Vendor #. If anyone has any suggestion on this please let me know. Thanks [/quote] Hi Peter, Noticed your unanswered post from 2010. Hopefully you've got the solution, if not you can manage this by using the Order Address functionality in NAV. More about it is as below: " The Order Addresses function on the vendor card accommodates vendors with more than one address. These additional locations can be defined as order addresses and they can be selected by the purchasing agent when he or she creates a purchase order, invoice, or credit memo. An unlimited number of order addresses can be created for each vendor. " You can find this on Vendor card, on the Navigate TAB. It is also possible to maintain address wise tax registration using this feature. Hope this helps. Girish P. If you find this solution satisfactory, please let me know.

Forum Post: Addons for NAV 2016

$
0
0
Dear team, Is there Process manufacturing and Quality management addons available for NAV 2016 India localization? Also kindly share where we can see the list of addons available for NAV? Thanks & regards, Saravanan A

Blog Post: Transition from Dynamics NAV to Dynamics 365 Business Central: How to Start?

$
0
0
Dynamics 365 Business Central (SaaS version) is available from April 2018 while in few months we’ll have also the on-premise version. This version will be the evolution of Dynamics NAV (it is time to start forgetting this name) and it will have the same codebase of the online version. We have shared the latest news from Microsoft “What to expect in Dynamics 365 Business Central October release”  here . Some important aspects to remember: The on-premise version will also have the Windows Client, but the Windows Client is still the same as in NAV 2018 (you will have the old NAV 2018 interface, not the new “Modena” interface that you have now in Dynamics 365 Business Central). You can install it directly from a DVD package like the classic NAV versions, it’s not Docker-container based as we have read in some forums. Do not worry. You can administrate all server settings and your database (you can’t do this in the cloud). You can continue to develop in CSIDE and C/AL if you want in the on-premise version (but we suggest not to do that and start using the new Modern Development Environment). As you already know, you can customize and develop solutions for the Dynamics 365 Business Central SaaS platform only by using extensions and the new Modern Development Environment. You can’t use C/AL in the SaaS platform. So, how to start thinking on moving your old NAV solutions and customizations to Dynamics 365 Business Central? Many Dynamics Partners have a lot of inquiries with customizations, vertical solutions, add-ons and etc., which have been developed during the years in C/AL. They are a core part of partner business and now must be moved to the new Dynamics 365 Business Central platform. The transition from a monolithic C/AL code to an extension-based solution is not a quick and easy task and it’s not only a “conversion of code” from C/AL to AL. How to Start a Transition Process From the Old C/AL Based Solution to The Extensions World? Later this year we have written the detailed blog post  How to convert Dynamics NAV reports to NAV Extensions .  Talking about transition process from the old C/AL based solution to the extensions we suggest you to start thinking on the question “ What you want to achieve? “. The first challenge we see our partners are facing when they start moving a C/AL solution to an extension is how to make the architecture of the new solution. What are the available architectures building the new solution (from the C/AL to Extensions)? Monolithic extension (multi functions). N separated extensions. Base Layer (Hidden extension) + N Extensions dependent from the base layer. Monolithic extension In a monolithic extension, all your solution is packed on a single extension (.app) file: Monolithic extension You can create new and extend standard objects in this type of extension. You don’t have dependencies on other modules. This is the simplest architecture to choose (install and go) for the small projects, but for the large projects this should not be used. Separated Extensions The second possible architecture is to split your existing solution into N separated extensions (with separation of functions): Separated extensions In this type of the architecture, every single extension does a specific work and covers a specific functionality by creating new objects, extending standard objects and it could have dependencies with other extensions. In the diagram above, EXT1 is an independent extension that adds new objects and extends standard objects. EXT2 is an other extension that adds new objects and extends standard objects + objects defined in EXT1 (dependencies). By choosing this scenario, you have a totally modular solution: you can decide what module to activate for your customer, every extension is “light” but you need to carefully handle the dependency problem between the different extensions. Base Layer (Hidden Extension) + N Extensions Dependent from the Base Layer The third possible architecture is to have a base layer extension (with all common objects) + N separated extensions that depends from the base layer. Base Layer (Hidden extension) In this scenario, the base layer extension contains new object and extend standard objects by covering all the underlying aspects of your solution (like defining all the new tables of your solution and adding all the new fields in standard tables). You have N separated extensions that covers the single functionality. In this architecture, the extensions EXT1 .. EXTn have dependencies only from the base layer. The solution is absolutely modular (you can activate the function you need for the particular case) and the dependency problem during upgrades is only related to handle the base layer. What Architecture to Choose? There is no one answer or a written guidance on what is the best scenario to choose for your new solution. It depends on the type of your existing solution and on what result you want to obtain on a business perspective. We suggest to avoid having a single huge extension that does all. It’s better to have separation of concerns to divide extensions for applicability area (for example the architecture 2 and 3 we have described above). Do not split a C/AL solution into too much micro-extensions: this will be difficult to manage in the future and difficult to install to a customer’s site (do you remember dependencies?). You have chosen the best architecture for your solution. But this is not the end. This decision brings up more important questions for you.  How to start the coding phase? Should I start rewriting the code from scratch? Should I “convert” my old C/AL code? Should I refactor my old C/AL code before conversion? How can I organize my extension project? First, ask yourself: “Do I want to develop my new extensions for Dynamics 365 Business Central SaaS (cloud version) or for both?” This will impact the object range available. Second, if you have a C/AL solution at the moment that works and you are selling it, start by “reusing” your existing codebase. Remember, that if you have extensions V1 in place, these extensions must be converted to V2 before they can be installed on Dynamics 365 Business Central, also for the on-premise world. Extensions V1 are no longer supported. Talking about the project organization in Visual Studio Code, this is quite a personal aspect. If you like organizing the project tree with folders for functionalities and subfolders for object types, you can do it in  Visual Studio Code. Visual Studio Code If you have an existing C/AL codebase that works, you could follow the steps bellow: Carefully analyze the functionalities that you want to move as a single extension and in C/SIDE and identify the objects that covers the implementation. Use Txt2AL to convert the existing C/AL object to AL and load the new objects in Visual Studio Code. Check (and fix) the conversion errors and then refactor the code. The Txt2AL Conversion tool is your friend for starting a migration process from C/Al to extensions V2. After you’ve identified the C/AL objects of your solution, you can export them as TXT files in a folder (named for example MYEXT\Source ) and using a Command Prompt, launch the following command: “C:\Program Files (x86)\Microsoft Dynamics NAV\110\RoleTailored Client\txt2al.exe” –source=C:\MYEXT\Source –target=C:\MYEXT\Target –rename This command will convert your C/AL object to AL objects and after that in the MYEXT\Target folder you’ll have a series of .al files that you can open in your Visual Studio Code extension project. Remember, that these objects are just a starting point!! You have to fix some errors ( Txt2AL is not the perfect tool for this). You have to add some properties essentials for Dynamics 365 Business Central (like DataClassification on fields, UsageCategory and ApplicationArea on pages and many others) and after that, you have your existing code migrated “as-is” to AL. The next step you need to do is certainly refactor the code. Remember, that in the AL world you have to use events for interacting with standard code, so if your existing code has interactions with a standard object (often ISV solutions adds lines of code directly inside standard objects) you have to recreate the same lines of code by using an event subscriber to a Microsoft Integration event in the existing object. What to do if Microsoft has not the event that I need in a standard object? You should ask for it here  and it will be delivered in the next upgrade iteration of Dynamics 365 Business Central. The other problem you could have, when converting your C/AL code, is related to function visibility. If your extension targets only the on-premise world (you should add target = internal in app.json file): Adding target = internal in app.json file In this way, you’ve a complete visibility of all functions and objects that you have in a classic NAV environment (and yes, also to DotNet variables). If you omit this, your extensions targets (including the online world) you can see only those functions, which have the FunctionVisibility property setted as External : FunctionVisibility property in NAV The last important aspect for you to consider when developing an AL extension is extensibility . Standard ISV solutions, which are developed with C/AL, do not trigger integration events. This could not be a problem in C/AL, because you can directly customize the object itself, but what about AL? If you want your extension to be “extendible” and that other extensions could integrate with yours in a near future, you should always raise Integration events in the relevant parts of your business process. This is an important aspect that usually everyone forgets. Use events and trigger as much as possible where needed. This guarantees extensibility of your solution and integration. Are you ready to start your migration process to the new extension world? Need more information about AL World and assistance on moving your solution into extensions? Take the 8 hours Dynamics NAV Extensions Training Course from Simplanova academy. Have a lack of resources on your Dynamics NAV/365BC projects?  Simplanova is your partner for Dynamics NAV/365BC upgrades , delivering the high quality  Dynamics NAV/365BC   development services  or upgrading your add-on to extensions.  Get a FREE Quote today.  The post Transition from Dynamics NAV to Dynamics 365 Business Central: How to Start? appeared first on Simplanova .

Forum Post: Want to download workflow data in excel

$
0
0
Hi Expert, Please help, How to download approval workflow data in Excel. Field required to download Field Name Remarks Workflow Code Category Code Description Center code Dimension Amount Approver Type Work flow user group code User Name Sequence No.

Blog Post: How to Include Permission Set in Business Central Extension

$
0
0
So everybody aware that including permission set in app development is mandatory ,By using this permission one can use designated app. Today we will see how we can create permission set and include in your extension. Go to Role tailored client and ...read more

Forum Post: You do not have the following permissions on TableData NAV App Setting: Insert.

$
0
0
Hi I have an extension in Business Central. When I try to retrieve some records in one of my tables I get following error. I have uploadet the permissions for the Table NAV App Setting. But in the "Effective Permission" page I still see that the table has not any permissions. What can I do to give the needed permissions for this table?

Forum Post: RE: Purchase Order Reports for Good Received Note

$
0
0
Hi, First of all, do not invoice :-) Go into the Posted Purchase Receipt and open the "Functions"-Menu of the Lines and select "Undo Receipt". You can define the quantity you actually received in the column "Qty. to Receive" of the Warehouse Receipt or Purchase Order.

Forum Post: Foreign Currency for Employee Account Type NAV 2018

$
0
0
Good morning all, I am trying to post an amount in foreign currency to an Employee Account Type in NAV 2018 and I'm getting the following error: "The value of the Currency Code field must be empty. General journal lines in foreign currency are not supported for employee account type." Please let me know if there is any workaround for this to enable me post in foreign currency.

Forum Post: RE: Posted Purchase Order with wrong Exchange Rate

$
0
0
Thanks Robertas for your valuable response.

Forum Post: Notification Entries not appears [job customised workflow]

$
0
0
I create a customized workflow for the job with below reference link https://tinamenezes.wordpress.com/2017/11/25/procedure-to-create-a-customized-workflow-in-dynamics-nav-by-creating-new-workflow-events-part-1/ https://tinamenezes.wordpress.com/2017/11/25/procedure-to-create-a-customized-workflow-in-dynamics-nav-by-creating-new-workflow-events-part-2/comment-page-1/#comment-302 when I click the button "approve to job" it does not show the job entries in a "notification Entries" table. Kindly help me how to solve that issue /** this is the codeUnit Code **/ Documentation() OnRun() RunWorkflowOnSendJobTMforApprovalCode() : Code[128] EXIT(UPPERCASE('RunWorkflowOnSendJobTMforApproval')); [EventSubscriber] RunWorkflowOnSendJobTMforApproval(VAR Job : Record Job) WorkFlowManagement.HandleEvent(RunWorkflowOnSendJobTMforApprovalCode,Job); Job."Approval Status":=Job."Approval Status"::"Pending Approval"; Job.MODIFY(TRUE); [EventSubscriber] RunWorkflowOnApproveApprovalRequestforJobTM(VAR ApprovalEntry : Record "Approval Entry") JobTable.RESET; JobTable.SETRANGE("No.",ApprovalEntry."Document No."); IF JobTable.FINDFIRST THEN BEGIN JobTable."Approval Status":=JobTable."Approval Status"::Released; JobTable.MODIFY(TRUE); END; WorkFlowManagement.HandleEventOnKnownWorkflowInstance(RunWorkflowOnApproveApprovalRequestforJobTMCode,ApprovalEntry,ApprovalEntry."Workflow Step Instance ID"); LOCAL RunWorkflowOnApproveApprovalRequestforJobTMCode() : Code[128] EXIT(UPPERCASE('RunWorkflowOnApprovalRequestforJobTM')); LOCAL [EventSubscriber] AddWorkflowEventsToLibrary() WorkflowEventHandling.AddEventToLibrary(RunWorkflowOnSendJobTMforApprovalCode,DATABASE::Job,'Send Job for Approval -Test',0,FALSE); WorkflowEventHandling.AddEventToLibrary(RunWorkflowOnApproveApprovalRequestforJobTMCode,DATABASE::"Approval Entry",'Approve Approval Request for job -Test',0,FALSE); WorkflowEventHandling.AddEventToLibrary(RunWorkflowOnRejectApprovalRequestforJobTMCode,DATABASE::"Approval Entry",'Reject Approval Request for job -Test',0,FALSE); WorkflowEventHandling.AddEventToLibrary(RunWorkflowOnDelegateApprovalRequestForJobTMCode,DATABASE::"Approval Entry",'Delegate Approval Request for job -Test',0,FALSE); LOCAL [EventSubscriber] AddWorkflowTableRelationToLibrary() WorkflowSetup.InsertTableRelation(DATABASE::Job,0,DATABASE::"Approval Entry",22); [EventSubscriber] RunWorkflowOnRejectApprovalRequestforJobTM(VAR ApprovalEntry : Record "Approval Entry") WorkFlowManagement.HandleEventOnKnownWorkflowInstance(RunWorkflowOnRejectApprovalRequestforJobTMCode,ApprovalEntry,ApprovalEntry."Workflow Step Instance ID"); JobTable.RESET; JobTable.SETRANGE("No.",ApprovalEntry."Document No."); IF JobTable.FINDFIRST THEN BEGIN JobTable."Approval Status":= JobTable."Approval Status"::Rejected; JobTable.MODIFY(TRUE); END; RunWorkflowOnRejectApprovalRequestforJobTMCode() : Code[128] EXIT(UPPERCASE('RunWorkflowOnRejectApprovalRequestforJobTMCode')); [EventSubscriber] RunWorkflowOnDelegateApprovalRequestForJobTM(VAR ApprovalEntry : Record "Approval Entry") WorkFlowManagement.HandleEventOnKnownWorkflowInstance(RunWorkflowOnDelegateApprovalRequestForJobTMCode,ApprovalEntry,ApprovalEntry."Workflow Step Instance ID"); JobTable.RESET; JobTable.SETRANGE("No.",ApprovalEntry."Document No."); IF JobTable.FINDFIRST THEN BEGIN JobTable."Approval Status":=JobTable."Approval Status"::Delegated; JobTable.MODIFY(TRUE); END; /** Approval button code **/ Send approval Test - OnAction() IF WFEnable.CheckJobTMApprovalsWorkflowEnable(Rec) THEN WFEnable.OnSendJobTMforApproval(Rec);
Viewing all 64865 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>