{"title":"Page 6226 Sustain. Jnl. Errors Factbox, extension points 29","url":"https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/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":"page","id":6226,"name":"Sustain. Jnl. Errors Factbox","app":"Sustainability","url":"https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/","path":"src/Apps/W1/Sustainability/app/src/Journal/SustainJnlErrorsFactbox.Page.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":{"page:700":{"name":"Error Messages","url":"https://jonas-paprotka.de/ref/page/700-error-messages/"},"codeunit:6220":{"name":"Sustain. Jnl. Errors Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/6220-sustain-jnl-errors-mgt/"},"table:9080":{"name":"Error Handling Parameters","url":"https://jonas-paprotka.de/ref/table/9080-error-handling-parameters/"},"table:700":{"name":"Error Message","url":"https://jonas-paprotka.de/ref/table/700-error-message/"}},"procs":[{"name":"NumberOfBatchErrors.OnDrillDown","line":41,"kind":"trigger","steps":[[45,"run","page",700]]},{"name":"Refresh.OnDrillDown","line":53,"kind":"trigger","steps":[[55,"ext","codeunit",6220,"BackgroundCheckEnabled",0],[56,"ext","codeunit",6220,"SetFullBatchCheck",1],[57,"call","CheckErrorsInBackground",0]]},{"name":"OnOpenPage","line":80,"kind":"trigger","steps":[[82,"ext","codeunit",6220,"BackgroundCheckEnabled",0],[83,"ext","codeunit",6220,"SetFullBatchCheck",1],[84,"call","CheckErrorsInBackground",0]]},{"name":"OnAfterGetCurrRecord","line":88,"kind":"trigger","steps":[[90,"ext","codeunit",6220,"BackgroundCheckEnabled",0],[91,"call","CheckErrorsInBackground",0]]},{"name":"OnPageBackgroundTaskCompleted","line":94,"kind":"trigger","steps":[[97,"ext","codeunit",6220,"GetErrorsFromSustJnlCheckResultValues",3],[98,"call","CalcErrors",0],[99,"call","GetNumberOfLines",0]]},{"name":"CheckErrorsInBackground","line":145,"kind":"procedure","access":"local","params":0,"steps":[[153,"ext","codeunit",6220,"CollectSustJnlCheckParameters",2],[154,"ext","table",9080,"ToArgs",1],[156,"ext","codeunit",6220,"GetDeletedSustJnlLine",2],[159,"call","DeletedDocumentToJson",1]]},{"name":"CalcErrors","line":166,"kind":"procedure","access":"local","params":0,"steps":[[190,"call","GetTotalErrorsStyle",0],[191,"call","GetCurrentLineStyle",0],[192,"call","GetNumberOfLinesWithErrors",0]]},{"name":"GetNumberOfLinesWithErrors","line":195,"kind":"procedure","access":"local","params":0,"steps":[[205,"write",700,"Insert"]]}]}