---
id: object/page/30222
type: object
title: Page 30222 "APIV2 - P. Ret. Ord. Archives"
summary: Page 30222 "APIV2 - P. Ret. Ord. Archives" in APIV2 (Microsoft.API.V2). Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - apiv2
versions:
  introduced: "29"
  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: ab72e2fe298588a25d8e0a6fc5b55686d9d27ed0cc575976258aeaee6bf59bfe
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/APIV2/app/src/pages/APIV2PRetOrdArchives.Page.al
    title: src/Apps/W1/APIV2/app/src/pages/APIV2PRetOrdArchives.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: 30222
name: APIV2 - P. Ret. Ord. Archives
namespace: Microsoft.API.V2
app: APIV2
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 0
  events: 0
  subscribers: 0
  controls: 55
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Page 30222 "APIV2 - P. Ret. Ord. Archives"

> Page 30222 "APIV2 - P. Ret. Ord. Archives" in APIV2 (Microsoft.API.V2). Introduced in BC29, still in BC30.

APIV2 · Microsoft.API.V2 · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/APIV2/app/src/pages/APIV2PRetOrdArchives.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Extensible | false |
| SourceTable | Purchase Header Archive |
| PageType | API |

## 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 |
|---|---|---|---|
| Group | Id | `Rec.SystemId` | — |
|  | No. | [No.](../table/5109.md#fields) | Specifies the number of the involved entry or record, according to the specified number series. <small>from the table field</small> |
|  | Doc. No. Occurrence | [Doc. No. Occurrence](../table/5109.md#fields) | — |
|  | Version No. | [Version No.](../table/5109.md#fields) | Specifies the version number of the archived document. <small>from the table field</small> |
|  | Buy-from Vendor No. | [Buy-from Vendor No.](../table/5109.md#fields) | Specifies the name of the vendor who delivered the items. <small>from the table field</small> |
|  | Buy-from Vendor Name | [Buy-from Vendor Name](../table/5109.md#fields) | Specifies the name of the vendor who delivered the items. <small>from the table field</small> |
|  | Buy-from Address | [Buy-from Address](../table/5109.md#fields) | Specifies the address of the vendor who delivered the items. <small>from the table field</small> |
|  | Buy-from Address 2 | [Buy-from Address 2](../table/5109.md#fields) | Specifies an additional part of the address of the vendor who delivered the items. <small>from the table field</small> |
|  | Buy-from City | [Buy-from City](../table/5109.md#fields) | Specifies the city of the vendor who delivered the items. <small>from the table field</small> |
|  | Buy-from County | [Buy-from County](../table/5109.md#fields) | Specifies the county of your vendor. <small>from the table field</small> |
|  | Buy-from Post Code | [Buy-from Post Code](../table/5109.md#fields) | Specifies the post code of the vendor who delivered the items. <small>from the table field</small> |
|  | Buy-from Country/Region Code | [Buy-from Country/Region Code](../table/5109.md#fields) | Specifies the city of the vendor who delivered the items. <small>from the table field</small> |
|  | Buy-from Contact | [Buy-from Contact](../table/5109.md#fields) | Specifies the name of the contact person at the vendor who delivered the items. <small>from the table field</small> |
|  | Buy-from Contact No. | [Buy-from Contact No.](../table/5109.md#fields) | Specifies the number of the contact person at the vendor who delivered the items. <small>from the table field</small> |
|  | Pay-to Vendor No. | [Pay-to Vendor No.](../table/5109.md#fields) | Specifies the number of the vendor that you received the invoice from. <small>from the table field</small> |
|  | Pay-to Name | [Pay-to Name](../table/5109.md#fields) | Specifies the name of the vendor who you received the invoice from. <small>from the table field</small> |
|  | Pay-to Address | [Pay-to Address](../table/5109.md#fields) | Specifies the address of the vendor that you received the invoice from. <small>from the table field</small> |
|  | Pay-to Address 2 | [Pay-to Address 2](../table/5109.md#fields) | Specifies an additional part of the address of the vendor that the invoice was received from. <small>from the table field</small> |
|  | Pay-to City | [Pay-to City](../table/5109.md#fields) | Specifies the city of the vendor that you received the invoice from. <small>from the table field</small> |
|  | Pay-to County | [Pay-to County](../table/5109.md#fields) | Specifies the county of the vendor on the purchase document. <small>from the table field</small> |
|  | Pay-to Post Code | [Pay-to Post Code](../table/5109.md#fields) | Specifies the post code of the vendor that you received the invoice from. <small>from the table field</small> |
|  | Pay-to Country/Region Code | [Pay-to Country/Region Code](../table/5109.md#fields) | Specifies the country/region code of the address. <small>from the table field</small> |
|  | Pay-to Contact | [Pay-to Contact](../table/5109.md#fields) | Specifies the name of the person to contact about an invoice from this vendor. <small>from the table field</small> |
|  | Ship-to Name | [Ship-to Name](../table/5109.md#fields) | Specifies the name of the customer at the address that the items are shipped to. <small>from the table field</small> |
|  | Ship-to Address | [Ship-to Address](../table/5109.md#fields) | Specifies the address that the items are shipped to. <small>from the table field</small> |
|  | Ship-to Address 2 | [Ship-to Address 2](../table/5109.md#fields) | Specifies an additional part of the ship-to address, in case it is a long address. <small>from the table field</small> |
|  | Ship-to City | [Ship-to City](../table/5109.md#fields) | Specifies the city of the address that the items are shipped to. <small>from the table field</small> |
|  | Ship-to County | [Ship-to County](../table/5109.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/5109.md#fields) | Specifies the postal code of the address that the items are shipped to. <small>from the table field</small> |
|  | Ship-to Country/Region Code | [Ship-to Country/Region Code](../table/5109.md#fields) | Specifies the country/region code of the address that the items are shipped to. <small>from the table field</small> |
|  | Ship-to Contact | [Ship-to Contact](../table/5109.md#fields) | Specifies the name of the contact person at the address that the items are shipped to. <small>from the table field</small> |
|  | Document Date | [Document Date](../table/5109.md#fields) | Specifies the date when the related document was created. <small>from the table field</small> |
|  | Posting Date | [Posting Date](../table/5109.md#fields) | Specifies the entry's posting date. <small>from the table field</small> |
|  | Due Date | [Due Date](../table/5109.md#fields) | Specifies when the related purchase invoice must be paid. <small>from the table field</small> |
|  | Shortcut Dimension 1 Code | [Shortcut Dimension 1 Code](../table/5109.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/5109.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> |
|  | Currency Code | [Currency Code](../table/5109.md#fields) | Specifies the currency that is used on the entry. <small>from the table field</small> |
|  | Prices Including VAT | [Prices Including VAT](../table/5109.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> |
|  | Payment Terms Code | [Payment Terms Code](../table/5109.md#fields) | Specifies a formula that calculates the payment due date, payment discount date, and payment discount amount. <small>from the table field</small> |
|  | Shipment Method Code | [Shipment Method Code](../table/5109.md#fields) | Specifies the delivery conditions of the related shipment, such as free on board (FOB). <small>from the table field</small> |
|  | Purchaser Code | [Purchaser Code](../table/5109.md#fields) | Specifies which purchaser is assigned to the vendor. <small>from the table field</small> |
|  | Location Code | [Location Code](../table/5109.md#fields) | Specifies the location where the items are to be placed when they are received. This field acts as the default location for new lines. Location code for individual lines can differ from it. <small>from the table field</small> |
|  | Your Reference | [Your Reference](../table/5109.md#fields) | — |
|  | Vendor Cr. Memo No. | [Vendor Cr. Memo No.](../table/5109.md#fields) | Specifies the number that the vendor uses for the credit memo you are creating in this purchase return order. <small>from the table field</small> |
|  | Vendor Authorization No. | [Vendor Authorization No.](../table/5109.md#fields) | Specifies information about sales quotes, purchase quotes, or orders in earlier versions of the document. <small>from the table field</small> |
|  | Status | [Status](../table/5109.md#fields) | Specifies whether the record is open, waiting to be approved, invoiced for prepayment, or released to the next stage of processing. <small>from the table field</small> |
|  | Responsibility Center | [Responsibility Center](../table/5109.md#fields) | Specifies the code of the responsibility center, such as a distribution hub, that is associated with the involved user, company, customer, or vendor. <small>from the table field</small> |
|  | Date Archived | [Date Archived](../table/5109.md#fields) | Specifies the date when the document was archived. <small>from the table field</small> |
|  | Archived By | [Archived By](../table/5109.md#fields) | Specifies the user ID of the person who archived this document. <small>from the table field</small> |
|  | Last Modified Date Time | `Rec.SystemModifiedAt` | — |
|  | Dimension Set Lines | part [Page 30022 "APIV2 - Dimension Set Lines"](../page/30022.md) | — |
|  | Lines | part [Page 30223 "APIV2 - P. Ret. Ord. A. Lines"](../page/30223.md) | — |
|  | PDF Document | part [Page 30056 "APIV2 - PDF Document"](../page/30056.md) | — |
|  | Attachments | part [Page 30039 "APIV2 - Attachments"](../page/30039.md) | — |
|  | Document Attachments | part [Page 30080 "APIV2 - Document Attachments"](../page/30080.md) | — |

## Relations

- source table [Table 5109 "Purchase Header Archive"](../table/5109.md)

## Across versions

- Present in: BC29-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). 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: "APIV2 - P. Ret. Ord. Archives")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
