{"title":"Table 5722 Item Category, extension points 29","url":"https://jonas-paprotka.de/ref/table/5722-item-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":5722,"name":"Item Category","app":"Base Application","url":"https://jonas-paprotka.de/ref/table/5722-item-category/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/5722-item-category/source/","path":"src/Layers/W1/BaseApp/Inventory/Item/ItemCategory.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":{"codeunit:7500":{"name":"Item Attribute Management","url":"https://jonas-paprotka.de/ref/codeunit/7500-item-attribute-management/"},"codeunit:5722":{"name":"Item Category Management","url":"https://jonas-paprotka.de/ref/codeunit/5722-item-category-management/"},"table:7501":{"name":"Item Attribute Value","url":"https://jonas-paprotka.de/ref/table/7501-item-attribute-value/"},"table:27":{"name":"Item","url":"https://jonas-paprotka.de/ref/table/27-item/"},"table:7505":{"name":"Item Attribute Value Mapping","url":"https://jonas-paprotka.de/ref/table/7505-item-attribute-value-mapping/"},"table:5722":{"name":"Item Category","url":"https://jonas-paprotka.de/ref/table/5722-item-category/"}},"procs":[{"name":"Parent Category.OnValidate","line":29,"kind":"trigger","steps":[[42,"ext","codeunit",7500,"UpdateCategoryAttributesAfterChangingParentCategory",3]]},{"name":"OnDelete","line":91,"kind":"trigger","steps":[[93,"call","HasChildren",0],[95,"call","UpdateDeletedCategoryItems",0],[96,"call","DeleteAssignedAttributes",0]]},{"name":"OnInsert","line":99,"kind":"trigger","steps":[[102,"call","UpdateIndentation",0],[103,"ext","codeunit",5722,"CalcPresentationOrder",1]]},{"name":"OnModify","line":107,"kind":"trigger","steps":[[109,"call","UpdateIndentation",0],[110,"ext","codeunit",5722,"CalcPresentationOrder",1]]},{"name":"GetStyleText","line":135,"kind":"procedure","params":0,"steps":[[140,"call","HasChildren",0]]},{"name":"UpdateDeletedCategoryItems","line":146,"kind":"procedure","access":"local","params":0,"steps":[[158,"ext","table",7501,"LoadCategoryAttributesFactBoxData",1],[161,"validate",27,"Item Category Code"],[162,"write",27,"Modify"],[164,"ext","codeunit",7500,"DeleteItemAttributeValueMapping",2]]},{"name":"DeleteAssignedAttributes","line":168,"kind":"procedure","access":"local","params":0,"steps":[[174,"write",7505,"DeleteAll"]]},{"name":"UpdateIndentation","line":177,"kind":"procedure","access":"local","params":0,"steps":[[182,"call","UpdateIndentationTree",1],[184,"call","UpdateIndentationTree",1]]},{"name":"UpdateIndentationTree","line":188,"kind":"procedure","params":1,"steps":[[197,"ext","table",5722,"UpdateIndentationTree",1],[198,"write",5722,"Modify"]]}]}