---
id: object/page/1950
type: object
title: Page 1950 "LP Machine Learning Setup"
summary: Page 1950 "LP Machine Learning Setup" in LatePaymentPredictor (Microsoft.Finance.Latepayment). Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - latepaymentpredictor
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 4d1bb7cc2069f00187d48627b68b8a48986ac89b5337486fb07de5f59a026313
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/LatePaymentPredictor/app/src/LPMachineLearningSetup.Page.al
    title: src/Apps/W1/LatePaymentPredictor/app/src/LPMachineLearningSetup.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/ui-extensions-late-payment-prediction
    title: Predict late payments for sales documents
    date: null
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/ui-extensions-late-payment-prediction
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/finance/manage-payables
    - topic/business-central/business-functionality/finance/manage-receivables
    - topic/business-central/development-and-administration/customize-business-central/customize-with-extensions
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 1950
name: LP Machine Learning Setup
caption: Late Payment Prediction Setup
namespace: Microsoft.Finance.Latepayment
app: LatePaymentPredictor
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids:
  - docs/learn-smb-docs/business-central/ui-extensions-late-payment-prediction.md
counts:
  fields: 0
  procedures: 2
  events: 0
  subscribers: 0
  controls: 10
  actions: 5
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 1
  calls: 2
  called_by: 1
  implements: 0
---

# Page 1950 "LP Machine Learning Setup"

> Page 1950 "LP Machine Learning Setup" in LatePaymentPredictor (Microsoft.Finance.Latepayment). Introduced in BC29, still in BC30.

LatePaymentPredictor · Microsoft.Finance.Latepayment · captioned "Late Payment Prediction Setup" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/LatePaymentPredictor/app/src/LPMachineLearningSetup.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Late Payment Prediction Setup |
| SourceTable | LP Machine Learning Setup |
| PageType | Card |
| UsageCategory | Administration |
| ApplicationArea | Basic, Suite |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| General | Enable Predictions | [Make Predictions](../table/1950.md#fields) | Specifies whether to use the Late Payment Prediction extension to predict if an invoice will be paid on time. |
|  | SelectedModel | [Selected Model](../table/1950.md#fields) | Specifies the predictive model to use. This can be the standard model that we provide, or your own custom model if you have created one by using the Create My Model action. |
|  | ThresholdModelQuality | [Model Quality Threshold](../table/1950.md#fields) | Specifies the minimum model quality you require. The value is a percentage between zero and one, and indicates how accurate predictions will be. Typically, this field is useful when you create a custom model. If the quality of a model is below this threshold, it will not be used. |
|  | Model Quality | `ModelQualityVal` | Specifies the quality value for the model you are using. For custom models, the predictive experiment determines this value when training the model. The value is a percentage between zero and one, and indicates how accurate predictions will be. |
| Usage | Remaining Compute Time | `RemainingTime` | Specifies the number of seconds of compute time that you have not yet used. |
|  | Original Compute Time | `AzureAIUsage.GetResourceLimit(AzureAIService)` | Specifies the number of seconds of compute time that was originally available for the standard model, or the model for your custom experiment. |
|  | Date of Last Compute | `AzureAIUsage.GetLastTimeUpdated(AzureAIService)` | Specifies the date on which you last used Azure compute time. |
|  | Use My Azure Subscription | [Use My Model Credentials](../table/1950.md#fields) | Specifies that you use a model that you created, rather than the standard model that we provide. To use your model, you must provide your API URI and API Key. You must also choose My Model in the Selected Model field in the Late Payment Prediction Setup window. |
| Use My Azure Subscription | API URI | `ApiURIText` | Specifies that you use your own Azure Machine Learning subscription, rather than the subscription you get through Business Central. For example, this is useful when you need more computing time. To use your subscription, provide your API URI and API key. You must also choose My Model in the Selected... |
|  | API Key | `ApiKeyText` | Specifies the API key to connect to the Azure Machine Learning service |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Processing | Create My Model | Send your data to our predictive experiment and we will prepare a predictive model for you. To use your predictive model, choose My Model in the Selected Model field. |  |
|  | Evaluate Selected Model | Send your data to our predictive experiment and we will test the selected predictive model for you. |  |
|  | Schedule Payment Prediction | Define when payment predictions are updated by setting up the related job queue entry in the Job Queue Entry Card window. |  |
|  | Update Payment Predictions | Update the late payment predictions for all invoices. Predictions are available only if the Late Payment Prediction extension is enabled. |  |
|  | Visualize Model | Visualize the model and display it. |  |

## Trigger event subscribers

- OnOpenPageEvent: [Codeunit 1956 "LPP Scheduler"](../codeunit/1956.md) OnOpenLPMachineLearningSetup

## Procedures

2 local procedures, no public ones.

## Triggers

OnOpenPage, OnQueryClosePage, OnAfterGetRecord

## Relations

- source table [Table 1950 "LP Machine Learning Setup"](../table/1950.md)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 2006 "Azure AI Usage"](../codeunit/2006.md) (2 calls: `OnAfterGetRecord → GetResourceLimit`, `OnAfterGetRecord → GetTotalProcessingTime`)
- [Codeunit 1956 "LPP Scheduler"](../codeunit/1956.md) (1 call: `OnOpenPage → JobQueueEntryCreationInProcess`)

## Called by

- [Codeunit 1950 "LP Prediction Mgt."](../codeunit/1950.md) (1 call: `IsEnabled → (object)`)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

## Documented on Microsoft Learn

- [Predict late payments for sales documents](https://learn.microsoft.com/dynamics365/business-central/ui-extensions-late-payment-prediction)

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "page", object_name: "LP Machine Learning Setup")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
