---
id: change/bcapps/13607
type: change
title: '#13607  [Main][ALL-E] Report 713 "Inventory Custmer Sales" – Excel (data only) export generates one row per Item Ledger Entry with NULL values instead of one aggregated row per Item/Customer combinationInitial commit'
summary: Report 713 now correctly exports aggregated rows per Item/Customer combination in Excel (data only) format instead of generating intermediate rows with NULL customer values.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - report inventory - customer sales
system: inventory
review:
  state: reviewed
  by: opus
  at: "2026-11-10T00:55:21.460Z"
  flags: []
generated:
  at: "2026-11-29T00:16:19.301Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 0307eb401b0e49b83779b7f70bf012825c75ab51
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/13607
    title: 'microsoft/BCApps#13607:  [Main][ALL-E] Report 713 "Inventory Custmer Sales" – Excel (data only) export generates one row per Item Ledger Entry with NULL values instead of one aggregated row per Item/Customer combinationInitial commit'
    date: "2026-11-09"
    commit: 0307eb401b0e49b83779b7f70bf012825c75ab51
    t: null
    quote: Excel (data only) export generates one row per Item Ledger Entry with NULL values instead of one aggregated row per Item/Customer combination
links:
  learn: []
  objects:
    - object/report/713
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/reports/report-5808
      title: Item Age Composition by Quantity and Value Excel (report)
      label: possibly related
      why: Documents inventory reports aggregating data by item and customer combinations.
      by: model
number: 13607
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/13607
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-09T10:03:09Z"
author: sanjmaurya
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 68
  deletions: 0
  al: 1
apps:
  - Base Application
objects_touched:
  - key: report/713
    page: report/713
    type: report
    id: 713
    name: Inventory - Customer Sales
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 657834
systems:
  - inventory
quote: Excel (data only) export generates one row per Item Ledger Entry with NULL values instead of one aggregated row per Item/Customer combination
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #13607  [Main][ALL-E] Report 713 "Inventory Custmer Sales" – Excel (data only) export generates one row per Item Ledger Entry with NULL values instead of one aggregated row per Item/Customer combinationInitial commit

> Report 713 now correctly exports aggregated rows per Item/Customer combination in Excel (data only) format instead of generating intermediate rows with NULL customer values.

[Pull request](https://github.com/microsoft/BCApps/pull/13607) · merged into `main` (BC30) on 2026-11-09 by sanjmaurya · 2 files (+68 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- The report was emitting dataset rows even when the temporary aggregate buffer was empty
- Null customer values appeared in intermediate rows during Excel export
- Solution adds CurrReport.Skip() to suppress intermediate rows while preserving aggregates and totals
- Word layout and existing subtotals/grand totals remain unaffected
- Test coverage added for the fix
- Behaviour changes for users or extensions.

## AL objects touched

- [Report 713 "Inventory - Customer Sales"](../../objects/report/713.md), Base Application: modified

## Context

- Work items: AB#657834
- Labels: Team: SCM
- Systems: inventory
- From the description: "Excel (data only) export generates one row per Item Ledger Entry with NULL values instead of one aggregated row per Item/Customer combination"

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Item Age Composition by Quantity and Value Excel (report)](https://learn.microsoft.com/dynamics365/business-central/reports/report-5808) — possibly related: Documents inventory reports aggregating data by item and customer combinations. (model-linked)

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
