Source AL, 252 lines
src/System Application/App/Agent/Interaction/AgentMessage.Codeunit.allines 10 to 25 of 252, Copyright (c) Microsoft Corporation. MIT
codeunit 4307 "Agent Message"{ InherentEntitlements = X; InherentPermissions = X; var FeatureAccessManagement: Codeunit "Feature Access Management"; /// <summary> /// Get the message text for the given agent task message. /// </summary> /// <param name="TaskID">The task ID of the message.</param> /// <param name="MessageID">The unique identifier of the message.</param> /// <returns>The body of the agent task message.</returns> procedure GetText(TaskID: BigInteger; MessageID: Guid): Text var
All 252 lines
Public procedures 17 in 29
| GetText(var AgentTaskMessage: Record "Agent Task Message"): Text | new in 25 |
| UpdateText(var AgentTaskMessage: Record "Agent Task Message"; NewMessageText: Text) | new in 25 |
| Pending, tag 29.0, obsolete since 29: Use the overload that takes TaskID and MessageID instead. |
| IsEditable(var AgentTaskMessage: Record "Agent Task Message"): Boolean | new in 25 |
| SetStatusToSent(var AgentTaskMessage: Record "Agent Task Message") | new in 25 |
| Pending, tag 29.0, obsolete since 29: Use the overload that takes TaskID and MessageID instead. |
| DownloadAttachments(var AgentTaskMessage: Record "Agent Task Message") | new in 25 |
| AddAttachment(var AgentTaskMessage: Record "Agent Task Message"; FileName: Text[250]; FileMIMEType: Text[100]; Attachment: InStream) | new in 26 |
All 17 procedures
Changes 4 in 29
| UpdateText(var AgentTaskMessage: Record "Agent Task Message"; NewMessageText: Text) | new in 25 |
| marked Pending, tag 29.0: Use the overload that takes TaskID and MessageID instead. |
| SetStatusToSent(var AgentTaskMessage: Record "Agent Task Message") | new in 25 |
| marked Pending, tag 29.0: Use the overload that takes TaskID and MessageID instead. |
| SetStatusToFailed(TaskID: BigInteger; MessageID: Guid; StatusReason: Text[250]) | new in 29 |
| added |
| SetStatusToReviewed(TaskID: BigInteger; MessageID: Guid) | new in 29 |
| added |
All 14 changes in 25-29