---
id: object/table/6660
type: object
title: Table 6660 "Return Receipt Header"
summary: Table 6660 "Return Receipt Header" in Base Application (Microsoft.Sales.History). 101 fields, 14 public procedures, 5 events. Present since at least BC23, still in BC30, changed in BC24-28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  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: 9de280407c532f16fbfeb7e45a87545b8c0286c19f6f7ad4b936c0faad1c52ff
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/History/ReturnReceiptHeader.Table.al
    title: src/Layers/W1/BaseApp/Sales/History/ReturnReceiptHeader.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/across-edit-posted-document
    - https://learn.microsoft.com/dynamics365/business-central/sales-how-process-sales-returns-cancellations
    - https://learn.microsoft.com/dynamics365/business-central/sales-how-process-sales-returns-orders
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/general-business-functionality
    - topic/business-central/business-functionality/sales
  localizations:
    - localization/au
    - localization/be
    - localization/it
    - localization/nz
    - localization/ru
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 6660
name: Return Receipt Header
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:
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
source_major: "29"
obsolete: null
countries:
  - au
  - be
  - it
  - nz
  - ru
ms_search_form_ids: []
counts:
  fields: 101
  procedures: 20
  events: 5
  subscribers: 0
relations:
  out: 49
  referenced_by: 6
  pages: 5
  extended_by: 1
  event_subscribers: 0
  calls: 5
  called_by: 0
  implements: 0
---

# Table 6660 "Return Receipt Header"

> Table 6660 "Return Receipt Header" in Base Application (Microsoft.Sales.History). 101 fields, 14 public procedures, 5 events. Present since at least BC23, still in BC30, changed in BC24-28.

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

Learn documents this table through its pages: [Page 6662 "Posted Return Receipts"](../page/6662.md) (3 Learn pages), [Page 6660 "Posted Return Receipt"](../page/6660.md) (1).

## Properties

| Property | Value |
|---|---|
| Caption | Return Receipt Header |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 2 | Sell-to Customer No. | Code[20] | Specifies the number of the customer who returned the products. | TableRelation [Table 18 "Customer"](../table/18.md); NotBlank |
| 3 | No. | Code[20] | Specifies the number of the involved entry or record, according to the specified number series. |  |
| 4 | Bill-to Customer No. | Code[20] | Specifies the number of the customer that you send or sent the credit memo to. | TableRelation [Table 18 "Customer"](../table/18.md); NotBlank |
| 5 | Bill-to Name | Text[100] | Specifies the name of the customer that you send or sent the invoice or credit memo to. |  |
| 6 | Bill-to Name 2 | Text[50] | Specifies an additional part of the name of the customer that you send or sent the invoice or credit memo to. |  |
| 7 | Bill-to Address | Text[100] | Specifies the address of the customer to whom you sent the invoice. |  |
| 8 | Bill-to Address 2 | Text[50] | Specifies an additional line of the address. |  |
| 9 | Bill-to City | Text[30] | Specifies the city of the address. | TableRelation [Table 225 "Post Code"](../table/225.md) (if ("Bill-to Country/Region Code" = const('')) "Post Code".City else if ("Bill-to Country/Region Code" = filter(<> '')) "Post Code".City where("Country/Region Code" = field("Bill-to Country/Region Code"))) |
| 10 | Bill-to Contact | Text[100] | Specifies the name of the contact person at the customer's billing address. |  |
| 11 | Your Reference | Text[35] | — |  |
| 12 | Ship-to Code | Code[10] | 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. | TableRelation [Table 222 "Ship-to Address"](../table/222.md) ("Ship-to Address".Code where("Customer No." = field("Sell-to Customer No."))) |
| 13 | Ship-to Name | Text[100] | Specifies the name of the customer at the address that the items are shipped to. |  |
| 14 | Ship-to Name 2 | Text[50] | Specifies an additional part of the name of the customer at the address that the items are shipped to. |  |
| 15 | Ship-to Address | Text[100] | Specifies the address that the items are shipped to. |  |
| 16 | Ship-to Address 2 | Text[50] | Specifies an additional part of the ship-to address, in case it is a long address. |  |
| 17 | Ship-to City | Text[30] | Specifies the city of the address that the items are shipped to. | TableRelation [Table 225 "Post Code"](../table/225.md) (if ("Ship-to Country/Region Code" = const('')) "Post Code".City else if ("Ship-to Country/Region Code" = filter(<> '')) "Post Code".City where("Country/Region Code" = field("Ship-to Country/Region Code"))) |
| 18 | Ship-to Contact | Text[100] | Specifies the name of the contact person at the address that the items are shipped to. |  |
| 19 | Order Date | Date | — |  |
| 20 | Posting Date | Date | Specifies the entry's posting date. |  |
| 21 | Shipment Date | Date | 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. |  |
| 22 | Posting Description | Text[100] | — |  |
| 23 | Payment Terms Code | Code[10] | — | TableRelation [Table 3 "Payment Terms"](../table/3.md) (Payment Terms) |
| 24 | Due Date | Date | — |  |
| 25 | Payment Discount % | Decimal | — |  |
| 26 | Pmt. Discount Date | Date | — |  |
| 27 | Shipment Method Code | Code[10] | Specifies the delivery conditions of the related shipment, such as free on board (FOB). | TableRelation [Table 10 "Shipment Method"](../table/10.md) (Shipment Method) |
| 28 | Location Code | Code[10] | Specifies a code for the location where you want the items to be placed when they are received. | TableRelation [Table 14 "Location"](../table/14.md) (Location where("Use As In-Transit" = const(false))) |
| 29 | Shortcut Dimension 1 Code | Code[20] | 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. | TableRelation [Table 349 "Dimension Value"](../table/349.md) ("Dimension Value".Code where("Global Dimension No." = const(1))) |
| 30 | Shortcut Dimension 2 Code | Code[20] | 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. | TableRelation [Table 349 "Dimension Value"](../table/349.md) ("Dimension Value".Code where("Global Dimension No." = const(2))) |
| 31 | Customer Posting Group | Code[20] | — | TableRelation [Table 92 "Customer Posting Group"](../table/92.md) (Customer Posting Group); not editable |
| 32 | Currency Code | Code[10] | Specifies the currency that is used on the entry. | TableRelation [Table 4 "Currency"](../table/4.md); not editable |
| 33 | Currency Factor | Decimal | — |  |
| 34 | Customer Price Group | Code[10] | — | TableRelation [Table 6 "Customer Price Group"](../table/6.md) (Customer Price Group) |
| 35 | Prices Including VAT | Boolean | — |  |
| 37 | Invoice Disc. Code | Code[20] | — |  |
| 40 | Customer Disc. Group | Code[20] | — | TableRelation [Table 340 "Customer Discount Group"](../table/340.md) (Customer Discount Group) |
| 41 | Language Code | Code[10] | — | TableRelation [Table 8 "Language"](../table/8.md) |
| 42 | Format Region | Text[80] | — | TableRelation "Language Selection"."Language Tag" |
| 43 | Salesperson Code | Code[20] | Specifies which salesperson is associated with the posted return receipt. | TableRelation [Table 13 "Salesperson/Purchaser"](../table/13.md) (Salesperson/Purchaser) |
| 46 | Comment | Boolean | — | FlowField: exist("Sales Comment Line" where("Document Type" = const("Posted Return Receipt"), "No." = field("No."), "Document Line No." = const(0))); not editable |
| 47 | No. Printed | Integer | Specifies how many times the document has been printed. | not editable |
| 51 | On Hold | Code[3] | — |  |
| 52 | Applies-to Doc. Type | Enum "Gen. Journal Document Type" | — | enum [Enum 6 "Gen. Journal Document Type"](../enum/6.md) |
| 53 | Applies-to Doc. No. | Code[20] | — |  |
| 55 | Bal. Account No. | Code[20] | — | TableRelation [Table 15 "G/L Account"](../table/15.md), [Table 270 "Bank Account"](../table/270.md) (if ("Bal. Account Type" = const("G/L Account")) "G/L Account" else if ("Bal. Account Type" = const("Bank Account")) "Bank Account") |
| 70 | VAT Registration No. | Text[20] | Specifies the customer's VAT registration number for customers. |  |
| 73 | Reason Code | Code[10] | — | TableRelation [Table 231 "Reason Code"](../table/231.md) (Reason Code) |
| 74 | Gen. Bus. Posting Group | Code[20] | — | TableRelation [Table 250 "Gen. Business Posting Group"](../table/250.md) (Gen. Business Posting Group) |
| 75 | EU 3-Party Trade | Boolean | — |  |
| 76 | Transaction Type | Code[10] | — | TableRelation [Table 258 "Transaction Type"](../table/258.md) (Transaction Type) |
| 77 | Transport Method | Code[10] | — | TableRelation [Table 259 "Transport Method"](../table/259.md) (Transport Method) |
| 78 | VAT Country/Region Code | Code[10] | — | TableRelation [Table 9 "Country/Region"](../table/9.md) (Country/Region) |
| 79 | Sell-to Customer Name | Text[100] | Specifies the name of the customer. |  |
| 80 | Sell-to Customer Name 2 | Text[50] | Specifies an additional part of the name of the customer who will receive the products and be billed by default. |  |
| 81 | Sell-to Address | Text[100] | Specifies the main address of the customer. |  |
| 82 | Sell-to Address 2 | Text[50] | Specifies an additional part of the address. |  |
| 83 | Sell-to City | Text[30] | Specifies the city of the customer's main address. | TableRelation [Table 225 "Post Code"](../table/225.md) (if ("Sell-to Country/Region Code" = const('')) "Post Code".City else if ("Sell-to Country/Region Code" = filter(<> '')) "Post Code".City where("Country/Region Code" = field("Sell-to Country/Region Code"))) |
| 84 | Sell-to Contact | Text[100] | Specifies the name of the contact person at the customer's main address. |  |
| 85 | Bill-to Post Code | Code[20] | Specifies the postal code of the customer's billing address. | TableRelation [Table 225 "Post Code"](../table/225.md) (if ("Bill-to Country/Region Code" = const('')) "Post Code" else if ("Bill-to Country/Region Code" = filter(<> '')) "Post Code" where("Country/Region Code" = field("Bill-to Country/Region Code"))) |
| 86 | Bill-to County | Text[30] | — |  |
| 87 | Bill-to Country/Region Code | Code[10] | Specifies the country/region code of the customer's billing address. | TableRelation [Table 9 "Country/Region"](../table/9.md) (Country/Region) |
| 88 | Sell-to Post Code | Code[20] | Specifies the postal code of the customer's main address. | TableRelation [Table 225 "Post Code"](../table/225.md) (if ("Sell-to Country/Region Code" = const('')) "Post Code" else if ("Sell-to Country/Region Code" = filter(<> '')) "Post Code" where("Country/Region Code" = field("Sell-to Country/Region Code"))) |
| 89 | Sell-to County | Text[30] | — |  |
| 90 | Sell-to Country/Region Code | Code[10] | Specifies the country/region code of the customer's main address. | TableRelation [Table 9 "Country/Region"](../table/9.md) (Country/Region) |
| 91 | Ship-to Post Code | Code[20] | Specifies the postal code of the address that the items are shipped to. | TableRelation [Table 225 "Post Code"](../table/225.md) (if ("Ship-to Country/Region Code" = const('')) "Post Code" else if ("Ship-to Country/Region Code" = filter(<> '')) "Post Code" where("Country/Region Code" = field("Ship-to Country/Region Code"))) |
| 92 | Ship-to County | Text[30] | — |  |
| 93 | Ship-to Country/Region Code | Code[10] | Specifies the country/region code of the address that the items are shipped to. | TableRelation [Table 9 "Country/Region"](../table/9.md) (Country/Region) |
| 94 | Bal. Account Type | enum "Payment Balance Account Type" | — | enum [Enum 96 "Payment Balance Account Type"](../enum/96.md) |
| 97 | Exit Point | Code[10] | — | TableRelation [Table 282 "Entry/Exit Point"](../table/282.md) (Entry/Exit Point) |
| 98 | Correction | Boolean | — |  |
| 99 | Document Date | Date | Specifies the date when the related document was created. |  |
| 100 | External Document No. | Code[35] | Specifies a document number that refers to the customer's or vendor's numbering system. |  |
| 101 | Area | Code[10] | — | TableRelation [Table 284 "Area"](../table/284.md) |
| 102 | Transaction Specification | Code[10] | — | TableRelation [Table 285 "Transaction Specification"](../table/285.md) (Transaction Specification) |
| 104 | Payment Method Code | Code[10] | — | TableRelation [Table 289 "Payment Method"](../table/289.md) (Payment Method) |
| 105 | Shipping Agent Code | Code[10] | Specifies which shipping agent is used to transport the items on the sales document to the customer. | TableRelation [Table 291 "Shipping Agent"](../table/291.md) (Shipping Agent) |
| 106 | Package Tracking No. | Text[50] | Specifies the shipping agent's package number. |  |
| 109 | No. Series | Code[20] | — | TableRelation [Table 308 "No. Series"](../table/308.md) (No. Series); not editable |
| 112 | User ID | Code[50] | — | TableRelation User."User Name"; DataClassification EndUserIdentifiableInformation |
| 113 | Source Code | Code[10] | — | TableRelation [Table 230 "Source Code"](../table/230.md) (Source Code) |
| 114 | Tax Area Code | Code[20] | — | TableRelation [Table 318 "Tax Area"](../table/318.md) (Tax Area) |
| 115 | Tax Liable | Boolean | — |  |
| 116 | VAT Bus. Posting Group | Code[20] | — | TableRelation [Table 323 "VAT Business Posting Group"](../table/323.md) (VAT Business Posting Group) |
| 119 | VAT Base Discount % | Decimal | — |  |
| 181 | Rcvd.-from Count./Region Code | Code[10] | Received-from Country/Region Code <small>caption</small> | TableRelation [Table 9 "Country/Region"](../table/9.md) (Country/Region) |
| 210 | Ship-to Phone No. | Text[30] | Specifies the telephone number of the company's shipping address. |  |
| 480 | Dimension Set ID | Integer | — | TableRelation [Table 480 "Dimension Set Entry"](../table/480.md) (Dimension Set Entry); not editable |
| 5050 | Campaign No. | Code[20] | — | TableRelation [Table 5071 "Campaign"](../table/5071.md) |
| 5052 | Sell-to Contact No. | Code[20] | Specifies the number of the contact person at the customer's main address. | TableRelation [Table 5050 "Contact"](../table/5050.md) |
| 5053 | Bill-to Contact No. | Code[20] | Specifies the number of the contact person at the customer's billing address. | TableRelation [Table 5050 "Contact"](../table/5050.md) |
| 5055 | Opportunity No. | Code[20] | — | TableRelation [Table 5092 "Opportunity"](../table/5092.md) |
| 5700 | Responsibility Center | Code[10] | Specifies the code of the responsibility center, such as a distribution hub, that is associated with the involved user, company, customer, or vendor. | TableRelation [Table 5714 "Responsibility Center"](../table/5714.md) (Responsibility Center) |
| 5790 | Requested Delivery Date | Date | — | not editable |
| 5791 | Promised Delivery Date | Date | — | not editable |
| 5792 | Shipping Time | DateFormula | — | not editable |
| 5793 | Warehouse Handling Time | DateFormula | — | not editable |
| 5797 | Late Order Shipping | Boolean | — | not editable |
| 6601 | Return Order No. | Code[20] | Specifies the number of the return order that will post a return receipt. |  |
| 6602 | Return Order No. Series | Code[20] | — | TableRelation [Table 308 "No. Series"](../table/308.md) (No. Series) |
| 7000 | Price Calculation Method | Enum "Price Calculation Method" | — | enum [Enum 7000 "Price Calculation Method"](../enum/7000.md) |
| 7001 | Allow Line Disc. | Boolean | — |  |

## Keys

- Key1: No. (clustered)
- Key2: Return Order No.
- Key3: Sell-to Customer No., External Document No.
- Key4: Bill-to Customer No.
- Key5: Posting Date

## Events published

- `OnBeforePrintRecords(var ReturnRcptHeader: Record "Return Receipt Header"; ShowDialog: Boolean; var IsHandled: Boolean)` (integration): Raised before printing return receipt records.
- `OnBeforeEmailRecords(var ReturnRcptHeader: Record "Return Receipt Header"; var ShowDialog: Boolean; var IsHandled: Boolean)` (integration): Raised before emailing return receipt records.
- `OnBeforeSetSecurityFilterOnRespCenter(var ReturnReceiptHeader: Record "Return Receipt Header"; var IsHandled: Boolean)` (integration): Raised before setting security filter on responsibility center for the return receipt.
- `OnLookupAppliesToDocNoOnAfterSetFilters(var CustLedgEntry: Record "Cust. Ledger Entry"; ReturnReceiptHeader: Record "Return Receipt Header")` (integration): Raised after setting filters when looking up the applies-to document number.
- `OnBeforeCheckNoPrinted(var ReturnRcptHeader: Record "Return Receipt Header"; var IsHandled: Boolean)` (integration): Raised before checking the number of times the return receipt has been printed.

## Procedures

- `GetCustomerVATRegistrationNumber(): Text`: Gets the customer's VAT registration number from this return receipt.
- `GetCustomerVATRegistrationNumberLbl(): Text`: Gets the label for the customer's VAT registration number field.
- `GetCustomerGlobalLocationNumber(): Text`: Gets the customer's Global Location Number (GLN).
- `GetCustomerGlobalLocationNumberLbl(): Text`: Gets the label for the customer's Global Location Number field.
- `GetLegalStatement(): Text`: Gets the legal statement text from the Sales and Receivables Setup.
- `PrintRecords(ShowDialog: Boolean)`: Prints the return receipt records using the configured report selection.
- `CheckNoPrinted()`: Validates that the return receipt has been printed at least once.
- `EmailRecords(ShowDialog: Boolean)`: Sends the return receipt records via email using the configured document sending profile.
- `Navigate()`: Opens the Navigate page to show related entries for this return receipt.
- `ShowDimensions()`: Opens a page showing the dimension set for this return receipt.
- `SetSecurityFilterOnRespCenter()`: Sets a security filter based on the user's responsibility center.
- `StartTrackingSite()`: Opens the shipping agent's tracking website for the package.
- `SendRecords()`: Sends the selected return receipt records using the customer's document sending profile.
- `PrintToDocumentAttachment(var ReturnReceiptHeader: Record "Return Receipt Header")`: Prints the return receipt and attaches it to the document.

Plus 1 local procedures.

## Triggers

OnDelete

## Relations

- lookup page [Page 6662 "Posted Return Receipts"](../page/6662.md)
- Shipment Method Code: TableRelation [Table 10 "Shipment Method"](../table/10.md)
- Salesperson Code: TableRelation [Table 13 "Salesperson/Purchaser"](../table/13.md)
- Location Code: TableRelation [Table 14 "Location"](../table/14.md)
- Bal. Account No.: TableRelation [Table 15 "G/L Account"](../table/15.md) (conditional)
- Bill-to Customer No.: TableRelation [Table 18 "Customer"](../table/18.md)
- Sell-to Customer No.: TableRelation [Table 18 "Customer"](../table/18.md)
- Ship-to Code: TableRelation [Table 222 "Ship-to Address"](../table/222.md)
- Bill-to City: TableRelation [Table 225 "Post Code"](../table/225.md) (conditional)
- Bill-to Post Code: TableRelation [Table 225 "Post Code"](../table/225.md) (conditional)
- Sell-to City: TableRelation [Table 225 "Post Code"](../table/225.md) (conditional)
- Sell-to Post Code: TableRelation [Table 225 "Post Code"](../table/225.md) (conditional)
- Ship-to City: TableRelation [Table 225 "Post Code"](../table/225.md) (conditional)
- Ship-to Post Code: TableRelation [Table 225 "Post Code"](../table/225.md) (conditional)
- Source Code: TableRelation [Table 230 "Source Code"](../table/230.md)
- Reason Code: TableRelation [Table 231 "Reason Code"](../table/231.md)
- Gen. Bus. Posting Group: TableRelation [Table 250 "Gen. Business Posting Group"](../table/250.md)
- Transaction Type: TableRelation [Table 258 "Transaction Type"](../table/258.md)
- Transport Method: TableRelation [Table 259 "Transport Method"](../table/259.md)
- Bal. Account No.: TableRelation [Table 270 "Bank Account"](../table/270.md) (conditional)
- Exit Point: TableRelation [Table 282 "Entry/Exit Point"](../table/282.md)
- Area: TableRelation [Table 284 "Area"](../table/284.md)
- Transaction Specification: TableRelation [Table 285 "Transaction Specification"](../table/285.md)
- Payment Method Code: TableRelation [Table 289 "Payment Method"](../table/289.md)
- Shipping Agent Code: TableRelation [Table 291 "Shipping Agent"](../table/291.md)
- Payment Terms Code: TableRelation [Table 3 "Payment Terms"](../table/3.md)
- No. Series: TableRelation [Table 308 "No. Series"](../table/308.md)
- Return Order No. Series: TableRelation [Table 308 "No. Series"](../table/308.md)
- Tax Area Code: TableRelation [Table 318 "Tax Area"](../table/318.md)
- VAT Bus. Posting Group: TableRelation [Table 323 "VAT Business Posting Group"](../table/323.md)
- Customer Disc. Group: TableRelation [Table 340 "Customer Discount Group"](../table/340.md)
- Shortcut Dimension 1 Code: TableRelation [Table 349 "Dimension Value"](../table/349.md)
- Shortcut Dimension 2 Code: TableRelation [Table 349 "Dimension Value"](../table/349.md)
- Currency Code: TableRelation [Table 4 "Currency"](../table/4.md)
- Comment: CalcFormula [Table 44 "Sales Comment Line"](../table/44.md)
- Dimension Set ID: TableRelation [Table 480 "Dimension Set Entry"](../table/480.md)
- Bill-to Contact No.: TableRelation [Table 5050 "Contact"](../table/5050.md)
- Sell-to Contact No.: TableRelation [Table 5050 "Contact"](../table/5050.md)
- Campaign No.: TableRelation [Table 5071 "Campaign"](../table/5071.md)
- Opportunity No.: TableRelation [Table 5092 "Opportunity"](../table/5092.md)
- Responsibility Center: TableRelation [Table 5714 "Responsibility Center"](../table/5714.md)
- Customer Price Group: TableRelation [Table 6 "Customer Price Group"](../table/6.md)
- Language Code: TableRelation [Table 8 "Language"](../table/8.md)
- Bill-to Country/Region Code: TableRelation [Table 9 "Country/Region"](../table/9.md)
- Rcvd.-from Count./Region Code: TableRelation [Table 9 "Country/Region"](../table/9.md)
- Sell-to Country/Region Code: TableRelation [Table 9 "Country/Region"](../table/9.md)
- Ship-to Country/Region Code: TableRelation [Table 9 "Country/Region"](../table/9.md)
- VAT Country/Region Code: TableRelation [Table 9 "Country/Region"](../table/9.md)
- Customer Posting Group: TableRelation [Table 92 "Customer Posting Group"](../table/92.md)

## Referenced by

6 fields in 4 objects relate to this table (TableRelation or CalcFormula).

- [Table 18 "Customer"](../table/18.md): Bill-To No. of Pstd. Return R., No. of Pstd. Return Receipts
- [Table 6661 "Return Receipt Line"](../table/6661.md): Currency Code, Document No.
- [Table 36 "Sales Header"](../table/36.md): Last Return Receipt No.
- [Table 5107 "Sales Header Archive"](../table/5107.md): Last Return Receipt No.

## Pages and codeunits on this table

- [Page 1353 "Posted Return Receipt - Update"](../page/1353.md) (source table)
- [Page 30252 "APIV2 - Return Receipts"](../page/30252.md) (source table)
- [Page 6660 "Posted Return Receipt"](../page/6660.md) (source table)
- [Page 6662 "Posted Return Receipts"](../page/6662.md) (source table)
- [Page 6665 "Return Receipt Statistics"](../page/6665.md) (source table)
- [Codeunit 1407 "Return Receipt Header - Edit"](../codeunit/1407.md) (codeunit runs on it)
- [Codeunit 6661 "Return Receipt - Printed"](../codeunit/6661.md) (codeunit runs on it)

## Extended by

- [Table extension 30110 "Shpfy Return Receipt Header"](../tableextension/30110.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 363 "PostSales-Delete"](../codeunit/363.md) (2 calls: `OnDelete → DeleteSalesRcptLines`, `OnDelete → IsDocumentDeletionAllowed`)
- [Codeunit 452 "Report Distribution Management"](../codeunit/452.md) (2 calls: `EmailRecords → GetFullDocumentTypeText`, `SendRecords → GetFullDocumentTypeText`)
- [Codeunit 1535 "Approvals Mgmt."](../codeunit/1535.md) (1 call: `OnDelete → DeletePostedApprovalEntries`)
- [Codeunit 408 "DimensionManagement"](../codeunit/408.md) (1 call: `ShowDimensions → ShowDimensionSet`)
- [Codeunit 5700 "User Setup Management"](../codeunit/5700.md) (1 call: `SetSecurityFilterOnRespCenter → GetSalesFilter`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-28

## Countries that replace it

[AU](../../localizations/au.md), [BE](../../localizations/be.md), [IT](../../localizations/it.md), [NZ](../../localizations/nz.md), [RU](../../localizations/ru.md)

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: "table", object_name: "Return Receipt Header")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
