Quantcast
Viewing all 64865 articles
Browse latest View live

Forum Post: RE: SQL DB auto backup

You can create SQL job for auto backup for specific interval www.c-sharpcorner.com/.../create-and-schedule-a-job-in-sql-server-2008

Forum Post: RE: When I press Post button in NAV where it will go and where it will get connect into the system .

Enable Code Coverage and you can see how the program executes.

Forum Post: Fix Filter addition in report

Hello Experts, I have make a "Aged Accounts Payable-NEW" report from Base report(322). In my report I want to add the fixed filter after 45 days qty and its value and before 45 days qty and its value. Where I can set it permanently. Please suggest me to implement it.

Forum Post: RE: Fix Filter addition in report

in Report Design mode , go to View --> Request Page --> F9 and add the code to set the filter inside "OnOpenPage" trigger.

Forum Post: How to use Setfilter to filter Document on first 3 characters

Hi In a report How to use Setfilter to filter Document on first 3 characters . I have Document No's like 'TSE/1819/001 , TRE/1819/001. I want Document's starting with TSE should not be displayed. Thanks

Forum Post: RE: How to post cash receipt journal with negative and positive amount

Hi! I solved the issue. I realised that this was an Swedish customization from an addon (Swebase) that solves this problem. Thank you anyway!

Forum Post: Notifications for cykle inventory NAV 2016

Hi! Is it possible to set up notifications for Phys. inventory counting periods? I want to be reminded that it is time for inventory counting for xxx items that I have set up to be counted on a specific period. Best regards Lauren

Forum Post: Column Visibility Issu

Hello Good Day.. I have an issue in hiding columns in report.. In the print preview it has no issue but when I click Print Layout the display changes.. This is the Print preview https://ibb.co/m6T1XHq while this is the what happened after I clicked Print Layout https://ibb.co/hFVx5XG All I did in the report designer is hide some columns.. This is the Screen shot of the part of the table in the report designer https://ibb.co/5rcr761 .. I hide the all the "Current Cost" columns using the column visibility.

Blog Post: How to embed AI into your Business Central Extensions

Empowering everyone to make their BC extensions smarter Last 2,5 months were very busy for me. I travelled around the world talking about Artificial Intelligence, in particular about AI in Business Central. Here is my world-tour-map :) I did approx. 28K miles (45K km). The equatorial circumference of Earth is about 25K miles (40K km), and distance to the moon is 240K miles (384K km). Powered by http://www.gcmap.com So I had sessions at events: Dynamics Dutch community , Directions ASIA , Directions NA , Days Of Knowledge . I guess the only one who did the same was AJ :) And you know what, I was surprised. I thought that the level of knowledge in our community about AI should be at least 101. But it’s not. It’s near to zero. Shocked? I guess not. Our community is very strong in NAV, but not very flexible in everything around. Even in Business Central related area - I still see many, many, maaaany developers who didn't try Extensions at all, not mentioning AI. Anyway. I see my goal in empowering everyone to make their BC extensions smarter. And no one will stop me. ML Prediction API in Business Central One of the latest and the most advanced ML features, available in the Business Central is the opportunity to train custom machine learning model directly from AL. If you are building an industry solution, you can add train-ml-model function directly to your Business Central App. The API is available in the Codeunit 2003 “ML Prediction Management”. Let’s look at how it works. Predict employee leave When talking about ML, it’s always important to show usage on real examples. Let’s try to predict employee leave directly from Business Central. That could be a good addition to the HR module. Data Data is the engine of Machine Learning. To predict the future, we need to know the past. Here we have features which influence on prediction – will employee leave or not? Publish a general prediction model as a Web Service from a public template Before the training process, you need to publish prediction ML Web service into your Azure Subscription. Go here Click Open in Azure Machine Learning Studio. Run it, and then deploy it as a web service. In the web service dashboard, copy the API key. This is a publicly available model prepared by the Microsoft ERP team and designed especially for ML Prediction Management usage. Train ML model from AL One of the coolest features in ML Prediction API is the opportunity to train a machine learning model directly from AL . Here how it works. In the VSCode project create a codeunit " Train EmployeeLeave ML" with function Train(). And Variables ML Prediction Management – is the main codeunit, which has functions to train, save and use the ML model MyModel – trained model in coded text format MyModelQuality – the quality of the trained model Setup – table, where the trained model is stored EmployeeLeaveEntry – historical data, used to train an ML model The workflow of Train function is the next Specify the connection to your published general predictive ML Web Service Prepare historical data for the training process. On this step, you can filter data, add new columns, convert datatypes etc. Specify features . Features are the fields, that influence on prediction. Specify label . The label is the field, which you are going to predict. Train model . The goal is to create a so-called learning function, which will take features as an input and will produce prediction in the output. This learning function is the core of machine learning. So, how do you create it? ML Prediction API sends a request to the web service with the historical data, prepared for training, where it applies a statistical algorithm to the data. As a result, you will get trained model in Base64 text format and model quality. Save your trained model locally. It will be used later, in the prediction process itself. Check the model quality . Model quality shows you how good your model in predictions. For example, 80% means that in 80% of cases predictions are correct. The more model quality you have, the better will be predictions. But don’t expect 100% :) And if we will train a model using employee-leave-historical-data, we will have the model quality of 96%. Predict, using the trained model Once you have a trained model, you can apply it to the new data and predict the future. Let’s predict if an employee will leave the company in the nearest future, depending on his current state: average work hours, number of projects, salary, satisfaction level, position and other criteria’s. Create separate Codeunit " Predict Employee Leave ML" with function Predict(). And Variables EmployeeExtendedData - is the temporary table, where will populate current employee features and also leave predictions, together with confidences. The workflow of Predict function is the next Check that you have trained model in place Specify the connection to your published general predictive ML Web Service Prepare input parameters . Generate a temporary table with data (features), which will be used to get leave predictions . The structure of that table should be the same, as you used in the training process. Otherwise, prediction Web Service will not work properly. You can have one or more rows in that table. Predictions will be calculated for each row. Specify the features from the passed table. List them in the same order as you listed, when you trained the model. Otherwise, prediction Web Service will not work properly. Specify a label from the passed table. Use the same field, as you used when you trained model. You can mention here only one field. Predict values and pass there a trained ML model.ML Prediction API could make predictions using classification or regression algorithms. You don’t control that. If the label field has a type of integer or decimal, then regression-tree algorithm “annova” will be applied. Otherwise, it will use a classification algorithm. For classification algorithms, you can also get confidence % of the prediction. Save a forecast result And if we will Predict Employee Leave, we will get predictions! In the list view, we can also see confidence %. Get “Why-Insights” When I proudly :) showed this to my wife, who is HR, the first question I’ve got was: “Brilliant! But why will Mary leave?” – fair enough. Understanding why AI did certain prediction becoming more and more important in our society. This is not only about the trust in AI models, but also about getting insights. ML Prediction API has a cool method PlotModel which answers on why question with 1 line of code! You just need to pass the ML model in Base64 format, features and label and you will get a .pdf file with a decision tree. PlotModel method will return you this pdf file in Base64 format. You can download it as a file using DownloadPlot method or use embedded pdf in Business Center directly. I used AJ blog for that. Conclusion ML Prediction API is a very good starting point to your AI journey. Define Question – Get Data – Train – Predict – Get Insights – Done . And to finalize this blog I would like to quote Vincent from the Days Of Knowledge Keynote: “AI is not sex, and you are not a teenager. Don’t just talk of it, try it!”. Code is available on my GitHub https://github.com/dkatson/BC-MLPredictionAPI-Predict-Employee-Leave

Forum Post: RE: Notifications for cykle inventory NAV 2016

Lauren Bear in mind the design of NAV in terms of Physical Inventory Counting Periods. NAV believes that your warehouse is conducting cycle counts everyday, and the functionality will provide a listing of items that need that meet today's criteria. That being said, have you looked at the "Workflow" functionality found within NAV 2016? Before you entertain thoughts of customization, look at this link to see if it helps: community.dynamics.com/.../workflows-in-microsoft-dynamics-nav-2016 Good Luck!

Forum Post: RE: Sales Order Prevent From Releasing When Inventory Doesn't Exist

No such functionality in base. Customisation inevitable.

Forum Post: RE: "You are not allowed to select this nature of deduction"

Hi Jeevan, Hope you have found the resolution to you query by now. Let us know what was the actual issue.

Forum Post: RE: bank rec in NAV

As mentioned by Mr. Alfredo, Bank Reco. is company specific. Also, Bank Account Ledger Entry or Cheque Ledger Entry is pre-requisite for the same. Without that what you would reconcile.

Forum Post: RE: FA purchase with trade-in of asset

Hi Inez, Follow the below link for help: docs.microsoft.com/.../fa-how-acquire Let me know if you find it helpful.

Forum Post: Does '\' (new line) able to work for NAV 2017?

Hi everyone, I have a question which is does '\' (new line) able to work for NAV 2017? Because I have try to put \ in the code, but the information after Co.No. does not shown in new line. My code is as below: ShowCompInfo := STRSUBSTNO(' Co.No.( %1 )\ %2 %3, %4%5%6%7%8, %9',CompanyInfo."Registration No.", CompanyAddr[2],CompanyAddr[3], CompanyAddr[4],CompanyAddr[5],CompanyAddr[6],CompanyAddr[7],CompanyAddr[8],CountryRec.Name); And my expected outcome is as picture below: So may I know what is the problem? and any suggestion on how to solve it. Many Thanks here.

Forum Post: RE: NAV2018 Extensions : No Server has been chosen

Had some time to check this out ... this solved it! thanks!

Forum Post: Duplicate record check

Hi In a report i have Item ledger Entry as Dataitem. I want if same Document No is read then that record should be skipped. Data should be stored in Temporary table and checked if Document No exists then record from Item Ledger Entry should get skipped. Thanks

Blog Post: Business Central: How to upload and download File Attachments in Extensions

Find out an easy way to handle File Attachments in Extensions for Business Central here (with code). The post Business Central: How to upload and download File Attachments in Extensions appeared first on Hannes Holst .

Forum Post: RE: How to use Setfilter to filter Document on first 3 characters

You can do SETFILTER using * in the parameter.

Forum Post: RE: When I press Post button in NAV where it will go and where it will get connect into the system .

It depends on what transactions are you trying to post. If you filter the Codeunit with the word 'Post', you should be able to see all the different posting codeunits.
Viewing all 64865 articles
Browse latest View live


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