---
id: change/bcapps/11667
type: change
title: "#11667 Fix quantity fields on Sales Return Order Archive"
summary: Sales Return Order Archive pages now display return-receipt quantities instead of shipment quantities. Return quantity fields are added and bound to archive records, while shipment fields are hidden by default but remain for extensibility.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - page sales return order arc subform
system: sales
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:03:39.052Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 7c5dfb36e6d606fb64e7a458d7fa7537a6c75299
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11667
    title: "microsoft/BCApps#11667: Fix quantity fields on Sales Return Order Archive"
    date: "2026-09-28"
    commit: 7c5dfb36e6d606fb64e7a458d7fa7537a6c75299
    t: null
    quote: The Sales Return Order Archive lines show ordinary shipment quantities instead of return-receipt quantities.
links:
  learn: []
  objects:
    - object/page/6628
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11667
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11667
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-28T10:16:24Z"
author: attilatoury
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 3
  additions: 138
  deletions: 0
  al: 1
apps:
  - Base Application
objects_touched:
  - key: page/6628
    page: page/6628
    type: page
    id: 6628
    name: Sales Return Order Arc Subform
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 650778
systems:
  - sales
quote: The Sales Return Order Archive lines show ordinary shipment quantities instead of return-receipt quantities.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #11667 Fix quantity fields on Sales Return Order Archive

> Sales Return Order Archive pages now display return-receipt quantities instead of shipment quantities. Return quantity fields are added and bound to archive records, while shipment fields are hidden by default but remain for extensibility.

[Pull request](https://github.com/microsoft/BCApps/pull/11667) · merged into `main` (BC30) on 2026-09-28 by attilatoury · 3 files (+138 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Added Return Qty. to Receive and Return Qty. Received to page 6628, bound to the Sales Line Archive record
- Qty. to Ship and Quantity Shipped are hidden by default but kept for page-extension compatibility and personalization
- Added test SalesReturnOrderArchiveShowsStoredReturnQuantities to SCM Archive Orders in W1 and ES
- No changes to table schema, posting, archive timing or invoiced quantities
- Behaviour changes for users or extensions.

## AL objects touched

- [Page 6628 "Sales Return Order Arc Subform"](../../objects/page/6628.md), Base Application: modified

## Context

- Work items: AB#650778
- Labels: Team: SCM
- Systems: sales
- From the description: "The Sales Return Order Archive lines show ordinary shipment quantities instead of return-receipt quantities."

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).
