{"title":"Page 4408 SOA Create Task Attachments, extension points 29","url":"https://jonas-paprotka.de/ref/page/4408-soa-create-task-attachments/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":4408,"name":"SOA Create Task Attachments","app":"Sales Order Agent","url":"https://jonas-paprotka.de/ref/page/4408-soa-create-task-attachments/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/4408-soa-create-task-attachments/source/","path":"src/Apps/W1/SalesOrderAgent/app/src/Integration/SOACreateTaskAttachments.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:4316":{"name":"Agent Task Message Builder","url":"https://jonas-paprotka.de/ref/codeunit/4316-agent-task-message-builder/"},"table:2000000274":{"name":"Agent Task File","url":"https://jonas-paprotka.de/ref/table/2000000274-agent-task-file/"},"codeunit:4307":{"name":"Agent Message","url":"https://jonas-paprotka.de/ref/codeunit/4307-agent-message/"},"codeunit:4100":{"name":"Temp Blob","url":"https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/"}},"procs":[{"name":"FileName.OnDrillDown","line":38,"kind":"trigger","steps":[[40,"call","ShowOrDownloadAttachment",0]]},{"name":"Add.OnAction","line":73,"kind":"trigger","steps":[[82,"ext","codeunit",4316,"UploadAttachment",0],[85,"ext","codeunit",4316,"GetLastAttachment",0],[87,"write",2000000274,"Insert"]]},{"name":"Remove.OnAction","line":97,"kind":"trigger","steps":[[99,"write",2000000274,"Delete"]]},{"name":"Remove.OnAfterGetRecord","line":105,"kind":"trigger","steps":[[109,"ext","codeunit",4307,"GetFileSizeDisplayText",1]]},{"name":"GetUploadedFiles","line":112,"kind":"procedure","access":"internal","params":1,"steps":[[121,"write",2000000274,"Insert"]]},{"name":"ClearAttachments","line":127,"kind":"procedure","access":"internal","params":0,"steps":[[130,"write",2000000274,"DeleteAll"]]},{"name":"AddSampleAttachment","line":134,"kind":"procedure","access":"internal","params":3,"steps":[[148,"ext","codeunit",4100,"CreateInStream",1],[151,"write",2000000274,"Insert"]]},{"name":"ShowOrDownloadAttachment","line":155,"kind":"procedure","access":"local","params":0,"steps":[[159,"ext","codeunit",4307,"ShowAttachment",1]]}]}