---
title: "Table 6651 Return Shipment Line, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/6651-return-shipment-line/points/
object: https://jonas-paprotka.de/ref/table/6651-return-shipment-line/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Table 6651 Return Shipment Line, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/table/6651-return-shipment-line/points/

14 procedures and triggers with a step in src/Layers/W1/BaseApp/Purchases/History/ReturnShipmentLine.Table.al, in source order, read from the text, not from a run.

## Dimension Set ID.OnLookup

[Line 369](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L369), trigger.

- [371](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L371) calls `ShowDimensions`

## OnDelete

[Line 593](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L593), trigger.

- [601](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L601) writes [Table 43 Purch. Comment Line](https://jonas-paprotka.de/ref/table/43-purch-comment-line/) DeleteAll

## ShowDimensions

[Line 624](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L624).

- [628](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L628) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `ShowDimensionSet`

## ShowItemTrackingLines

[Line 632](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L632).

- [638](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L638) raises `OnBeforeShowItemTrackingLines`, IsHandled
- [642](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L642) calls [Codeunit 6503 Item Tracking Doc. Management](https://jonas-paprotka.de/ref/codeunit/6503-item-tracking-doc-management/) `ShowItemTrackingForShptRcptLine`

## InsertInvLineFromRetShptLine

[Line 645](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L645).

- [676](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L676) raises `OnInsertInvLineFromRetShptLineOnBeforePurchLineInsert`, IsHandled
- [678](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L678) writes [Table 39 Purchase Line](https://jonas-paprotka.de/ref/table/39-purchase-line/) Insert
- [679](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L679) raises `OnInsertInvLineFromRetShptLineOnAfterPurchLineInsert`
- [684](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L684) raises `OnInsertInvLineFromRetShptLineOnBeforeClearLineNumbers`
- [685](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L685) calls [Codeunit 379 Transfer Old Ext. Text Lines](https://jonas-paprotka.de/ref/codeunit/379-transfer-old-ext-text-lines/) `ClearLineNumbers`
- [690](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L690) calls [Codeunit 379 Transfer Old Ext. Text Lines](https://jonas-paprotka.de/ref/codeunit/379-transfer-old-ext-text-lines/) `GetNewLineNumber`
- [711](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L711) raises `OnInsertInvLineFromRetShptLineOnBeforeCalculateDirectCost`, IsHandled
- [713](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L713) calls `InitCurrency`
- [750](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L750) raises `OnAfterCopyFieldsFromReturnShipmentLine`
- [754](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L754) raises `OnInsertInvLineFromRetShptLineOnBeforeValidatePurchaseLine`, IsHandled
- [756](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L756) validates [Table 39 Purchase Line](https://jonas-paprotka.de/ref/table/39-purchase-line/) `Quantity`
- [758](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L758) calls `CopyPurchLineCostAndDiscountFromPurchOrderLine`
- [761](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L761) calls [Codeunit 379 Transfer Old Ext. Text Lines](https://jonas-paprotka.de/ref/codeunit/379-transfer-old-ext-text-lines/) `TransferExtendedText`
- [770](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L770) raises `OnBeforeInsertInvLineFromRetShptLine`, IsHandled
- [772](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L772) writes [Table 39 Purchase Line](https://jonas-paprotka.de/ref/table/39-purchase-line/) Insert
- [775](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L775) raises `OnAfterInsertInvLineFromRetShptLine`
- [777](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L777) calls [Codeunit 6500 Item Tracking Management](https://jonas-paprotka.de/ref/codeunit/6500-item-tracking-management/) `CopyHandledItemTrkgToInvLine`

## CopyPurchLineCostAndDiscountFromPurchOrderLine

[Line 786](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L786), local.

- [791](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L791) raises `OnBeforeCopyPurchLineCostAndDiscountFromPurchOrderLine`, IsHandled
- [795](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L795) validates [Table 39 Purchase Line](https://jonas-paprotka.de/ref/table/39-purchase-line/) `Direct Unit Cost`
- [796](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L796) validates [Table 39 Purchase Line](https://jonas-paprotka.de/ref/table/39-purchase-line/) `Line Discount %`
- [798](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L798) validates [Table 39 Purchase Line](https://jonas-paprotka.de/ref/table/39-purchase-line/) `Inv. Discount Amount`
- [800](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L800) validates [Table 39 Purchase Line](https://jonas-paprotka.de/ref/table/39-purchase-line/) `Inv. Discount Amount`

## GetPurchCrMemoLines

[Line 807](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L807).

- [813](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L813) writes [Table 125 Purch. Cr. Memo Line](https://jonas-paprotka.de/ref/table/125-purch-cr-memo-line/) DeleteAll
- [830](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L830) writes [Table 125 Purch. Cr. Memo Line](https://jonas-paprotka.de/ref/table/125-purch-cr-memo-line/) Insert

## ShowItemPurchCrMemoLines

[Line 843](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L843).

- [848](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L848) calls `GetPurchCrMemoLines`

## InitCurrency

[Line 853](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L853), local.

- [861](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L861) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `InitRoundingPrecision`

## ShowLineComments

[Line 865](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L865).

- [869](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L869) calls [Table 43 Purch. Comment Line](https://jonas-paprotka.de/ref/table/43-purch-comment-line/) `ShowComments`

## InitFromPurchLine

[Line 873](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L873).

- [877](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L877) calls `HasTypeToFillMandatoryFields`
- [896](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L896) raises `OnAfterInitFromPurchLine`

## SetSecurityFilterOnRespCenter

[Line 904](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L904).

- [910](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L910) raises `OnBeforeSetSecurityFilterOnRespCenter`, IsHandled
- [914](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L914) calls [Codeunit 5700 User Setup Management](https://jonas-paprotka.de/ref/codeunit/5700-user-setup-management/) `GetPurchasesFilter`
- [916](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L916) calls [Codeunit 5700 User Setup Management](https://jonas-paprotka.de/ref/codeunit/5700-user-setup-management/) `GetPurchasesFilter`

## IsProdOrder

[Line 921](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L921).

- [923](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L923) raises `OnIsProdOrder`

## TestProdOrder

[Line 926](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L926).

- [928](https://jonas-paprotka.de/ref/table/6651-return-shipment-line/source/#L928) raises `OnTestProdOrder`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
