{"title":"Codeunit 6221 Check Sust. Jnl. Line. Backgr., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6221-check-sust-jnl-line-backgr/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":6221,"name":"Check Sust. Jnl. Line. Backgr.","app":"Sustainability","url":"https://jonas-paprotka.de/ref/codeunit/6221-check-sust-jnl-line-backgr/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6221-check-sust-jnl-line-backgr/source/","path":"src/Apps/W1/Sustainability/app/src/Posting/CheckSustJnlLineBackgr.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:9080":{"name":"Error Handling Parameters","url":"https://jonas-paprotka.de/ref/table/9080-error-handling-parameters/"},"codeunit:6216":{"name":"Sustainability Jnl.-Check","url":"https://jonas-paprotka.de/ref/codeunit/6216-sustainability-jnl-check/"},"codeunit:28":{"name":"Error Message Management","url":"https://jonas-paprotka.de/ref/codeunit/28-error-message-management/"}},"procs":[{"name":"OnRun","line":10,"kind":"trigger","steps":[[14,"call","RunCheck",2],[15,"call","PackErrorMessagesToResults",1]]},{"name":"RunCheck","line":18,"kind":"procedure","access":"local","params":2,"steps":[[24,"ext","table",9080,"FromArgs",1],[29,"ext","codeunit",6216,"CheckAllJournalLinesWithErrorCollect",2],[34,"ext","codeunit",6216,"CheckSustainabilityJournalLineWithErrorCollect",2]]},{"name":"PackErrorMessagesToResults","line":38,"kind":"procedure","access":"local","params":1,"steps":[[44,"ext","codeunit",28,"ErrorMessage2JSON",1]]}]}