{"title":"Codeunit 1994 Guided Experience Item Cleanup, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1994-guided-experience-item-cleanup/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":"codeunit","id":1994,"name":"Guided Experience Item Cleanup","app":"System Application","url":"https://jonas-paprotka.de/ref/codeunit/1994-guided-experience-item-cleanup/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1994-guided-experience-item-cleanup/source/","path":"src/System Application/App/Guided Experience/src/Guided Experience/GuidedExperienceItemCleanup.Codeunit.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:1990":{"name":"Guided Experience Item","url":"https://jonas-paprotka.de/ref/table/1990-guided-experience-item/"}},"procs":[{"name":"OnRun","line":19,"kind":"trigger","steps":[[21,"call","CleanupOldGuidedExperienceItems",2]]},{"name":"CleanupOldGuidedExperienceItems","line":24,"kind":"procedure","access":"internal","params":2,"steps":[[63,"call","DeleteDuplicatedGuidedExperienceItems",1]]},{"name":"DeleteDuplicatedGuidedExperienceItems","line":66,"kind":"procedure","access":"internal","params":1,"steps":[[73,"call","FindMaxVersionForGuidedExperienceItem",1],[84,"write",1990,"DeleteAll"],[92,"write",1990,"DeleteAll"]]},{"name":"GetDuplicatedGuidedExperienceItems","line":108,"kind":"procedure","access":"internal","params":2,"steps":[[130,"validate",1990,"Code"],[131,"write",1990,"Insert"]]}]}