{"title":"Codeunit 4314 Agent Task Log Entry, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/4314-agent-task-log-entry/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":4314,"name":"Agent Task Log Entry","app":"System Application","url":"https://jonas-paprotka.de/ref/codeunit/4314-agent-task-log-entry/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/4314-agent-task-log-entry/source/","path":"src/System Application/App/Agent/Troubleshooting/Internal/AgentTaskLogEntry.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":{"codeunit:5460":{"name":"Json","url":"https://jonas-paprotka.de/ref/codeunit/5460-json/"},"table:4300":{"name":"Agent JSON Buffer","url":"https://jonas-paprotka.de/ref/table/4300-agent-json-buffer/"},"codeunit:4300":{"name":"Agent Task Impl.","url":"https://jonas-paprotka.de/ref/codeunit/4300-agent-task-impl/"},"codeunit:4329":{"name":"Agent User Feedback","url":"https://jonas-paprotka.de/ref/codeunit/4329-agent-user-feedback/"}},"procs":[{"name":"FormatJsonTextForRichContent","line":18,"kind":"procedure","params":1,"steps":[[23,"ext","codeunit",5460,"InitializeCollection",1],[24,"ext","codeunit",5460,"GetCollectionAsText",1]]},{"name":"ExtractPageStack","line":32,"kind":"procedure","params":2,"steps":[[39,"write",4300,"DeleteAll"],[49,"write",4300,"Insert"],[50,"ext","table",4300,"SetJsonText",1]]},{"name":"ExtractAvailableTools","line":54,"kind":"procedure","params":2,"steps":[[60,"write",4300,"DeleteAll"],[65,"write",4300,"Insert"],[66,"ext","table",4300,"SetJsonText",1]]},{"name":"ExtractMemorizedData","line":70,"kind":"procedure","params":2,"steps":[[80,"write",4300,"DeleteAll"],[89,"write",4300,"Insert"],[90,"ext","table",4300,"SetJson",1]]},{"name":"ReadContext","line":94,"kind":"procedure","params":1,"steps":[[100,"call","GetDefaultEncoding",0]]},{"name":"ReadContext","line":105,"kind":"procedure","params":1,"steps":[[110,"call","GetDefaultEncoding",0]]},{"name":"OnFeedbackEventForAgentTaskLogEntryTable","line":120,"kind":"procedure","access":"local","params":3,"steps":[[129,"call","TryFindSourceTableIdIndex",3],[132,"call","TryGetSystemIdAtIndex",3],[139,"ext","codeunit",4300,"TryGetAgentRecordFromTaskId",2],[142,"ext","codeunit",4329,"GetAgentUserSecurityIdTok",0],[143,"ext","codeunit",4329,"GetAgentMetadataProviderTok",0],[144,"ext","codeunit",4329,"GetAgentTaskIdTok",0],[145,"ext","codeunit",4329,"GetAgentTaskLogEntryIdTok",0],[146,"ext","codeunit",4329,"GetAgentTaskLogEntryTypeTok",0]]}]}