{"title":"Page 5734 Item Category Attributes, extension points 29","url":"https://jonas-paprotka.de/ref/page/5734-item-category-attributes/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":5734,"name":"Item Category Attributes","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/5734-item-category-attributes/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/5734-item-category-attributes/source/","path":"src/Layers/W1/BaseApp/Inventory/Item/Attribute/ItemCategoryAttributes.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":{"table:7505":{"name":"Item Attribute Value Mapping","url":"https://jonas-paprotka.de/ref/table/7505-item-attribute-value-mapping/"},"codeunit:7500":{"name":"Item Attribute Management","url":"https://jonas-paprotka.de/ref/codeunit/7500-item-attribute-management/"},"table:7501":{"name":"Item Attribute Value","url":"https://jonas-paprotka.de/ref/table/7501-item-attribute-value/"},"table:7504":{"name":"Item Attribute Value Selection","url":"https://jonas-paprotka.de/ref/table/7504-item-attribute-value-selection/"},"table:7500":{"name":"Item Attribute","url":"https://jonas-paprotka.de/ref/table/7500-item-attribute/"}},"procs":[{"name":"Attribute Name.OnValidate","line":36,"kind":"trigger","steps":[[38,"call","PersistInheritanceData",0]]},{"name":"Value.OnValidate","line":49,"kind":"trigger","steps":[[51,"call","PersistInheritanceData",0],[52,"call","ChangeDefaultValue",0],[53,"call","HasBlankOptionAttributes",0],[54,"call","ClearBlankOptionAttributeNotification",0]]},{"name":"OnAfterGetCurrRecord","line":77,"kind":"trigger","steps":[[79,"call","UpdateProperties",0]]},{"name":"Inherited-From Key Value.OnAfterGetRecord","line":82,"kind":"trigger","steps":[[84,"call","UpdateProperties",0]]},{"name":"OnClosePage","line":87,"kind":"trigger","steps":[[89,"write",7505,"DeleteAll"]]},{"name":"OnDeleteRecord","line":92,"kind":"trigger","steps":[[106,"ext","codeunit",7500,"SearchCategoryItemsForAttribute",2],[112,"write",7501,"Insert"],[113,"call","DeleteRecentlyItemAttributeValueMapping",1],[114,"ext","codeunit",7500,"DeleteCategoryItemsAttributeValueMapping",2],[117,"write",7505,"Delete"],[119,"call","DeleteRecentlyItemAttributeValueMapping",1]]},{"name":"OnInsertRecord","line":122,"kind":"trigger","steps":[[133,"call","ShowBlankOptionAttributeNotification",1],[140,"ext","table",7504,"GetAttributeValueID",1],[141,"event","OnInsertRecordOnBeforeItemAttributeValueMappingInsert",0],[142,"write",7505,"Insert"],[143,"ext","codeunit",7500,"InsertCategoryItemsBufferedAttributeValueMapping",3],[145,"call","InsertRecentlyAddedCategoryAttribute",1]]},{"name":"OnQueryClosePage","line":149,"kind":"trigger","steps":[[151,"call","HasBlankOptionAttributes",0]]},{"name":"LoadAttributes","line":172,"kind":"procedure","params":1,"steps":[[181,"write",7504,"DeleteAll"],[184,"call","SortByInheritance",0],[186,"call","SetItemCategoryCode",1],[198,"event","OnLoadAttributesOnBeforeTempItemAttributeValueInsert",0],[199,"write",7501,"Insert"],[200,"call","AttributeExists",1],[202,"ext","table",7504,"InsertRecord",3],[204,"ext","table",7504,"InsertRecord",3],[206,"write",7504,"Modify"],[216,"call","SortByInheritance",0]]},{"name":"SaveAttributes","line":219,"kind":"procedure","params":1,"steps":[[230,"ext","table",7501,"LoadCategoryAttributesFactBoxData",1],[234,"ext","table",7504,"PopulateItemAttributeValue",1],[237,"write",7505,"DeleteAll"],[245,"event","OnSaveAttributesOnBeforeItemAttributeValueMappingInsert",0],[246,"write",7505,"Insert"],[248,"ext","table",7500,"RemoveUnusedArbitraryValues",0],[251,"ext","table",7501,"LoadCategoryAttributesFactBoxData",1],[252,"ext","codeunit",7500,"UpdateCategoryItemsAttributeValueMapping",4]]},{"name":"SetItemCategoryCode","line":262,"kind":"procedure","params":1,"steps":[[266,"write",7505,"DeleteAll"]]},{"name":"ChangeDefaultValue","line":291,"kind":"procedure","access":"local","params":0,"steps":[[302,"ext","table",7504,"GetAttributeValueID",1],[306,"write",7505,"Modify"],[309,"call","InsertItemAttributeValueMapping",3],[311,"call","IsRecentlyAddedCategoryAttribute",1],[312,"call","UpdateRecentlyItemAttributeValueMapping",1],[314,"ext","codeunit",7500,"SearchCategoryItemsForAttribute",2]]},{"name":"InsertRecentlyAddedCategoryAttribute","line":318,"kind":"procedure","access":"local","params":1,"steps":[[321,"write",7505,"Insert"]]},{"name":"UpdateRecentlyItemAttributeValueMapping","line":330,"kind":"procedure","access":"local","params":1,"steps":[[341,"validate",7505,"Item Attribute Value ID"],[342,"write",7505,"Modify"]]},{"name":"DeleteRecentlyItemAttributeValueMapping","line":346,"kind":"procedure","access":"local","params":1,"steps":[[349,"write",7505,"DeleteAll"],[350,"call","ClearBlankOptionAttributeNotification",0]]},{"name":"ShowBlankOptionAttributeNotification","line":358,"kind":"procedure","access":"local","params":1,"steps":[[362,"call","GetBlankOptionAttributeNotificationID",0]]},{"name":"ClearBlankOptionAttributeNotification","line":368,"kind":"procedure","access":"local","params":0,"steps":[[372,"call","GetBlankOptionAttributeNotificationID",0]]},{"name":"InsertItemAttributeValueMapping","line":392,"kind":"procedure","access":"local","params":3,"steps":[[401,"write",7505,"Insert"],[402,"call","InsertRecentlyAddedCategoryAttribute",1]]}]}