---
id: object/page/152
type: object
title: Page 152 "Vendor Statistics"
summary: Page 152 "Vendor Statistics" in Base Application (Microsoft.Purchases.Vendor). 1 events. Present since at least BC23, still in BC30, changed in BC28.
tier: official
language: en
tags:
  - page
  - base application
versions:
  introduced: null
  last_changed: "28"
  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: c94c4f43a260f76ea9a70ea734346848a3a7d0f421a54e8709773ae687686d12
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Purchases/Vendor/VendorStatistics.Page.al
    title: src/Layers/W1/BaseApp/Purchases/Vendor/VendorStatistics.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/es
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 152
name: Vendor Statistics
namespace: Microsoft.Purchases.Vendor
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "28"
source_major: "29"
obsolete: null
countries:
  - es
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 7
  events: 1
  subscribers: 0
  controls: 70
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Page 152 "Vendor Statistics"

> Page 152 "Vendor Statistics" in Base Application (Microsoft.Purchases.Vendor). 1 events. Present since at least BC23, still in BC30, changed in BC28.

Base Application · Microsoft.Purchases.Vendor · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Purchases/Vendor/VendorStatistics.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Vendor Statistics |
| SourceTable | Vendor |
| PageType | Card |

## 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 | VendorSince | [First Transaction Date](../table/23.md#fields) | Specifies the date of the first transaction with the vendor. <small>from the table field</small> |
|  | Default Supplier for Items | `CalculateDefaultSupplierItemCount()` | Specifies the number of items for which the vendor is the default supplier. |
|  | Balance (LCY) | [Balance (LCY)](../table/23.md#fields) | Specifies the total value of your completed purchases from the vendor in the current fiscal year. |
| Purchase | Outstanding Orders (LCY) | [Outstanding Orders (LCY)](../table/23.md#fields) | Specifies the sum of outstanding orders (in LCY) to this vendor. |
|  | Amt. Rcd. Not Invd. (LCY) | [Amt. Rcd. Not Invoiced (LCY)](../table/23.md#fields) | Specifies the total invoice amount (in LCY) for the items you have received but not yet been invoiced for. |
|  | Outstanding Invoices (LCY) | [Outstanding Invoices (LCY)](../table/23.md#fields) | Specifies the sum of the vendor's outstanding purchase invoices in LCY. |
|  | Days Since Last Purchase | `CalcDaysSinceLastPurchase()` | Specifies the number of days since the last purchase was made from the vendor. |
| General | Total (LCY) | `Rec.GetTotalAmountLCY()` | Specifies the payment amount that you owe the vendor for completed purchases plus purchases that are still ongoing. |
|  | Balance Due (LCY) | `Rec.CalcOverDueBalance()` | Specifies the total amount (in LCY) that you owe the vendor for overdue invoices. |
|  | Invoiced Prepayment Amount (LCY) | `Rec.GetInvoicedPrepmtAmountLCY()` | Specifies your payments to the vendor based on invoiced prepayments. |
| This Fiscal Period | VendDateName[1] | `VendDateName[1]` | — |
|  | Purchase (LCY) | `VendPurchLCY[1]` | Specifies your total purchases. |
|  | Inv. Discount (LCY) | `VendInvDiscAmountLCY[1]` | specifies the sum of invoice discounts that the vendor has granted to you. |
|  | Inv. Amounts (LCY) | `InvAmountsLCY[1]` | Specifies the sum of amounts that have been invoiced to the vendor. |
|  | Reminder Amounts (LCY) | `VendReminderChargeAmtLCY[1]` | Specifies the sum of amounts the vendor has reminded you of. |
|  | Fin. Charges (LCY) | `VendFinChargeAmtLCY[1]` | Specifies the sum of amounts that the vendor has charged on finance charge memos. |
|  | Cr. Memo Amounts (LCY) | `VendCrMemoAmountsLCY[1]` | Specifies the sum of amounts that the vendor has refunded you. |
|  | Payments (LCY) | `VendPaymentsLCY[1]` | Specifies the sum of payments made to the vendor in the current fiscal year. |
|  | VendRefundsLCY[1] | `VendRefundsLCY[1]` | Specifies the sum of refunds received from the vendor. |
|  | Other Amounts (LCY) | `VendOtherAmountsLCY[1]` | Specifies the sum of other amounts for the vendor |
|  | Pmt. Discounts (LCY) | `VendPaymentDiscLCY[1]` | Specifies the sum of payment discounts the vendor has granted to you. |
|  | Pmt. Disc. Tol. (LCY) | `VendPaymentDiscTolLCY[1]` | Specifies the sum of payment discount tolerance from the vendor. |
|  | Pmt. Tolerances (LCY) | `VendPaymentTolLCY[1]` | Specifies the sum of payment tolerance from the vendor. |
|  | No. of Purchase Docs. | `NumberOfPurchaseDocs[1]` | Specifies the number of purchase documents for the vendor. |
|  | No. of Distinct Items Purchased | `NumberOfDistinctItemsPurchased[1]` | Specifies the number of distinct items purchased from the vendor. |
| This Fiscal Year | Text001 | `PlaceholderTxt` | — |
|  | Purchase (LCY) | `VendPurchLCY[2]` | Specifies your total purchases. |
|  | Inv. Discount (LCY) | `VendInvDiscAmountLCY[2]` | specifies the sum of invoice discounts that the vendor has granted to you. |
|  | Inv. Amounts (LCY) | `InvAmountsLCY[2]` | Specifies the sum of amounts that have been invoiced to the vendor. |
|  | Reminder Amounts (LCY) | `VendReminderChargeAmtLCY[2]` | Specifies the sum of amounts the vendor has reminded you of. |
|  | Fin. Charges (LCY) | `VendFinChargeAmtLCY[2]` | Specifies the sum of amounts that the vendor has charged on finance charge memos. |
|  | Cr. Memo Amounts (LCY) | `VendCrMemoAmountsLCY[2]` | Specifies the sum of amounts that the vendor has refunded you. |
|  | Payments (LCY) | `VendPaymentsLCY[2]` | Specifies the sum of payments made to the vendor in the current fiscal year. |
|  | Refunds (LCY) | `VendRefundsLCY[2]` | Specifies the sum of refunds received from the vendor. |
|  | Other Amounts (LCY) | `VendOtherAmountsLCY[2]` | Specifies the sum of other amounts for the vendor |
|  | Pmt. Discounts (LCY) | `VendPaymentDiscLCY[2]` | Specifies the sum of payment discounts the vendor has granted to you. |
|  | Pmt. Disc. Tol. (LCY) | `VendPaymentDiscTolLCY[2]` | Specifies the sum of payment discount tolerance from the vendor. |
|  | Pmt. Tolerances (LCY) | `VendPaymentTolLCY[2]` | Specifies the sum of payment tolerance from the vendor. |
|  | No. of Purchase Docs. | `NumberOfPurchaseDocs[2]` | Specifies the number of purchase documents for the vendor. |
|  | No. of Distinct Items Purchased | `NumberOfDistinctItemsPurchased[2]` | Specifies the number of distinct items purchased from the vendor. |
| Last Fiscal Year | Control81 | `PlaceholderTxt` | — |
|  | Purchase (LCY) | `VendPurchLCY[3]` | Specifies your total purchases. |
|  | Inv. Discount (LCY) | `VendInvDiscAmountLCY[3]` | specifies the sum of invoice discounts that the vendor has granted to you. |
|  | Inv. Amounts (LCY) | `InvAmountsLCY[3]` | Specifies the sum of amounts that have been invoiced to the vendor. |
|  | Reminder Amounts (LCY) | `VendReminderChargeAmtLCY[3]` | Specifies the sum of amounts the vendor has reminded you of. |
|  | Fin. Charges (LCY) | `VendFinChargeAmtLCY[3]` | Specifies the sum of amounts that the vendor has charged on finance charge memos. |
|  | Cr. Memo Amounts (LCY) | `VendCrMemoAmountsLCY[3]` | Specifies the sum of amounts that the vendor has refunded you. |
|  | Payments (LCY) | `VendPaymentsLCY[3]` | Specifies the sum of payments made to the vendor in the current fiscal year. |
|  | Refunds (LCY) | `VendRefundsLCY[3]` | Specifies the sum of refunds received from the vendor. |
|  | Other Amounts (LCY) | `VendOtherAmountsLCY[3]` | Specifies the sum of other amounts for the vendor |
|  | Pmt. Discounts (LCY) | `VendPaymentDiscLCY[3]` | Specifies the sum of payment discounts the vendor has granted to you. |
|  | Pmt. Disc. Tol. (LCY) | `VendPaymentDiscTolLCY[3]` | Specifies the sum of payment discount tolerance from the vendor. |
|  | VendPaymentTolLCY[3] | `VendPaymentTolLCY[3]` | Specifies the sum of payment tolerance from the vendor. |
|  | No. of Purchase Docs. | `NumberOfPurchaseDocs[3]` | Specifies the number of purchase documents for the vendor. |
|  | No. of Distinct Items Purchased | `NumberOfDistinctItemsPurchased[3]` | Specifies the number of distinct items purchased from the vendor. |
| Lifetime (since) | Control82 | [First Transaction Date](../table/23.md#fields) | Specifies the date of the first transaction with the vendor. <small>from the table field</small> |
|  | Purchase (LCY) | `VendPurchLCY[4]` | Specifies your total purchases. |
|  | Inv. Discount (LCY) | `VendInvDiscAmountLCY[4]` | specifies the sum of invoice discounts that the vendor has granted to you. |
|  | Inv. Amounts (LCY) | `InvAmountsLCY[4]` | Specifies the sum of amounts that have been invoiced to the vendor. |
|  | Reminder Amounts (LCY) | `VendReminderChargeAmtLCY[4]` | Specifies the sum of amounts the vendor has reminded you of. |
|  | VendFinChargeAmtLCY[4] | `VendFinChargeAmtLCY[4]` | Specifies the sum of amounts that the vendor has charged on finance charge memos. |
|  | Cr. Memo Amounts (LCY) | `VendCrMemoAmountsLCY[4]` | Specifies the sum of amounts that the vendor has refunded you. |
|  | Payments (LCY) | `VendPaymentsLCY[4]` | Specifies the sum of payments made to the vendor in the current fiscal year. |
|  | Refunds (LCY) | `VendRefundsLCY[4]` | Specifies the sum of refunds received from the vendor. |
|  | Other Amounts (LCY) | `VendOtherAmountsLCY[4]` | Specifies the sum of other amounts for the vendor |
|  | Pmt. Discounts (LCY) | `VendPaymentDiscLCY[4]` | Specifies the sum of payment discounts the vendor has granted to you. |
|  | Pmt. Disc. Tol. (LCY) | `VendPaymentDiscTolLCY[4]` | Specifies the sum of payment discount tolerance from the vendor. |
|  | Pmt. Tolerances (LCY) | `VendPaymentTolLCY[4]` | Specifies the sum of payment tolerance from the vendor. |
|  | No. of Purchase Docs. | `NumberOfPurchaseDocs[4]` | Specifies the number of purchase documents for the vendor. |
|  | No. of Distinct Items Purchased | `NumberOfDistinctItemsPurchased[4]` | Specifies the number of distinct items purchased from the vendor. |

## Events published

- `OnAfterSetDateFilter(var Vendor: Record Vendor)` (integration)

## Procedures

6 local procedures, no public ones.

## Triggers

OnAfterGetRecord

## Relations

- source table [Table 23 "Vendor"](../table/23.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 358 "DateFilter-Calc"](../codeunit/358.md) (2 calls: `OnAfterGetRecord → CreateAccountingPeriodFilter`, `OnAfterGetRecord → CreateFiscalYearFilter`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC28

## Countries that replace it

[ES](../../localizations/es.md)

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: "Vendor Statistics")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
