{"title":"Codeunit 6273 Sust. Excise Jnl.-Check, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/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":6273,"name":"Sust. Excise Jnl.-Check","app":"Sustainability","url":"https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/","path":"src/Apps/W1/Sustainability/app/src/ExciseTax/SustExciseJnlCheck.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:28":{"name":"Error Message Management","url":"https://jonas-paprotka.de/ref/codeunit/28-error-message-management/"},"table:6240":{"name":"Sust. Excise Jnl. Line","url":"https://jonas-paprotka.de/ref/table/6240-sust-excise-jnl-line/"},"codeunit:6273":{"name":"Sust. Excise Jnl.-Check","url":"https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/"},"codeunit:408":{"name":"DimensionManagement","url":"https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/"}},"procs":[{"name":"CheckSustainabilityExciseJournalLineWithErrorCollect","line":30,"kind":"procedure","params":2,"steps":[[34,"call","TryCheckJournalLine",1],[35,"ext","codeunit",28,"InsertTempLineErrorMessage",6],[37,"ext","codeunit",28,"CollectErrors",1]]},{"name":"CheckAllExciseJournalLinesWithErrorCollect","line":41,"kind":"procedure","params":2,"steps":[[45,"call","CheckSustainabilityExciseJournalLineWithErrorCollect",2]]},{"name":"CheckSustainabilityExciseJournalLine","line":49,"kind":"procedure","params":1,"steps":[[61,"validate",6240,"Document Type"],[62,"call","TestRequiredFieldsFromSetupForJnlLine",1],[79,"event","OnBeforeTestEmissionAmount",1],[81,"call","TestEmissionAmount",1],[83,"call","TestDimensionsForJnlLine",1],[85,"event","OnAfterCheckSustainabilityExciseJournalLine",0]]},{"name":"TryCheckJournalLine","line":89,"kind":"procedure","access":"local","params":1,"steps":[[93,"ext","codeunit",6273,"CheckSustainabilityExciseJournalLine",1]]},{"name":"TestEmissionAmount","line":96,"kind":"procedure","access":"local","params":1,"steps":[[98,"call","AllEmissionsZeroCheck",1]]},{"name":"TestDimensionsForJnlLine","line":120,"kind":"procedure","access":"local","params":1,"steps":[[126,"ext","codeunit",408,"CheckDimIDComb",1],[127,"ext","codeunit",408,"GetDimCombErr",0],[139,"ext","table",6240,"ExciseLineTypeToTableID",1],[142,"ext","codeunit",408,"CheckDimValuePosting",3],[143,"ext","codeunit",408,"GetDimValuePostingErr",0]]}]}