{"title":"Table 6212 Sustain. Account Subcategory, extension points 29","url":"https://jonas-paprotka.de/ref/table/6212-sustain-account-subcategory/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":"table","id":6212,"name":"Sustain. Account Subcategory","app":"Sustainability","url":"https://jonas-paprotka.de/ref/table/6212-sustain-account-subcategory/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/6212-sustain-account-subcategory/source/","path":"src/Apps/W1/Sustainability/app/src/Account/SustainAccountSubcategory.Table.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:6210":{"name":"Sustainability Account","url":"https://jonas-paprotka.de/ref/table/6210-sustainability-account/"},"table:6216":{"name":"Sustainability Ledger Entry","url":"https://jonas-paprotka.de/ref/table/6216-sustainability-ledger-entry/"},"codeunit:6210":{"name":"Sustainability Account Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/6210-sustainability-account-mgt/"}},"procs":[{"name":"Emission Factor CO2.OnValidate","line":38,"kind":"trigger","steps":[[41,"call","CheckSustAccountSubCategoryByField",2],[43,"call","CheckIfChangeAllowedAndRecalculateJournalLines",1]]},{"name":"Emission Factor CH4.OnValidate","line":53,"kind":"trigger","steps":[[56,"call","CheckSustAccountSubCategoryByField",2],[58,"call","CheckIfChangeAllowedAndRecalculateJournalLines",1]]},{"name":"Emission Factor N2O.OnValidate","line":68,"kind":"trigger","steps":[[71,"call","CheckSustAccountSubCategoryByField",2],[73,"call","CheckIfChangeAllowedAndRecalculateJournalLines",1]]},{"name":"Water Intensity Factor.OnValidate","line":103,"kind":"trigger","steps":[[106,"call","CheckSustAccountSubCategoryByField",2],[108,"call","CheckIfChangeAllowedAndRecalculateJournalLines",1]]},{"name":"Discharged Into Water Factor.OnValidate","line":117,"kind":"trigger","steps":[[120,"call","CheckSustAccountSubCategoryByField",2],[122,"call","CheckIfChangeAllowedAndRecalculateJournalLines",1]]},{"name":"Waste Intensity Factor.OnValidate","line":131,"kind":"trigger","steps":[[134,"call","CheckSustAccountSubCategoryByField",2],[136,"call","CheckIfChangeAllowedAndRecalculateJournalLines",1]]},{"name":"OnDelete","line":164,"kind":"trigger","steps":[[172,"write",6210,"ModifyAll"],[177,"write",6216,"ModifyAll"]]},{"name":"CheckIfChangeAllowedAndRecalculateJournalLines","line":189,"kind":"procedure","access":"local","params":1,"steps":[[193,"ext","codeunit",6210,"CheckIfChangeAllowedForSubcategory",2],[194,"ext","codeunit",6210,"ReCalculateJournalLinesForSubcategory",1]]}]}