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

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

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

## OnAfterResLedgEntryInsert

[Line 16](https://jonas-paprotka.de/ref/codeunit/6286-sust-resource-post-subscriber/source/#L16), local.

- [18](https://jonas-paprotka.de/ref/codeunit/6286-sust-resource-post-subscriber/source/#L18) calls `CanCreateSustValueEntry`
- [19](https://jonas-paprotka.de/ref/codeunit/6286-sust-resource-post-subscriber/source/#L19) calls `PostSustainabilityValueEntry`

## CanCreateSustValueEntry

[Line 22](https://jonas-paprotka.de/ref/codeunit/6286-sust-resource-post-subscriber/source/#L22), local.

- [24](https://jonas-paprotka.de/ref/codeunit/6286-sust-resource-post-subscriber/source/#L24) calls [Table 6217 Sustainability Setup](https://jonas-paprotka.de/ref/table/6217-sustainability-setup/) `IsValueChainTrackingEnabled`

## PostSustainabilityValueEntry

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

- [39](https://jonas-paprotka.de/ref/codeunit/6286-sust-resource-post-subscriber/source/#L39) validates [Table 6214 Sustainability Jnl. Line](https://jonas-paprotka.de/ref/table/6214-sustainability-jnl-line/) `Posting Date`
- [40](https://jonas-paprotka.de/ref/codeunit/6286-sust-resource-post-subscriber/source/#L40) validates [Table 6214 Sustainability Jnl. Line](https://jonas-paprotka.de/ref/table/6214-sustainability-jnl-line/) `Document No.`
- [41](https://jonas-paprotka.de/ref/codeunit/6286-sust-resource-post-subscriber/source/#L41) validates [Table 6214 Sustainability Jnl. Line](https://jonas-paprotka.de/ref/table/6214-sustainability-jnl-line/) `Account No.`
- [42](https://jonas-paprotka.de/ref/codeunit/6286-sust-resource-post-subscriber/source/#L42) validates [Table 6214 Sustainability Jnl. Line](https://jonas-paprotka.de/ref/table/6214-sustainability-jnl-line/) `Reason Code`
- [43](https://jonas-paprotka.de/ref/codeunit/6286-sust-resource-post-subscriber/source/#L43) validates [Table 6214 Sustainability Jnl. Line](https://jonas-paprotka.de/ref/table/6214-sustainability-jnl-line/) `Account Category`
- [44](https://jonas-paprotka.de/ref/codeunit/6286-sust-resource-post-subscriber/source/#L44) validates [Table 6214 Sustainability Jnl. Line](https://jonas-paprotka.de/ref/table/6214-sustainability-jnl-line/) `Account Subcategory`
- [45](https://jonas-paprotka.de/ref/codeunit/6286-sust-resource-post-subscriber/source/#L45) validates [Table 6214 Sustainability Jnl. Line](https://jonas-paprotka.de/ref/table/6214-sustainability-jnl-line/) `Unit of Measure`
- [49](https://jonas-paprotka.de/ref/codeunit/6286-sust-resource-post-subscriber/source/#L49) validates [Table 6214 Sustainability Jnl. Line](https://jonas-paprotka.de/ref/table/6214-sustainability-jnl-line/) `CO2e Emission`
- [50](https://jonas-paprotka.de/ref/codeunit/6286-sust-resource-post-subscriber/source/#L50) calls [Codeunit 6212 Sustainability Post Mgt](https://jonas-paprotka.de/ref/codeunit/6212-sustainability-post-mgt/) `InsertValueEntry`

## Source

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

JOP-AL, 2026-11-20.
