---
title: "Codeunit 131301 Library - ERM Unapply, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/points/
object: https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/
app: "Application Test Library"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/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/"
---

# Codeunit 131301 Library - ERM Unapply, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/points/

6 procedures and triggers with a step in src/Layers/W1/Tests/ApplicationTestLibrary/LibraryERMUnapply.Codeunit.al, in source order, read from the text, not from a run.

## UnapplyCustomerLedgerEntry

[Line 11](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L11).

- [13](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L13) calls `UnapplyCustomerLedgerEntryBase`

## UnapplyVendorLedgerEntry

[Line 16](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L16).

- [18](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L18) calls `UnapplyVendorLedgerEntryBase`

## UnapplyEmployeeLedgerEntry

[Line 21](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L21).

- [23](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L23) calls `UnapplyEmployeeLedgerEntryBase`

## UnapplyCustomerLedgerEntryBase

[Line 26](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L26).

- [45](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L45) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Document No.`
- [46](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L46) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Posting Date`
- [47](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L47) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Account Type`
- [48](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L48) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Account No.`
- [49](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L49) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Correction`
- [50](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L50) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Document Type`
- [51](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L51) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Description`
- [52](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L52) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Shortcut Dimension 1 Code`
- [53](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L53) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Shortcut Dimension 2 Code`
- [54](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L54) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Posting Group`
- [55](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L55) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Source Type`
- [56](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L56) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Source No.`
- [57](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L57) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Source Code`
- [58](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L58) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Source Currency Code`
- [59](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L59) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `System-Created Entry`
- [60](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L60) calls [Codeunit 12 Gen. Jnl.-Post Line](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/) `UnapplyCustLedgEntry`

## UnapplyVendorLedgerEntryBase

[Line 63](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L63).

- [82](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L82) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Document No.`
- [83](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L83) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Posting Date`
- [84](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L84) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Account Type`
- [85](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L85) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Account No.`
- [86](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L86) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Correction`
- [87](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L87) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Document Type`
- [88](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L88) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Description`
- [89](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L89) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Shortcut Dimension 1 Code`
- [90](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L90) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Shortcut Dimension 2 Code`
- [91](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L91) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Posting Group`
- [92](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L92) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Source Type`
- [93](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L93) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Source No.`
- [94](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L94) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Source Code`
- [95](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L95) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Source Currency Code`
- [96](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L96) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `System-Created Entry`
- [97](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L97) calls [Codeunit 12 Gen. Jnl.-Post Line](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/) `UnapplyVendLedgEntry`

## UnapplyEmployeeLedgerEntryBase

[Line 100](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L100).

- [119](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L119) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Document No.`
- [120](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L120) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Posting Date`
- [121](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L121) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Account Type`
- [122](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L122) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Account No.`
- [123](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L123) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Correction`
- [124](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L124) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Document Type`
- [125](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L125) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Description`
- [126](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L126) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Posting Group`
- [127](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L127) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Shortcut Dimension 1 Code`
- [128](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L128) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Shortcut Dimension 2 Code`
- [129](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L129) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Source Type`
- [130](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L130) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Source No.`
- [131](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L131) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Source Code`
- [132](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L132) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Source Currency Code`
- [133](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L133) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `System-Created Entry`
- [134](https://jonas-paprotka.de/ref/codeunit/131301-library-erm-unapply/source/#L134) calls [Codeunit 12 Gen. Jnl.-Post Line](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/) `UnapplyEmplLedgEntry`

## Source

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

JOP-AL, 2026-11-20.
