{"title":"Codeunit 4303 Agent Task, obsolete","url":"https://jonas-paprotka.de/ref/codeunit/4303-agent-task/obsolete/","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":4303,"name":"Agent Task","app":"System Application","versions":"25-29","url":"https://jonas-paprotka.de/ref/codeunit/4303-agent-task/","json":"https://jonas-paprotka.de/ref/codeunit/4303-agent-task.json"},"aspect":"obsolete","total":4,"rows":[{"kind":"procedure","name":"SetStatusToReady(var AgentTask: Record \"Agent Task\")","obsolete":{"state":"Pending","reason":"Use the overload that takes AgentTaskID instead.","tag":"29.0"},"obsoleteSince":29,"last":29},{"kind":"procedure","name":"StopTask(var AgentTask: Record \"Agent Task\"; UserConfirm: Boolean)","obsolete":{"state":"Pending","reason":"Use the overload that takes AgentTaskID instead.","tag":"29.0"},"obsoleteSince":29,"last":29},{"kind":"procedure","name":"RestartTask(var AgentTask: Record \"Agent Task\"; UserConfirm: Boolean)","obsolete":{"state":"Pending","reason":"Use the overload that takes AgentTaskID instead.","tag":"29.0"},"obsoleteSince":29,"last":29},{"kind":"procedure","name":"GetCopilotCreditsConsumed(AgentTaskID: BigInteger)","obsolete":{"state":"Pending","reason":"Use the methods in the \"Agent Consumption Overview\" codeunit instead.","tag":"29.0"},"obsoleteSince":28,"last":29}]}