---
title: "Page 5852 Get Post.Doc - S.InvLn Subform, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/points/
object: https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/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/"
---

# Page 5852 Get Post.Doc - S.InvLn Subform, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/points/

13 procedures and triggers with a step in src/Layers/W1/BaseApp/Sales/History/GetPostDocSInvLnSubform.Page.al, in source order, read from the text, not from a run.

## Show Document.OnAction

[Line 263](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L263), trigger.

- [265](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L265) calls `ShowDocument`

## Dimensions.OnAction

[Line 277](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L277), trigger.

- [279](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L279) calls [Table 113 Sales Invoice Line](https://jonas-paprotka.de/ref/table/113-sales-invoice-line/) `ShowDimensions`

## Item &Tracking Lines.OnAction

[Line 290](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L290), trigger.

- [292](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L292) calls `ItemTrackingLines`

## Item &Tracking Lines.OnAfterGetRecord

[Line 299](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L299), trigger.

- [302](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L302) calls `DocumentNoOnFormat`

## OnFindRecord

[Line 305](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L305), trigger.

- [314](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L314) raises `OnFindRecordOnBeforeFind`, IsHandled
- [321](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L321) calls `IsShowRec`
- [328](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L328) calls `IsShowRec`

## OnNextRecord

[Line 340](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L340), trigger.

- [351](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L351) calls `IsShowRec`

## IsFirstDocLine

[Line 383](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L383), local.

- [402](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L402) calls `IsShowRec`
- [405](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L405) writes [Table 113 Sales Invoice Line](https://jonas-paprotka.de/ref/table/113-sales-invoice-line/) Insert

## IsShowRec

[Line 422](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L422), local.

- [428](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L428) raises `OnBeforeIsShowRec`, IsHandled
- [445](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L445) raises `OnIsShowRecOnBeforeCheckIsTypeNotItem`, IsHandled
- [451](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L451) calls [Table 113 Sales Invoice Line](https://jonas-paprotka.de/ref/table/113-sales-invoice-line/) `CalcShippedSaleNotReturned`

## GetQtyReturned

[Line 457](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L457), local.

- [462](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L462) raises `OnBeforeGetQtyReturned`, IsHandled

## Initialize

[Line 478](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L478).

- [487](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L487) writes [Table 113 Sales Invoice Line](https://jonas-paprotka.de/ref/table/113-sales-invoice-line/) DeleteAll

## ShowDocument

[Line 501](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L501), local.

- [507](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L507) calls [Codeunit 700 Page Management](https://jonas-paprotka.de/ref/codeunit/700-page-management/) `PageRun`

## ItemTrackingLines

[Line 510](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L510), local.

- [514](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L514) calls `GetSelectedLine`
- [515](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L515) calls [Table 113 Sales Invoice Line](https://jonas-paprotka.de/ref/table/113-sales-invoice-line/) `ShowItemTrackingLines`

## DocumentNoOnFormat

[Line 518](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L518), local.

- [520](https://jonas-paprotka.de/ref/page/5852-get-post-doc-s-invln-subform/source/#L520) calls `IsFirstDocLine`

## Source

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

JOP-AL, 2026-11-20.
