{"title":"Codeunit 6286 Sust. Resource Post Subscriber, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6286-sust-resource-post-subscriber/points/","author":"JOP-AL","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/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":6286,"name":"Sust. Resource Post Subscriber","app":"Sustainability","url":"https://jonas-paprotka.de/ref/codeunit/6286-sust-resource-post-subscriber/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6286-sust-resource-post-subscriber/source/","path":"src/Apps/W1/Sustainability/app/src/Posting/SustResourcePostSubscriber.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"table:6217":{"name":"Sustainability Setup","url":"https://jonas-paprotka.de/ref/table/6217-sustainability-setup/"},"table:6214":{"name":"Sustainability Jnl. Line","url":"https://jonas-paprotka.de/ref/table/6214-sustainability-jnl-line/"},"codeunit:6212":{"name":"Sustainability Post Mgt","url":"https://jonas-paprotka.de/ref/codeunit/6212-sustainability-post-mgt/"}},"procs":[{"name":"OnAfterResLedgEntryInsert","line":16,"kind":"procedure","access":"local","params":2,"steps":[[18,"call","CanCreateSustValueEntry",1],[19,"call","PostSustainabilityValueEntry",2]]},{"name":"CanCreateSustValueEntry","line":22,"kind":"procedure","access":"local","params":1,"steps":[[24,"ext","table",6217,"IsValueChainTrackingEnabled",0]]},{"name":"PostSustainabilityValueEntry","line":30,"kind":"procedure","access":"local","params":2,"steps":[[39,"validate",6214,"Posting Date"],[40,"validate",6214,"Document No."],[41,"validate",6214,"Account No."],[42,"validate",6214,"Reason Code"],[43,"validate",6214,"Account Category"],[44,"validate",6214,"Account Subcategory"],[45,"validate",6214,"Unit of Measure"],[49,"validate",6214,"CO2e Emission"],[50,"ext","codeunit",6212,"InsertValueEntry",2]]}]}