Open the Calculate Rest. Forecast ML codeunit and find the Predict() function. Let's see how it works:
- Check that you have the trained model in place:
- Specify the connection to your published predictive ML web service:
- Generate a temporary table with data (features), which will be used to get orders (predictions). The structure of this table should be the same as the table you used in the training process. Otherwise, the Prediction web service will not work properly.
- Then, pass this table to ...