{"title":"Page 1173 Document Attachment Details, extension points 29","url":"https://jonas-paprotka.de/ref/page/1173-document-attachment-details/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":1173,"name":"Document Attachment Details","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/1173-document-attachment-details/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/1173-document-attachment-details/source/","path":"src/Layers/W1/BaseApp/Foundation/Attachment/DocumentAttachmentDetails.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":{"table:1173":{"name":"Document Attachment","url":"https://jonas-paprotka.de/ref/table/1173-document-attachment/"},"codeunit:1630":{"name":"Office Management","url":"https://jonas-paprotka.de/ref/codeunit/1630-office-management/"},"codeunit:1631":{"name":"Office Host Management","url":"https://jonas-paprotka.de/ref/codeunit/1631-office-host-management/"},"codeunit:9560":{"name":"Document Sharing","url":"https://jonas-paprotka.de/ref/codeunit/9560-document-sharing/"},"codeunit:1173":{"name":"Document Attachment Mgmt","url":"https://jonas-paprotka.de/ref/codeunit/1173-document-attachment-mgmt/"},"codeunit:419":{"name":"File Management","url":"https://jonas-paprotka.de/ref/codeunit/419-file-management/"}},"procs":[{"name":"Name.OnDrillDown","line":32,"kind":"trigger","steps":[[36,"ext","table",1173,"HasContent",0],[37,"ext","table",1173,"SupportedByFileViewer",0],[38,"ext","table",1173,"ViewFile",0],[40,"ext","table",1173,"Export",1],[43,"call","InitiateUploadFile",0],[49,"call","InitiateAttachFromEmail",0],[51,"call","InitiateUploadFile",0]]},{"name":"OpenInOneDrive.OnAction","line":120,"kind":"trigger","steps":[[122,"ext","table",1173,"OpenInOneDrive",1]]},{"name":"EditInOneDrive.OnAction","line":135,"kind":"trigger","steps":[[137,"ext","table",1173,"OpenInOneDrive",1]]},{"name":"ShareWithOneDrive.OnAction","line":149,"kind":"trigger","steps":[[151,"ext","table",1173,"OpenInOneDrive",1]]},{"name":"OpenInFileViewer.OnAction","line":163,"kind":"trigger","steps":[[165,"ext","table",1173,"ViewFile",0]]},{"name":"Preview.OnAction","line":177,"kind":"trigger","steps":[[180,"ext","table",1173,"Export",1]]},{"name":"AttachFromEmail.OnAction","line":193,"kind":"trigger","steps":[[195,"call","InitiateAttachFromEmail",0]]},{"name":"AttachFromEmail.OnAction","line":209,"kind":"trigger","steps":[[213,"ext","table",1173,"SaveAttachment",2]]},{"name":"UploadFile.OnAction","line":226,"kind":"trigger","steps":[[228,"call","InitiateUploadFile",0]]},{"name":"OnInit","line":267,"kind":"trigger","steps":[[270,"ext","codeunit",1630,"IsAvailable",0],[273,"ext","codeunit",1631,"EmailHasAttachments",0]]},{"name":"OnAfterGetCurrRecord","line":278,"kind":"trigger","steps":[[285,"ext","codeunit",1630,"IsAvailable",0],[285,"ext","codeunit",1630,"IsPopOut",0],[289,"ext","table",1173,"HasContent",0],[289,"ext","codeunit",9560,"ShareEnabled",0],[290,"ext","codeunit",9560,"EditEnabledForFile",1],[292,"ext","table",1173,"HasContent",0],[293,"ext","table",1173,"SupportedByFileViewer",0]]},{"name":"InitiateAttachFromEmail","line":328,"kind":"procedure","params":0,"steps":[[330,"ext","codeunit",1630,"InitiateSendToAttachments",1]]},{"name":"InitiateUploadFile","line":334,"kind":"procedure","params":0,"steps":[[340,"call","ImportWithFilter",2],[342,"ext","table",1173,"SaveAttachment",3]]},{"name":"OpenForRecRef","line":358,"kind":"procedure","params":1,"steps":[[366,"ext","codeunit",1173,"IsSalesDocumentFlow",1],[367,"ext","codeunit",1173,"IsPurchaseDocumentFlow",1],[368,"ext","codeunit",1173,"IsServiceDocumentFlow",1],[369,"ext","codeunit",1173,"IsProductionDocumentFlow",1],[370,"ext","codeunit",1173,"IsFlowFieldsEditable",1],[372,"ext","codeunit",1173,"SetDocumentAttachmentFiltersForRecRefInternal",3],[374,"event","OnAfterOpenForRecRef",0]]},{"name":"ImportWithFilter","line":377,"kind":"procedure","access":"local","params":2,"steps":[[383,"event","OnBeforeImportWithFilter",1],[387,"ext","codeunit",419,"BLOBImportWithFilter",5]]}]}