{"title":"Table 6211 Sustain. Account Category, extension points 29","url":"https://jonas-paprotka.de/ref/table/6211-sustain-account-category/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":6211,"name":"Sustain. Account Category","app":"Sustainability","url":"https://jonas-paprotka.de/ref/table/6211-sustain-account-category/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/","path":"src/Apps/W1/Sustainability/app/src/Account/SustainAccountCategory.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:6211":{"name":"Sustain. Account Category","url":"https://jonas-paprotka.de/ref/table/6211-sustain-account-category/"},"page:18":{"name":"G/L Account List","url":"https://jonas-paprotka.de/ref/page/18-g-l-account-list/"},"page:560":{"name":"Dimension Value List","url":"https://jonas-paprotka.de/ref/page/560-dimension-value-list/"},"table:6212":{"name":"Sustain. Account Subcategory","url":"https://jonas-paprotka.de/ref/table/6212-sustain-account-subcategory/"},"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 Scope.OnValidate","line":31,"kind":"trigger","steps":[[33,"call","CheckSustAccountCategoryByField",2],[34,"call","CheckIfChangeIsAllowedForCategory",1]]},{"name":"CO2.OnValidate","line":42,"kind":"trigger","steps":[[45,"call","CheckSustAccountCategoryByField",2],[47,"call","CheckSustAccountSubcategoryFactorByField",2],[49,"call","CheckIfChangeIsAllowedForCategory",1]]},{"name":"CH4.OnValidate","line":57,"kind":"trigger","steps":[[60,"call","CheckSustAccountCategoryByField",2],[62,"call","CheckSustAccountSubcategoryFactorByField",2],[64,"call","CheckIfChangeIsAllowedForCategory",1]]},{"name":"N2O.OnValidate","line":72,"kind":"trigger","steps":[[75,"call","CheckSustAccountCategoryByField",2],[77,"call","CheckSustAccountSubcategoryFactorByField",2],[79,"call","CheckIfChangeIsAllowedForCategory",1]]},{"name":"Calculation Foundation.OnValidate","line":86,"kind":"trigger","steps":[[88,"call","CheckIfChangeIsAllowedForCategory",1],[91,"validate",6211,"Custom Value"],[92,"validate",6211,"Calculate from General Ledger"]]},{"name":"Calculate from General Ledger.OnValidate","line":108,"kind":"trigger","steps":[[113,"validate",6211,"G/L Account Filter"],[114,"validate",6211,"Global Dimension 1 Filter"],[115,"validate",6211,"Global Dimension 2 Filter"]]},{"name":"G/L Account Filter.OnLookup","line":128,"kind":"trigger","steps":[[134,"validate",6211,"G/L Account Filter"],[134,"ext","page",18,"GetSelectionFilter",0]]},{"name":"Global Dimension 1 Filter.OnLookup","line":146,"kind":"trigger","steps":[[158,"validate",6211,"Global Dimension 1 Filter"],[158,"ext","page",560,"GetSelectionFilter",0]]},{"name":"Global Dimension 2 Filter.OnLookup","line":170,"kind":"trigger","steps":[[182,"validate",6211,"Global Dimension 2 Filter"],[182,"ext","page",560,"GetSelectionFilter",0]]},{"name":"Water Intensity.OnValidate","line":189,"kind":"trigger","steps":[[192,"call","CheckSustAccountCategoryByField",2],[194,"call","CheckSustAccountSubcategoryFactorByField",2],[196,"call","CheckIfChangeIsAllowedForCategory",1]]},{"name":"Discharged Into Water.OnValidate","line":203,"kind":"trigger","steps":[[206,"call","CheckSustAccountCategoryByField",2],[208,"call","CheckSustAccountSubcategoryFactorByField",2],[210,"call","CheckIfChangeIsAllowedForCategory",1]]},{"name":"Waste Intensity.OnValidate","line":217,"kind":"trigger","steps":[[220,"call","CheckSustAccountCategoryByField",2],[222,"call","CheckSustAccountSubcategoryFactorByField",2],[224,"call","CheckIfChangeIsAllowedForCategory",1]]},{"name":"OnDelete","line":237,"kind":"trigger","steps":[[239,"call","DeleteSubcategories",0],[240,"call","UpdateSustainabilityAccounts",0],[241,"call","UpdateSustainabilityEntries",0]]},{"name":"DeleteSubcategories","line":260,"kind":"procedure","access":"local","params":0,"steps":[[267,"write",6212,"DeleteAll",1]]},{"name":"UpdateSustainabilityAccounts","line":272,"kind":"procedure","access":"local","params":0,"steps":[[278,"write",6210,"ModifyAll"]]},{"name":"UpdateSustainabilityEntries","line":281,"kind":"procedure","access":"local","params":0,"steps":[[287,"write",6216,"ModifyAll"]]},{"name":"CheckIfChangeIsAllowedForCategory","line":290,"kind":"procedure","access":"local","params":1,"steps":[[294,"ext","codeunit",6210,"CheckIfChangeAllowedForCategory",2],[295,"ext","codeunit",6210,"ReCalculateJournalLinesForCategory",1]]}]}