{"title":"Codeunit 6272 Sustainability Excise Post Mgt, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6272-sustainability-excise-post-mgt/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":6272,"name":"Sustainability Excise Post Mgt","app":"Sustainability","url":"https://jonas-paprotka.de/ref/codeunit/6272-sustainability-excise-post-mgt/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6272-sustainability-excise-post-mgt/source/","path":"src/Apps/W1/Sustainability/app/src/ExciseTax/SustainabilityExcisePostMgt.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":{"codeunit:8703":{"name":"Feature Telemetry","url":"https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/"},"table:6241":{"name":"Sust. Excise Taxes Trans. Log","url":"https://jonas-paprotka.de/ref/table/6241-sust-excise-taxes-trans-log/"},"table:123":{"name":"Purch. Inv. Line","url":"https://jonas-paprotka.de/ref/table/123-purch-inv-line/"},"table:32":{"name":"Item Ledger Entry","url":"https://jonas-paprotka.de/ref/table/32-item-ledger-entry/"},"table:113":{"name":"Sales Invoice Line","url":"https://jonas-paprotka.de/ref/table/113-sales-invoice-line/"}},"procs":[{"name":"InsertExciseTaxesTransactionLog","line":21,"kind":"procedure","params":1,"steps":[[28,"ext","codeunit",8703,"LogUsage",3],[29,"ext","codeunit",8703,"LogUptake",3],[33,"ext","table",6241,"CopyFromSustainabilityExciseJnlLine",1],[34,"call","CopyDataFromBatch",2],[36,"call","UpdateDataFromLogType",1],[37,"write",6241,"Insert",1],[38,"event","OnAfterInsertExciseTaxesTransactionLog",0]]},{"name":"CopyDataFromBatch","line":75,"kind":"procedure","access":"local","params":2,"steps":[[81,"validate",6241,"Log Type"]]},{"name":"UpdateDataFromLogType","line":84,"kind":"procedure","access":"local","params":1,"steps":[[91,"call","UpdateCBAMReportedForLogTypeCBAM",1],[93,"call","UpdateEPRReportedForLogTypeEPR",1]]},{"name":"UpdateCBAMReportedForLogTypeCBAM","line":97,"kind":"procedure","access":"local","params":1,"steps":[[104,"validate",123,"CBAM Reported"],[105,"write",123,"Modify"]]},{"name":"UpdateEPRReportedForLogTypeEPR","line":108,"kind":"procedure","access":"local","params":1,"steps":[[115,"validate",32,"EPR Reported"],[116,"write",32,"Modify"]]},{"name":"UpdateEPRReportedForLogTypeEPR","line":128,"kind":"procedure","access":"local","params":1,"steps":[[136,"validate",113,"EPR Reported"],[137,"write",113,"Modify"]]}]}