{"title":"Page 7498 Item From Picture, extension points 29","url":"https://jonas-paprotka.de/ref/page/7498-item-from-picture/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":7498,"name":"Item From Picture","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/7498-item-from-picture/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/7498-item-from-picture/source/","path":"src/Layers/W1/BaseApp/Inventory/Item/Picture/ItemFromPicture.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":{"codeunit:7499":{"name":"Item From Picture","url":"https://jonas-paprotka.de/ref/codeunit/7499-item-from-picture/"},"table:7499":{"name":"Item From Picture Buffer","url":"https://jonas-paprotka.de/ref/table/7499-item-from-picture-buffer/"},"table:2020":{"name":"Image Analysis Setup","url":"https://jonas-paprotka.de/ref/table/2020-image-analysis-setup/"},"codeunit:1511":{"name":"Notification Lifecycle Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/1511-notification-lifecycle-mgt/"},"codeunit:1336":{"name":"Item Templ. Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/1336-item-templ-mgt/"},"table:27":{"name":"Item","url":"https://jonas-paprotka.de/ref/table/27-item/"},"page:30":{"name":"Item Card","url":"https://jonas-paprotka.de/ref/page/30-item-card/"}},"procs":[{"name":"CategoryCode.OnValidate","line":42,"kind":"trigger","steps":[[46,"call","LoadAttributesFromCategory",0],[52,"ext","codeunit",7499,"IdentifyTemplateFromCategory",1],[55,"validate",7499,"ItemTemplateCode"]]},{"name":"TemplateCode.OnValidate","line":64,"kind":"trigger","steps":[[77,"call","LoadAttributesFromCategory",0]]},{"name":"OnOpenPage","line":87,"kind":"trigger","steps":[[93,"ext","codeunit",7499,"CanRunImageAnalysis",1],[93,"call","GetImageAnalysisTypes",0],[96,"ext","codeunit",7499,"ApprovePrivacyNotice",1],[99,"ext","codeunit",7499,"GetTelemetryCategory",0],[103,"ext","codeunit",7499,"ImportFile",1],[111,"ext","codeunit",7499,"AnalyzeImage",4],[111,"ext","codeunit",7499,"GetFirstMediaFromMediaSet",1],[111,"call","GetImageAnalysisTypes",0],[116,"write",7499,"Insert"],[118,"write",7499,"Modify"]]},{"name":"OnAfterGetCurrRecord","line":121,"kind":"trigger","steps":[[126,"call","LoadAttributesFromCategory",0],[128,"ext","table",2020,"GetSingleInstance",0],[131,"ext","codeunit",1511,"SendNotification",2]]},{"name":"OnQueryClosePage","line":136,"kind":"trigger","steps":[[139,"call","ClearMediaAndAttributes",0],[141,"call","SaveItemAndAttributes",0]]},{"name":"SaveItemAndAttributes","line":160,"kind":"procedure","access":"local","params":0,"steps":[[168,"ext","codeunit",1336,"CreateItemFromTemplate",3],[183,"write",27,"Insert",1],[187,"validate",27,"Item Category Code"],[188,"validate",27,"Description"],[188,"ext","codeunit",7499,"GenerateItemDescription",1],[191,"write",27,"Modify"],[195,"run","page",30]]},{"name":"ClearMediaAndAttributes","line":198,"kind":"procedure","access":"local","params":0,"steps":[[200,"ext","codeunit",7499,"CleanTenantMediaSet",1]]}]}