---
title: "Codeunit 6256 Sust. Item Post Subscriber, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/points/
object: https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/
app: "Sustainability"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/
checked: 2026-11-20
changed: 2026-11-03
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 6256 Sust. Item Post Subscriber, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/points/

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

## OnBeforeInsertValueEntry

[Line 14](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L14), local.

- [16](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L16) calls `CanCreateSustValueEntry`
- [17](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L17) calls `PostSustainabilityValueEntry`

## OnAfterInsertCapValueEntry

[Line 21](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L21), local.

- [25](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L25) calls `CanCreateSustValueEntry`
- [26](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L26) calls `PostSustainabilityValueEntry`

## OnAfterInsertCorrValueEntry

[Line 30](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L30), local.

- [32](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L32) calls `CanCreateSustValueEntry`
- [33](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L33) calls `PostSustainabilityValueEntry`

## OnSetupSplitJnlLineOnAfterSetupTempSplitItemJnlLine

[Line 51](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L51), local.

- [61](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L61) calls [Codeunit 6212 Sustainability Post Mgt](https://jonas-paprotka.de/ref/codeunit/6212-sustainability-post-mgt/) `IsCarbonTrackingSpecificItem`
- [69](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L69) calls [Codeunit 6212 Sustainability Post Mgt](https://jonas-paprotka.de/ref/codeunit/6212-sustainability-post-mgt/) `GetCO2eAmountAndQuantity`
- [82](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L82) writes [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) Modify

## PostSustainabilityValueEntry

[Line 94](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L94), local.

- [101](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L101) calls [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `ShouldUpdateJournalLineWithPostingSign`
- [102](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L102) calls `CheckSustainabilityItemJnlLine`
- [102](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L102) calls [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `IsSourceItemReclassJournal`
- [103](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L103) calls [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `IsGHGCreditLine`
- [104](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L104) calls [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `GetPostingSign`
- [108](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L108) validates [Table 6214 Sustainability Jnl. Line](https://jonas-paprotka.de/ref/table/6214-sustainability-jnl-line/) `Posting Date`
- [109](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L109) validates [Table 6214 Sustainability Jnl. Line](https://jonas-paprotka.de/ref/table/6214-sustainability-jnl-line/) `Document No.`
- [110](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L110) validates [Table 6214 Sustainability Jnl. Line](https://jonas-paprotka.de/ref/table/6214-sustainability-jnl-line/) `Account No.`
- [111](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L111) validates [Table 6214 Sustainability Jnl. Line](https://jonas-paprotka.de/ref/table/6214-sustainability-jnl-line/) `Account Category`
- [112](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L112) validates [Table 6214 Sustainability Jnl. Line](https://jonas-paprotka.de/ref/table/6214-sustainability-jnl-line/) `Account Subcategory`
- [117](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L117) calls `GetTotalCO2eFromProdOrder`
- [120](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L120) calls [Codeunit 6212 Sustainability Post Mgt](https://jonas-paprotka.de/ref/codeunit/6212-sustainability-post-mgt/) `GetTotalCO2eAmount`
- [122](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L122) calls [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `ShouldUpdateJournalLineWithPostingSign`
- [123](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L123) validates [Table 6214 Sustainability Jnl. Line](https://jonas-paprotka.de/ref/table/6214-sustainability-jnl-line/) `CO2e Emission`
- [125](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L125) validates [Table 6214 Sustainability Jnl. Line](https://jonas-paprotka.de/ref/table/6214-sustainability-jnl-line/) `CO2e Emission`
- [127](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L127) validates [Table 6214 Sustainability Jnl. Line](https://jonas-paprotka.de/ref/table/6214-sustainability-jnl-line/) `Emission CO2`
- [128](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L128) validates [Table 6214 Sustainability Jnl. Line](https://jonas-paprotka.de/ref/table/6214-sustainability-jnl-line/) `Emission CH4`
- [129](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L129) validates [Table 6214 Sustainability Jnl. Line](https://jonas-paprotka.de/ref/table/6214-sustainability-jnl-line/) `Emission N2O`
- [131](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L131) validates [Table 6214 Sustainability Jnl. Line](https://jonas-paprotka.de/ref/table/6214-sustainability-jnl-line/) `Correction`
- [132](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L132) validates [Table 6214 Sustainability Jnl. Line](https://jonas-paprotka.de/ref/table/6214-sustainability-jnl-line/) `Country/Region Code`
- [133](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L133) calls [Codeunit 6212 Sustainability Post Mgt](https://jonas-paprotka.de/ref/codeunit/6212-sustainability-post-mgt/) `InsertValueEntry`

## GetTotalCO2eFromProdOrder

[Line 136](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L136), local.

- [145](https://jonas-paprotka.de/ref/codeunit/6256-sust-item-post-subscriber/source/#L145) calls [Codeunit 6212 Sustainability Post Mgt](https://jonas-paprotka.de/ref/codeunit/6212-sustainability-post-mgt/) `IsCarbonTrackingSpecificItem`

## Source

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

JOP-AL, 2026-11-20.
