{"title":"Codeunit 5052 AttachmentManagement, procedures","url":"https://jonas-paprotka.de/ref/codeunit/5052-attachmentmanagement/procedures/","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":5052,"name":"AttachmentManagement","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/5052-attachmentmanagement/","json":"https://jonas-paprotka.de/ref/codeunit/5052-attachmentmanagement.json"},"aspect":"procedures","total":8,"rows":[{"name":"InsertAttachment","sig":"(Integer)","named":"(AttachmentNo: Integer)","returns":"Integer","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(AttachmentNo: Integer)","returns":"Integer","kind":"procedure","access":"public","obsolete":null}]},{"name":"Send","sig":"(var Record Delivery Sorter)","named":"(var DeliverySorter: Record \"Delivery Sorter\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var DeliverySorter: Record \"Delivery Sorter\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"SendUsingExchange","sig":"(var Record Delivery Sorter)","named":"(var DeliverySorter: Record \"Delivery Sorter\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var DeliverySorter: Record \"Delivery Sorter\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"InteractionEMail","sig":"(var Record Interaction Log Entry)","named":"(var InteractionLogEntry: Record \"Interaction Log Entry\")","returns":"Text[80]","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":21,"named":"(var InteractLogEntry: Record \"Interaction Log Entry\")","returns":"Text[80]","kind":"procedure","access":"public","obsolete":null},{"from":22,"to":29,"named":"(var InteractionLogEntry: Record \"Interaction Log Entry\")","returns":"Text[80]","kind":"procedure","access":"public","obsolete":null}]},{"name":"InteractionFax","sig":"(var Record Interaction Log Entry)","named":"(var InteractLogEntry: Record \"Interaction Log Entry\")","returns":"Text[30]","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Fax is not supported anymore.","tag":"23.0"},"range":"17-25","first":17,"last":25,"obsoleteSince":22,"spans":[{"from":17,"to":21,"named":"(var InteractLogEntry: Record \"Interaction Log Entry\")","returns":"Text[30]","kind":"procedure","access":"public","obsolete":null},{"from":22,"to":25,"named":"(var InteractLogEntry: Record \"Interaction Log Entry\")","returns":"Text[30]","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Fax is not supported anymore.","tag":"23.0"}}]},{"name":"GenerateHTMLContent","sig":"(var Record Attachment, Record Segment Line)","named":"(var Attachment: Record Attachment; SegmentLine: Record \"Segment Line\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var Attachment: Record Attachment; SegmentLine: Record \"Segment Line\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]},{"name":"LoadHTMLContent","sig":"(var Record Attachment, Record Segment Line)","named":"(var Attachment: Record Attachment; SegmentLine: Record \"Segment Line\")","returns":"Text","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var Attachment: Record Attachment; SegmentLine: Record \"Segment Line\")","returns":"Text","kind":"procedure","access":"public","obsolete":null}]},{"name":"ConvertCorrespondenceType","sig":"(Option)","named":"(CorrespondenceType: Option \"Same as Entry\",\"Hard Copy\",Email)","returns":"Enum Correspondence Type","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":22,"spans":[{"from":17,"to":21,"named":"(CorrespondenceType: Option \"Same as Entry\",\"Hard Copy\",Email,Fax)","returns":"Enum Correspondence Type","kind":"procedure","access":"public","obsolete":null},{"from":22,"to":25,"named":"(CorrespondenceType: Option \"Same as Entry\",\"Hard Copy\",Email,Fax)","returns":"Enum Correspondence Type","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Correspondence Type Fax is obsolete and will be removed.","tag":"23.0"}},{"from":26,"to":29,"named":"(CorrespondenceType: Option \"Same as Entry\",\"Hard Copy\",Email)","returns":"Enum Correspondence Type","kind":"procedure","access":"public","obsolete":null}]}]}