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

# Page 6638 "Get Return Receipt Lines"

> Page 6638 "Get Return Receipt Lines" in Base Application (Microsoft.Sales.History). 1 public procedures, 1 events. Present since at least BC23, still in BC30.

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

## Properties

| Property | Value |
|---|---|
| Caption | Get Return Receipt Lines |
| SourceTable | Return Receipt Line |
| PageType | List |

## 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 |
|---|---|---|---|
| Control1 | Document No. | [Document No.](../table/6661.md#fields) | Specifies the number of the related document. <small>from the table field</small> |
|  | Bill-to Customer No. | [Bill-to Customer No.](../table/6661.md#fields) | Specifies the number of the customer that you send or sent the invoice or credit memo to. <small>from the table field</small> |
|  | Sell-to Customer No. | [Sell-to Customer No.](../table/6661.md#fields) | Specifies the number of the customer. <small>from the table field</small> |
|  | Type | [Type](../table/6661.md#fields) | Specifies the line type. <small>from the table field</small> |
|  | No. | [No.](../table/6661.md#fields) | Specifies the number of the involved entry or record, according to the specified number series. <small>from the table field</small> |
|  | Variant Code | [Variant Code](../table/6661.md#fields) | Specifies the variant of the item on the line. <small>from the table field</small> |
|  | Description | [Description](../table/6661.md#fields) | Specifies a description of posted sales return receipts. |
|  | Description 2 | [Description 2](../table/6661.md#fields) | Specifies information in addition to the description. <small>from the table field</small> |
|  | Return Reason Code | [Return Reason Code](../table/6661.md#fields) | Specifies the code explaining why the item was returned. <small>from the table field</small> |
|  | Currency Code | [Currency Code](../table/6661.md#fields) | Specifies the currency that is used on the entry. <small>from the table field</small> |
|  | Shortcut Dimension 1 Code | [Shortcut Dimension 1 Code](../table/6661.md#fields) | Specifies the code for Shortcut Dimension 1, which is one of two global dimension codes that you set up in the General Ledger Setup window. <small>from the table field</small> |
|  | Shortcut Dimension 2 Code | [Shortcut Dimension 2 Code](../table/6661.md#fields) | Specifies the code for Shortcut Dimension 2, which is one of two global dimension codes that you set up in the General Ledger Setup window. <small>from the table field</small> |
|  | Location Code | [Location Code](../table/6661.md#fields) | Specifies a code for the location where you want the items to be placed when they are received. <small>from the table field</small> |
|  | Bin Code | [Bin Code](../table/6661.md#fields) | Specifies the bin where the items are picked or put away. <small>from the table field</small> |
|  | Unit of Measure Code | [Unit of Measure Code](../table/6661.md#fields) | Specifies how each unit of the item or resource is measured, such as in pieces or hours. By default, the value in the Base Unit of Measure field on the item or resource card is inserted. <small>from the table field</small> |
|  | Quantity | [Quantity](../table/6661.md#fields) | Specifies the quantity of the item on the line. |
|  | Unit of Measure | [Unit of Measure](../table/6661.md#fields) | Specifies the name of the item or resource's unit of measure, such as piece or hour. <small>from the table field</small> |
|  | Appl.-to Item Entry | [Appl.-to Item Entry](../table/6661.md#fields) | Specifies the number of the item ledger entry that the document or journal line is applied to. <small>from the table field</small> |
|  | Job No. | [Job No.](../table/6661.md#fields) | Specifies the number of the related project. <small>from the table field</small> |
|  | Shipment Date | [Shipment Date](../table/6661.md#fields) | Specifies when items on the document are shipped or were shipped. A shipment date is usually calculated from a requested delivery date plus lead time. <small>from the table field</small> |
|  | Quantity Invoiced | [Quantity Invoiced](../table/6661.md#fields) | Specifies how many units of the item on the line have been posted as invoiced. <small>from the table field</small> |
|  | Return Qty. Rcd. Not Invd. | [Return Qty. Rcd. Not Invd.](../table/6661.md#fields) | Specifies the quantity from the line that has been posted as received but that has not yet been posted as invoiced. <small>from the table field</small> |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Line | Show Document | Open the document that the selected line exists on. |  |
|  | Dimensions | View or edit dimensions, such as area, project, or department, that you can assign to sales and purchase documents to distribute costs and analyze transaction history. |  |
|  | Item Tracking Entries | View serial, lot or package numbers that are assigned to items. |  |

## Events published

- `OnBeforeIsFirstDocLine(var ReturnReceiptLine: Record "Return Receipt Line"; var TempReturnReceiptLine: Record "Return Receipt Line" temporary)` (integration)

## Procedures

- `SetSalesHeader(var SalesHeader2: Record "Sales Header")`: Sets the sales header for filtering return receipt lines.

Plus 3 local procedures.

## Triggers

OnAfterGetRecord, OnQueryClosePage

## Relations

- source table [Table 6661 "Return Receipt Line"](../table/6661.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 6638 "Sales-Get Return Receipts"](../codeunit/6638.md) (2 calls: `LookupOKOnPush → CreateInvLines`, `LookupOKOnPush → SetSalesHeader`)

## Across versions

- Present in: BC23-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: "page", object_name: "Get Return Receipt Lines")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
