---
id: object/table/1951
type: object
title: Table 1951 "LP ML Input Data"
summary: Table 1951 "LP ML Input Data" in LatePaymentPredictor (Microsoft.Finance.Latepayment). 27 fields, 3 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - 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: 84560e84a0bd644753d15c0a44327438405f6f728ad3cdbdc6051378d7e89501
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/LatePaymentPredictor/app/src/LPMLInputData.Table.al
    title: src/Apps/W1/LatePaymentPredictor/app/src/LPMLInputData.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 1951
name: LP ML Input Data
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: []
counts:
  fields: 27
  procedures: 4
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 0
  implements: 0
---

# Table 1951 "LP ML Input Data"

> Table 1951 "LP ML Input Data" in LatePaymentPredictor (Microsoft.Finance.Latepayment). 27 fields, 3 public procedures. Introduced in BC29, still in BC30.

LatePaymentPredictor · Microsoft.Finance.Latepayment · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/LatePaymentPredictor/app/src/LPMLInputData.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Number | Code[20] | — |  |
| 2 | Payment Terms Days | Integer | — |  |
| 3 | Corrected | Boolean | — |  |
| 4 | No. Paid Invoices | Integer | — |  |
| 5 | No. Paid Late Invoices | Integer | — |  |
| 6 | Ratio Paid Late/Paid Invoices | Decimal | — |  |
| 7 | Total Paid Invoices Amount | Decimal | — |  |
| 8 | Total Paid Late Inv. Amount | Decimal | — |  |
| 9 | Ratio PaidLateAmnt/PaidAmnt | Decimal | — |  |
| 10 | Average Days Late | Decimal | — |  |
| 11 | No. Outstanding Inv. | Integer | — |  |
| 12 | No. Outstanding Late Inv. | Integer | — |  |
| 13 | Ratio NoOutstngLate/NoOutstng | Decimal | — |  |
| 14 | Total Outstng Invoices Amt. | Decimal | — |  |
| 15 | Total Outstng Late Inv. Amt. | Decimal | — |  |
| 16 | Ratio AmtLate/Amt Outstng Inv | Decimal | — |  |
| 17 | Average Outstanding Days Late | Decimal | — |  |
| 18 | Bill-to Customer No. | Code[20] | — |  |
| 19 | Base Amount | Decimal | — |  |
| 20 | Posting Date | Date | — |  |
| 21 | Due Date | Date | — |  |
| 22 | Closed Date | Date | — |  |
| 23 | Closed | Boolean | — |  |
| 24 | Paid Late Days | Integer | — |  |
| 25 | UsedForPredict And ToBeDeleted | Boolean | — |  |
| 100 | Is Late | Boolean | — |  |
| 101 | Confidence | Decimal | — |  |

## Keys

- PK: Number (clustered)
- CalculateKey: Bill-to Customer No., Closed, Closed Date, Due Date, Posting Date, Is Late, Base Amount, Paid Late Days
- PostingDateKey: Posting Date
- UsedAndToBeDeletedKey: UsedForPredict And ToBeDeleted

## Procedures

- `InsertFromSalesHeader(SalesHeader: Record "Sales Header")`
- `InsertFromSalesInvoice(LppSalesInvoiceHeaderInput: Query "LPP Sales Invoice Header Input")`
- `AddParametersToMgt(var MLPredictionManagement: Codeunit "ML Prediction Management")`

Plus 1 local procedures.

## 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 1954 "LP Feature Table Helper"](../codeunit/1954.md) (11 calls: `CalculateFeatures → CalculateAverageOutstandingDaysLate`, `CalculateFeatures → CalculateAveragePaidLateInvoicesDays`, `CalculateFeatures → CalculateNumberOutstandingInvoices`, …)
- [Codeunit 2003 "ML Prediction Management"](../codeunit/2003.md) (4 calls: `AddParametersToMgt → AddFeature`, `AddParametersToMgt → SetConfidence`, `AddParametersToMgt → SetLabel`, …)

## Across versions

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

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: "table", object_name: "LP ML Input Data")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
