---
title: "Table 6651 Return Shipment Line"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/6651-return-shipment-line/
type: table
id: 6651
name: "Return Shipment Line"
app: "Base Application"
namespace: Microsoft.Purchases.History
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Table 6651 Return Shipment Line

Jonas Paprotka, https://jonas-paprotka.de/ref/table/6651-return-shipment-line/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Purchases.History |
| Versions | 17-28 |
| Source file | Purchases/History/ReturnShipmentLine.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 2 | Buy-from Vendor No. | Code[20] | 17-28 | - | - |
| 3 | Document No. | Code[20] | 17-28 | - | - |
| 4 | Line No. | Integer | 17-28 | - | - |
| 5 | Type | Enum Purchase Line Type | 17-28 | - | - |
| 6 | No. | Code[20] | 17-28 | - | - |
| 7 | Location Code | Code[10] | 17-28 | - | - |
| 8 | Posting Group | Code[20] | 17-28 | - | - |
| 11 | Description | Text[100] | 17-28 | - | - |
| 12 | Description 2 | Text[50] | 17-28 | - | - |
| 13 | Unit of Measure | Text[50] | 17-28 | - | - |
| 15 | Quantity | Decimal | 17-28 | - | - |
| 22 | Direct Unit Cost | Decimal | 17-28 | - | - |
| 23 | Unit Cost (LCY) | Decimal | 17-28 | - | - |
| 25 | VAT % | Decimal | 17-28 | - | - |
| 27 | Line Discount % | Decimal | 17-28 | - | - |
| 31 | Unit Price (LCY) | Decimal | 17-28 | - | - |
| 32 | Allow Invoice Disc. | Boolean | 17-28 | - | - |
| 34 | Gross Weight | Decimal | 17-28 | - | - |
| 35 | Net Weight | Decimal | 17-28 | - | - |
| 36 | Units per Parcel | Decimal | 17-28 | - | - |
| 37 | Unit Volume | Decimal | 17-28 | - | - |
| 38 | Appl.-to Item Entry | Integer | 17-28 | - | - |
| 39 | Item Shpt. Entry No. | Integer | 17-28 | - | - |
| 40 | Shortcut Dimension 1 Code | Code[20] | 17-28 | - | - |
| 41 | Shortcut Dimension 2 Code | Code[20] | 17-28 | - | - |
| 45 | Job No. | Code[20] | 17-28 | - | - |
| 54 | Indirect Cost % | Decimal | 17-28 | - | - |
| 61 | Quantity Invoiced | Decimal | 17-28 | - | - |
| 68 | Pay-to Vendor No. | Code[20] | 17-28 | - | - |
| 70 | Vendor Item No. | Text[50] | 17-28 | - | - |
| 74 | Gen. Bus. Posting Group | Code[20] | 17-28 | - | - |
| 75 | Gen. Prod. Posting Group | Code[20] | 17-28 | - | - |
| 77 | VAT Calculation Type | Enum Tax Calculation Type | 17-28 | - | - |
| 78 | Transaction Type | Code[10] | 17-28 | - | - |
| 79 | Transport Method | Code[10] | 17-28 | - | - |
| 80 | Attached to Line No. | Integer | 17-28 | - | - |
| 81 | Entry Point | Code[10] | 17-28 | - | - |
| 82 | Area | Code[10] | 17-28 | - | - |
| 83 | Transaction Specification | Code[10] | 17-28 | - | - |
| 85 | Tax Area Code | Code[20] | 17-28 | - | - |
| 86 | Tax Liable | Boolean | 17-28 | - | - |
| 87 | Tax Group Code | Code[20] | 17-28 | - | - |
| 88 | Use Tax | Boolean | 17-28 | - | - |
| 89 | VAT Bus. Posting Group | Code[20] | 17-28 | - | - |
| 90 | VAT Prod. Posting Group | Code[20] | 17-28 | - | - |
| 91 | Currency Code | Code[10] | 17-28 | - | - |
| 97 | Blanket Order No. | Code[20] | 17-28 | - | - |
| 98 | Blanket Order Line No. | Integer | 17-28 | - | - |
| 99 | VAT Base Amount | Decimal | 17-28 | - | - |
| 100 | Unit Cost | Decimal | 17-28 | - | - |
| 131 | Posting Date | Date | 17-28 | - | - |
| 138 | IC Item Reference No. | Code[50] | 17-28 | - | - |
| 480 | Dimension Set ID | Integer | 17-28 | - | - |
| 1001 | Job Task No. | Code[20] | 17-28 | - | - |
| 1019 | Job Planning Line No. | Integer | 26-28 | - | - |
| 5401 | Prod. Order No. | Code[20] | 17-26 | - | - |
| 5402 | Variant Code | Code[10] | 17-28 | - | - |
| 5403 | Bin Code | Code[20] | 17-28 | - | - |
| 5404 | Qty. per Unit of Measure | Decimal | 17-28 | - | - |
| 5407 | Unit of Measure Code | Code[10] | 17-28 | - | - |
| 5415 | Quantity (Base) | Decimal | 17-28 | - | - |
| 5461 | Qty. Invoiced (Base) | Decimal | 17-28 | - | - |
| 5600 | FA Posting Date | Date | 17-28 | - | - |
| 5601 | FA Posting Type | Enum Purchase FA Posting Type | 17-28 | - | - |
| 5602 | Depreciation Book Code | Code[10] | 17-28 | - | - |
| 5603 | Salvage Value | Decimal | 17-28 | - | - |
| 5605 | Depr. until FA Posting Date | Boolean | 17-28 | - | - |
| 5606 | Depr. Acquisition Cost | Boolean | 17-28 | - | - |
| 5609 | Maintenance Code | Code[10] | 17-28 | - | - |
| 5610 | Insurance No. | Code[20] | 17-28 | - | - |
| 5611 | Budgeted FA No. | Code[20] | 17-28 | - | - |
| 5612 | Duplicate in Depreciation Book | Code[10] | 17-28 | - | - |
| 5613 | Use Duplication List | Boolean | 17-28 | - | - |
| 5700 | Responsibility Center | Code[10] | 17-28 | - | - |
| 5705 | Cross-Reference No. | Code[20] | 17-25 | Removed 22.0 | Cross-Reference replaced by Item Reference feature. |
| 5706 | Unit of Measure (Cross Ref.) | Code[10] | 17-25 | Removed 22.0 | Cross-Reference replaced by Item Reference feature. |
| 5707 | Cross-Reference Type | Option | 17-25 | Removed 22.0 | Cross-Reference replaced by Item Reference feature. |
| 5708 | Cross-Reference Type No. | Code[30] | 17-25 | Removed 22.0 | Cross-Reference replaced by Item Reference feature. |
| 5709 | Item Category Code | Code[20] | 17-28 | - | - |
| 5710 | Nonstock | Boolean | 17-28 | - | - |
| 5711 | Purchasing Code | Code[10] | 17-28 | - | - |
| 5712 | Product Group Code | Code[10] | 17-25 | Removed 15.0 | Product Groups became first level children of Item Categories. |
| 5725 | Item Reference No. | Code[50] | 17-28 | - | - |
| 5726 | Item Reference Unit of Measure | Code[10] | 17-28 | - | - |
| 5727 | Item Reference Type | Enum Item Reference Type | 17-28 | - | - |
| 5728 | Item Reference Type No. | Code[30] | 17-28 | - | - |
| 5805 | Return Qty. Shipped Not Invd. | Decimal | 17-28 | - | - |
| 5811 | Item Charge Base Amount | Decimal | 17-28 | - | - |
| 5817 | Correction | Boolean | 17-28 | - | - |
| 6602 | Return Order No. | Code[20] | 17-28 | - | - |
| 6603 | Return Order Line No. | Integer | 17-28 | - | - |
| 6608 | Return Reason Code | Code[10] | 17-28 | - | - |
| 7000 | Price Calculation Method | Enum Price Calculation Method | 17-28 | - | - |
| 8512 | Buy-from Vendor Name | Text[100] | 26-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Document No., Line No. | 17-28 |
| Key2 | Return Order No., Return Order Line No. | 17-28 |
| Key3 | Blanket Order No., Blanket Order Line No. | 17-28 |
| Key4 | Pay-to Vendor No. | 17-28 |
| Key5 | Buy-from Vendor No. | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetCurrencyCode | () | Code[10] | public | 17-28 | - | - |
| ShowDimensions | () | - | public | 17-28 | - | - |
| ShowItemTrackingLines | () | - | public | 17-28 | - | - |
| InsertInvLineFromRetShptLine | (var Record Purchase Line) | - | public | 17-28 | - | - |
| GetPurchCrMemoLines | (var Record Purch. Cr. Memo Line) | - | public | 17-28 | - | - |
| FilterPstdDocLnItemLedgEntries | (var Record Item Ledger Entry) | - | public | 17-28 | - | - |
| ShowItemPurchCrMemoLines | () | - | public | 17-28 | - | - |
| ShowLineComments | () | - | public | 17-28 | - | - |
| InitFromPurchLine | (Record Return Shipment Header, Record Purchase Line) | - | public | 17-28 | - | - |
| HasTypeToFillMandatoryFields | () | Boolean | public | 17-28 | - | - |
| SetSecurityFilterOnRespCenter | () | - | public | 21-28 | - | - |
| IsProdOrder | () | Boolean | public | 27-28 | - | - |
| TestProdOrder | () | Boolean | public | 27-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeCopyPurchLineCostAndDiscountFromPurchOrderLine | (var Record Purchase Line, Record Purchase Line, var Boolean) | 17-28 | - | - |
| Integration event | OnAfterCopyFieldsFromReturnShipmentLine | (var Record Return Shipment Line, var Record Purchase Line) | 17-28 | - | - |
| Integration event | OnAfterInitFromPurchLine | (Record Return Shipment Header, Record Purchase Line, var Record Return Shipment Line) | 17-28 | - | - |
| Integration event | OnAfterInsertInvLineFromRetShptLine | (var Record Purchase Line, var Record Purchase Line, var Record Return Shipment Line) | 17-28 | - | - |
| Integration event | OnBeforeInsertInvLineFromRetShptLine | (var Record Purchase Line, var Record Purchase Line, var Record Return Shipment Line, var Boolean, var Integer) | 17-28 | - | - |
| Integration event | OnInsertInvLineFromRetShptLineOnBeforeValidatePurchaseLine | (var Record Return Shipment Line, var Record Purchase Line, var Boolean) | 17-19 | - | - |
| Integration event | OnInsertInvLineFromRetShptLineOnBeforePurchLineInsert | (var Record Return Shipment Line, var Record Purchase Line, var Integer, var Boolean) | 17-28 | - | - |
| Integration event | OnInsertInvLineFromRetShptLineOnBeforeClearLineNumbers | (var Record Return Shipment Line, var Record Purchase Line, var Integer, var Record Purchase Line) | 17-28 | - | - |
| Integration event | OnInsertInvLineFromRetShptLineOnBeforeValidatePurchaseLine | (var Record Return Shipment Line, var Record Purchase Line, var Boolean, var Record Purchase Header) | 20-28 | - | - |
| Integration event | OnBeforeSetSecurityFilterOnRespCenter | (var Record Return Shipment Line, var Boolean) | 21-28 | - | - |
| Integration event | OnBeforeShowItemTrackingLines | (var Record Return Shipment Line, var Boolean) | 25-28 | - | - |
| Integration event | OnInsertInvLineFromRetShptLineOnBeforeCalculateDirectCost | (var Record Return Shipment Line, var Record Purchase Header, var Record Purchase Line, var Record Purchases & Payables Setup, var Boolean) | 25-28 | - | - |
| Integration event | OnInsertInvLineFromRetShptLineOnAfterPurchLineInsert | (var Record Return Shipment Line, var Record Purchase Line, var Integer) | 25-28 | - | - |
| Integration event | OnIsProdOrder | (var Record Return Shipment Line, var Boolean) | 27-28 | - | - |
| Integration event | OnTestProdOrder | (var Record Return Shipment Line, var Boolean) | 27-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
