---
id: object/page/6627
type: object
title: Page 6627 "Sales Return Order Archive"
summary: Page 6627 "Sales Return Order Archive" in Base Application (Microsoft.Sales.Archive). Present since at least BC23, still in BC30, changed in BC26.
tier: official
language: en
tags:
  - page
  - base application
versions:
  introduced: null
  last_changed: "26"
  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: 19683f7162fe0ca0bf7f1ebbd518c71db64dae51bd4528efa4458bfbb481b4f4
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/Archive/SalesReturnOrderArchive.Page.al
    title: src/Layers/W1/BaseApp/Sales/Archive/SalesReturnOrderArchive.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/across-how-to-archive-documents
    title: Archive sales, purchase, project, and service documents
    date: null
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/across-how-to-archive-documents
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/general-business-functionality
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 6627
name: Sales Return Order Archive
namespace: Microsoft.Sales.Archive
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "26"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids:
  - docs/learn-smb-docs/business-central/across-how-to-archive-documents.md
counts:
  fields: 0
  procedures: 2
  events: 0
  subscribers: 0
  controls: 68
  actions: 5
relations:
  out: 1
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Page 6627 "Sales Return Order Archive"

> Page 6627 "Sales Return Order Archive" in Base Application (Microsoft.Sales.Archive). Present since at least BC23, still in BC30, changed in BC26.

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

## Properties

| Property | Value |
|---|---|
| Caption | Sales Return Order Archive |
| SourceTable | Sales Header Archive |
| PageType | Document |

## 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 | No. | [No.](../table/5107.md#fields) | Specifies the number of the involved entry or record, according to the specified number series. <small>from the table field</small> |
|  | Customer No. | [Sell-to Customer No.](../table/5107.md#fields) | Specifies the number of the customer who will receive the products and be billed by default. <small>from the table field</small> |
|  | Customer | [Sell-to Customer Name](../table/5107.md#fields) | Specifies the name of the customer who will receive the products and be billed by default. <small>from the table field</small> |
|  | Customer Name 2 | [Sell-to Customer Name 2](../table/5107.md#fields) | Specifies an additional part of the name of the customer who will receive the products and be billed by default. <small>from the table field</small> |
| Sell-to | Address | [Sell-to Address](../table/5107.md#fields) | Specifies the main address of the customer. <small>from the table field</small> |
|  | Address 2 | [Sell-to Address 2](../table/5107.md#fields) | Specifies an additional part of the address. <small>from the table field</small> |
|  | City | [Sell-to City](../table/5107.md#fields) | Specifies the city of the customer's main address. <small>from the table field</small> |
| SellToCounty | Sell-to County | [Sell-to County](../table/5107.md#fields) | Specifies the county of your customer. <small>from the table field</small> |
| Sell-to | Post Code | [Sell-to Post Code](../table/5107.md#fields) | Specifies the postal code of the customer's main address. <small>from the table field</small> |
|  | Country/Region Code | [Sell-to Country/Region Code](../table/5107.md#fields) | Specifies the country or region of your customer. <small>from the table field</small> |
|  | Contact No. | [Sell-to Contact No.](../table/5107.md#fields) | Specifies the number of the contact person at the customer's main address. <small>from the table field</small> |
|  | Phone No. | `SellToContact."Phone No."` | Specifies the telephone number of the contact person that the sales document will be sent to. |
|  | Mobile Phone No. | `SellToContact."Mobile Phone No."` | Specifies the mobile telephone number of the contact person that the sales document will be sent to. |
|  | Email | `SellToContact."E-Mail"` | Specifies the email address of the contact person that the sales document will be sent to. |
| General | Contact | [Sell-to Contact](../table/5107.md#fields) | Specifies the name of the contact person at the customer's main address. <small>from the table field</small> |
|  | Document Date | [Document Date](../table/5107.md#fields) | Specifies the date the document was created. <small>from the table field</small> |
|  | Posting Date | [Posting Date](../table/5107.md#fields) | Specifies the date when the document was posted. <small>from the table field</small> |
|  | Order Date | [Order Date](../table/5107.md#fields) | Specifies the date the order was created. The order date is also used to determine the prices and discounts on the document. <small>from the table field</small> |
|  | External Document No. | [External Document No.](../table/5107.md#fields) | Specifies a document number that refers to the customer's or vendor's numbering system. <small>from the table field</small> |
|  | Salesperson Code | [Salesperson Code](../table/5107.md#fields) | Specifies which salesperson is associated with the sales document. <small>from the table field</small> |
|  | Campaign No. | [Campaign No.](../table/5107.md#fields) | Specifies the campaign number the document is linked to. <small>from the table field</small> |
|  | Responsibility Center | [Responsibility Center](../table/5107.md#fields) | Specifies the code of the responsibility center (for example, a distribution center) assigned to the customer or associated with the order. <small>from the table field</small> |
|  | Assigned User ID | [Assigned User ID](../table/5107.md#fields) | Specifies the ID of the user who is responsible for the document. <small>from the table field</small> |
|  | Status | [Status](../table/5107.md#fields) | Specifies whether the document is open, waiting to be approved, has been invoiced for prepayment, or has been released to the next stage of processing. <small>from the table field</small> |
| Content | SalesLinesArchive | part [Page 6628 "Sales Return Order Arc Subform"](../page/6628.md) | — |
| Invoice Details | Currency Code | [Currency Code](../table/5107.md#fields) | Specifies the currency that is used on the entry. <small>from the table field</small> |
|  | Shipment Date | [Shipment Date](../table/5107.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> |
|  | Prices Including VAT | [Prices Including VAT](../table/5107.md#fields) | Specifies if the Unit Price and Line Amount fields on document lines should be shown with or without VAT. <small>from the table field</small> |
|  | VAT Bus. Posting Group | [VAT Bus. Posting Group](../table/5107.md#fields) | Specifies the VAT specification of the involved customer or vendor to link transactions made for this record with the appropriate general ledger account according to the VAT posting setup. <small>from the table field</small> |
|  | Transaction Type | [Transaction Type](../table/5107.md#fields) | Specifies the type of transaction that the document represents, for the purpose of reporting to INTRASTAT. <small>from the table field</small> |
|  | Shortcut Dimension 1 Code | [Shortcut Dimension 1 Code](../table/5107.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/5107.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> |
|  | Applies-to Doc. Type | [Applies-to Doc. Type](../table/5107.md#fields) | Specifies the type of the posted document that this document or journal line will be applied to when you post, for example to register payment. <small>from the table field</small> |
|  | Applies-to Doc. No. | [Applies-to Doc. No.](../table/5107.md#fields) | Specifies the number of the posted document that this document or journal line will be applied to when you post, for example to register payment. <small>from the table field</small> |
|  | Applies-to ID | [Applies-to ID](../table/5107.md#fields) | Specifies the ID of entries that will be applied to when you choose the Apply Entries action. <small>from the table field</small> |
| Ship-to | Code | [Ship-to Code](../table/5107.md#fields) | Specifies a code for an alternate shipment address if you want to ship to another address than the one that has been entered automatically. This field is also used in case of drop shipment. <small>from the table field</small> |
|  | Name | [Ship-to Name](../table/5107.md#fields) | Specifies the name of the customer at the address that the items are shipped to. <small>from the table field</small> |
|  | Address | [Ship-to Address](../table/5107.md#fields) | Specifies the address that the items are shipped to. <small>from the table field</small> |
|  | Address 2 | [Ship-to Address 2](../table/5107.md#fields) | Specifies an additional part of the ship-to address, in case it is a long address. <small>from the table field</small> |
|  | City | [Ship-to City](../table/5107.md#fields) | Specifies the city of the address that the items are shipped to. <small>from the table field</small> |
| ShipToCounty | Ship-to County | [Ship-to County](../table/5107.md#fields) | Specifies the county of the ship-to address. <small>from the table field</small> |
| Ship-to | Post Code | [Ship-to Post Code](../table/5107.md#fields) | Specifies the postal code of the address that the items are shipped to. <small>from the table field</small> |
|  | Country/Region Code | [Ship-to Country/Region Code](../table/5107.md#fields) | Specifies the country/region code of the address that the items are shipped to. <small>from the table field</small> |
|  | Phone No. | [Ship-to Phone No.](../table/5107.md#fields) | Specifies the telephone number of the company's shipping address. <small>from the table field</small> |
|  | Contact | [Ship-to Contact](../table/5107.md#fields) | Specifies the name of the contact person at the address that the items are shipped to. <small>from the table field</small> |
| Bill-to | Name | [Bill-to Name](../table/5107.md#fields) | Specifies the name of the customer that you send or sent the invoice or credit memo to. <small>from the table field</small> |
|  | Name 2 | [Bill-to Name 2](../table/5107.md#fields) | Specifies an additional part of the name of the customer that you send or sent the invoice or credit memo to. <small>from the table field</small> |
|  | Address | [Bill-to Address](../table/5107.md#fields) | Specifies the address of the customer to whom you sent the invoice. <small>from the table field</small> |
|  | Address 2 | [Bill-to Address 2](../table/5107.md#fields) | Specifies an additional line of the address. <small>from the table field</small> |
|  | City | [Bill-to City](../table/5107.md#fields) | Specifies the city of the address. <small>from the table field</small> |
| BillToCounty | Bill-to County | [Bill-to County](../table/5107.md#fields) | Specifies the county of the customer on the sales document. <small>from the table field</small> |
| Bill-to | Post Code | [Bill-to Post Code](../table/5107.md#fields) | Specifies the postal code of the customer's billing address. <small>from the table field</small> |
|  | Country/Region Code | [Bill-to Country/Region Code](../table/5107.md#fields) | Specifies the country or region of the customer on the sales document. <small>from the table field</small> |
|  | Contact No. | [Bill-to Contact No.](../table/5107.md#fields) | Specifies the number of the contact person at the customer's billing address. <small>from the table field</small> |
|  | Contact | [Bill-to Contact](../table/5107.md#fields) | Specifies the name of the contact person at the customer's billing address. <small>from the table field</small> |
|  | Phone No. | `BillToContact."Phone No."` | Specifies the telephone number of the person you should contact at the customer you are sending the invoice to. |
|  | Mobile Phone No. | `BillToContact."Mobile Phone No."` | Specifies the mobile telephone number of the person you should contact at the customer you are sending the invoice to. |
|  | Email | `BillToContact."E-Mail"` | Specifies the email address of the person you should contact at the customer you are sending the invoice to. |
| Foreign Trade | EU 3-Party Trade | [EU 3-Party Trade](../table/5107.md#fields) | Specifies if the transaction is related to trade with a third party within the EU. <small>from the table field</small> |
|  | Transaction Specification | [Transaction Specification](../table/5107.md#fields) | Specifies a specification of the document's transaction, for the purpose of reporting to INTRASTAT. <small>from the table field</small> |
|  | Transport Method | [Transport Method](../table/5107.md#fields) | Specifies the transport method, for the purpose of reporting to INTRASTAT. <small>from the table field</small> |
|  | Exit Point | [Exit Point](../table/5107.md#fields) | Specifies the point of exit through which you ship the items out of your country/region, for reporting to Intrastat. <small>from the table field</small> |
|  | Area | [Area](../table/5107.md#fields) | Specifies the country or region of origin for the purpose of Intrastat reporting. <small>from the table field</small> |
| Version | Version No. | [Version No.](../table/5107.md#fields) | Specifies the version number of the archived document. <small>from the table field</small> |
|  | Archived By | [Archived By](../table/5107.md#fields) | Specifies the user ID of the person who archived this document. <small>from the table field</small> |
|  | Date Archived | [Date Archived](../table/5107.md#fields) | Specifies the date when the document was archived. <small>from the table field</small> |
|  | Time Archived | [Time Archived](../table/5107.md#fields) | Specifies what time the document was archived. <small>from the table field</small> |
|  | Interaction Exist | [Interaction Exist](../table/5107.md#fields) | Specifies that the archived document is linked to an interaction log entry. <small>from the table field</small> |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Version | Card | View or edit detailed information about the customer on the sales document. | [Page 21 "Customer Card"](../page/21.md) |
|  | 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. |  |
|  | Comments | View or add comments for the record. | [Page 5180 "Sales Archive Comment Sheet"](../page/5180.md) |
|  | Print | Print the information in the window. A print request window opens where you can specify what to include on the print-out. |  |
| Processing | Restore | Transfer the contents of this archived version to the original document. This is only possible if the original is not posted or deleted. |  |

## Procedures

2 local procedures, no public ones.

## Triggers

OnAfterGetCurrRecord, OnOpenPage, OnAfterGetRecord

## Relations

- source table [Table 5107 "Sales Header Archive"](../table/5107.md)

## Pages and codeunits on this table

- [Page 6629 "Sales Return List Archive"](../page/6629.md) (card page)

## 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 365 "Format Address"](../codeunit/365.md) (1 call: `ActivateFields → UseCounty`)

## Across versions

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

## Documented on Microsoft Learn

- [Archive sales, purchase, project, and service documents](https://learn.microsoft.com/dynamics365/business-central/across-how-to-archive-documents)

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: "Sales Return Order Archive")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
