---
title: "Codeunit 6258 Sust. Transfer Subscriber, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/points/
object: https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/
app: "Sustainability"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/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 6258 Sust. Transfer Subscriber, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/points/

8 procedures and triggers with a step in src/Apps/W1/Sustainability/app/src/Transfer/SustTransferSubscriber.Codeunit.al, in source order, read from the text, not from a run.

## OnValidateItemNoOnCopyFromTempTransLine

[Line 12](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L12), local.

- [15](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L15) validates [Table 5741 Transfer Line](https://jonas-paprotka.de/ref/table/5741-transfer-line/) `Sust. Account No.`

## OnAfterAssignItemValues

[Line 19](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L19), local.

- [21](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L21) calls [Table 6217 Sustainability Setup](https://jonas-paprotka.de/ref/table/6217-sustainability-setup/) `IsValueChainTrackingEnabled`
- [22](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L22) validates [Table 5741 Transfer Line](https://jonas-paprotka.de/ref/table/5741-transfer-line/) `Sust. Account No.`

## OnValidateQuantityOnAfterCalcQuantityBase

[Line 26](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L26), local.

- [28](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L28) calls [Table 5741 Transfer Line](https://jonas-paprotka.de/ref/table/5741-transfer-line/) `UpdateSustainabilityEmission`

## OnPostItemJnlLineOnAfterPrepareShipmentItemJnlLine

[Line 32](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L32), local.

- [35](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L35) calls `UpdateSustainabilityItemJournalLine`
- [36](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L36) calls `UpdatePostedSustainabilityEmissionOrderLine`

## OnBeforeInsertTransShptLine

[Line 41](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L41), local.

- [43](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L43) calls `CopyTransShipmentLineFromTransLine`
- [44](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L44) calls `UpdatePostedSustainabilityEmission`

## UpdateSustainabilityItemJournalLine

[Line 56](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L56), local.

- [62](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L62) calls `IsGHGCreditLine`
- [64](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L64) calls `GetPostingSign`
- [70](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L70) calls `CanPostSustainabilityJnlLine`

## UpdatePostedSustainabilityEmissionOrderLine

[Line 81](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L81), local.

- [87](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L87) calls `IsGHGCreditLine`
- [88](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L88) calls `GetPostingSign`
- [90](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L90) calls `UpdatePostedSustainabilityEmission`
- [98](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L98) writes [Table 5741 Transfer Line](https://jonas-paprotka.de/ref/table/5741-transfer-line/) Modify

## CanPostSustainabilityJnlLine

[Line 131](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L131), local.

- [139](https://jonas-paprotka.de/ref/codeunit/6258-sust-transfer-subscriber/source/#L139) calls [Table 6217 Sustainability Setup](https://jonas-paprotka.de/ref/table/6217-sustainability-setup/) `IsValueChainTrackingEnabled`

## Source

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

JOP-AL, 2026-11-20.
