---
id: object/codeunit/9059
type: object
title: Codeunit 9059 "Acc. Payable Performance"
summary: Codeunit 9059 "Acc. Payable Performance" in Base Application (Microsoft.Finance.RoleCenters). 13 public procedures, 1 events, 1 event subscribers. Introduced in BC27, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: "27"
  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: 86c872f1efabb5ad39a02e5836e9f3531d13ff600b8099ac10182afc461131f9
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/RoleCenters/AccPayablePerformance.Codeunit.al
    title: src/Layers/W1/BaseApp/Finance/RoleCenters/AccPayablePerformance.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 9059
name: Acc. Payable Performance
namespace: Microsoft.Finance.RoleCenters
app: Base Application
extends: null
first_version: "27"
last_version: "30"
present_in:
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 19
  events: 1
  subscribers: 1
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 1
  calls: 4
  called_by: 3
  implements: 0
---

# Codeunit 9059 "Acc. Payable Performance"

> Codeunit 9059 "Acc. Payable Performance" in Base Application (Microsoft.Finance.RoleCenters). 13 public procedures, 1 events, 1 event subscribers. Introduced in BC27, still in BC30.

Base Application · Microsoft.Finance.RoleCenters · BC27-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/RoleCenters/AccPayablePerformance.Codeunit.al) · facts from BC29

## Events published

- `OnUpdateChartSafe(var PayablePerformanceChart: Record "Acc. Payable Performance Chart"; var BusinessChartBuffer: Record "Business Chart Buffer"; Period: Option)` (integration)
  - subscribers: [Codeunit 9059 "Acc. Payable Performance"](../codeunit/9059.md) HandleUpdateChartSafe

## Event subscriptions

- HandleUpdateChartSafe subscribes to Codeunit "Acc. Payable Performance" OnUpdateChartSafe

## Procedures

- `AddinReady(var PayablePerformanceChart: Record "Acc. Payable Performance Chart"; var BusinessChartBuffer: Record "Business Chart Buffer")`
- `ChartDescription(PayablePerformanceChart: Record "Acc. Payable Performance Chart"): Text` (internal)
- `DataPointClicked(var BusinessChartBuffer: Record "Business Chart Buffer"; var PayablePerformanceChart: Record "Acc. Payable Performance Chart")` (internal)
- `PopulateChartDefinitionTable()` (internal)
- `SelectChart(var BusinessChartBuffer: Record "Business Chart Buffer"; var PayablePerformanceChart: Record "Acc. Payable Performance Chart")` (internal)
- `SetDefaultPeriodLength(PayablePerformanceChart: Record "Acc. Payable Performance Chart"; var BusChartBuf: Record "Business Chart Buffer")` (internal)
- `SetPeriodLength(PayablePerformanceChart: Record "Acc. Payable Performance Chart"; var BusChartBuf: Record "Business Chart Buffer"; PeriodLength: Option; IsInitState: Boolean)` (internal)
- `UpdateChartSafe(var PayablePerformanceChart: Record "Acc. Payable Performance Chart"; var BusinessChartBuffer: Record "Business Chart Buffer"; Period: Option; var ErrorMessage: Text): Boolean` (internal)
- `UpdateChart(var PayablePerformanceChart: Record "Acc. Payable Performance Chart"; var BusinessChartBuffer: Record "Business Chart Buffer"; Period: Option)` (internal)
- `UpdateStatusText(var PayablePerformanceChart: Record "Acc. Payable Performance Chart"; var BusinessChartBuffer: Record "Business Chart Buffer"; var StatusText: Text)` (internal)
- `EnableChart(var PayablePerformanceChart: Record "Acc. Payable Performance Chart")` (internal)
- `TopVendorListUpdatedRecently(var LastVendorLedgerEntryNo: Integer): Boolean` (internal)
- `ScheduleTopVendorListRefreshTask()` (internal)

Plus 4 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 764 "Aged Acc. Payable"](../codeunit/764.md) (4 calls: `ChartDescription → Description`, `DataPointClicked → DrillDownByGroup`, `UpdateChart → SaveSettings`, …)
- [Codeunit 762 "Acc. Sched. Chart Management"](../codeunit/762.md) (3 calls: `DataPointClicked → DrillDown`, `UpdateChart → GetSetupRecordset`, `UpdateChart → UpdateData`)
- [Codeunit 9091 "Top Five Vendors Chart"](../codeunit/9091.md) (2 calls: `DataPointClicked → DrillDown`, `UpdateChart → UpdateChart`)
- [Codeunit 9095 "Purch. by Vend.Grp. Chart Mgt."](../codeunit/9095.md) (2 calls: `DataPointClicked → DrillDown`, `UpdateChart → UpdateChart`)

## Called by

- [Page 9059 "Acc. Payable Performance"](../page/9059.md) (6 calls: `InitializeSelectedChart → SetDefaultPeriodLength`, `InitializeSelectedChart → UpdateChartSafe`, `InitializeSelectedChart → UpdateStatusText`, …)
- [Codeunit 9089 "Top Vendors By Purchases Job"](../codeunit/9089.md) (1 call: `UpdateVendorTop10List → TopVendorListUpdatedRecently`)
- [Codeunit 9091 "Top Five Vendors Chart"](../codeunit/9091.md) (1 call: `CalcTopPurchasesVendors → ScheduleTopVendorListRefreshTask`)

## Across versions

- Present in: BC27-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: "codeunit", object_name: "Acc. Payable Performance")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
