{"title":"Page 193 Incoming Doc. Attach. FactBox, extension points 29","url":"https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/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":193,"name":"Incoming Doc. Attach. FactBox","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/","path":"src/Layers/W1/BaseApp/eServices/EDocument/IncomingDocAttachFactBox.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:137":{"name":"Inc. Doc. Attachment Overview","url":"https://jonas-paprotka.de/ref/table/137-inc-doc-attachment-overview/"},"page:189":{"name":"Incoming Document","url":"https://jonas-paprotka.de/ref/page/189-incoming-document/"},"codeunit:419":{"name":"File Management","url":"https://jonas-paprotka.de/ref/codeunit/419-file-management/"},"codeunit:9510":{"name":"Document Service Management","url":"https://jonas-paprotka.de/ref/codeunit/9510-document-service-management/"},"codeunit:9560":{"name":"Document Sharing","url":"https://jonas-paprotka.de/ref/codeunit/9560-document-sharing/"},"table:133":{"name":"Incoming Document Attachment","url":"https://jonas-paprotka.de/ref/table/133-incoming-document-attachment/"},"codeunit:134":{"name":"Import Attachment - Inc. Doc.","url":"https://jonas-paprotka.de/ref/codeunit/134-import-attachment-inc-doc/"},"table:130":{"name":"Incoming Document","url":"https://jonas-paprotka.de/ref/table/130-incoming-document/"},"codeunit:701":{"name":"Data Type Management","url":"https://jonas-paprotka.de/ref/codeunit/701-data-type-management/"}},"procs":[{"name":"Name.OnDrillDown","line":33,"kind":"trigger","steps":[[35,"ext","table",137,"NameDrillDown",0]]},{"name":"UploadMainAttachment.OnAction","line":68,"kind":"trigger","steps":[[70,"call","UploadSingleAttachment",0]]},{"name":"UploadMainAttachment.OnAction","line":83,"kind":"trigger","steps":[[86,"call","UploadMultipleAttachments",1]]},{"name":"IncomingDoc.OnAction","line":98,"kind":"trigger","steps":[[104,"run","page",189],[107,"call","LoadDataFromIncomingDocument",1]]},{"name":"OpenInOneDrive.OnAction","line":118,"kind":"trigger","steps":[[131,"ext","codeunit",419,"StripNotsupportChrInFileName",1],[133,"ext","codeunit",9510,"OpenInOneDrive",3]]},{"name":"ShareToOneDrive.OnAction","line":144,"kind":"trigger","steps":[[157,"ext","codeunit",419,"StripNotsupportChrInFileName",1],[159,"ext","codeunit",9510,"ShareWithOneDrive",3]]},{"name":"OpenInFileViewer.OnAction","line":171,"kind":"trigger","steps":[[173,"ext","table",137,"NameDrillDown",0]]},{"name":"Export.OnAction","line":185,"kind":"trigger","steps":[[187,"ext","table",137,"NameDrillDown",1]]},{"name":"Export.OnAfterGetRecord","line":193,"kind":"trigger","steps":[[198,"ext","table",137,"GetStyleTxt",0],[200,"ext","table",137,"IsGroupOrLink",0],[200,"ext","codeunit",9560,"ShareEnabled",0],[201,"ext","table",137,"IsGroupOrLink",0],[202,"ext","table",133,"SupportedByFileViewer",0]]},{"name":"OnFindRecord","line":206,"kind":"trigger","steps":[[213,"call","FilterWasChanged",0],[217,"call","LoadDataFromOnFindRecord",0]]},{"name":"PrepareIncDocAttachmentBeforeUpload","line":238,"kind":"procedure","access":"local","params":1,"steps":[[250,"ext","table",133,"SetFiltersFromMainRecord",2]]},{"name":"UploadSingleAttachment","line":258,"kind":"procedure","access":"local","params":0,"steps":[[263,"call","PrepareIncDocAttachmentBeforeUpload",1],[265,"ext","table",133,"Import",1],[267,"call","LoadDataFromIncomingDocument",1]]},{"name":"UploadMultipleAttachments","line":270,"kind":"procedure","access":"local","params":1,"steps":[[276,"call","PrepareIncDocAttachmentBeforeUpload",1],[278,"ext","codeunit",134,"ImportMultiple",3],[280,"call","LoadDataFromIncomingDocument",1]]},{"name":"LoadDataFromOnFindRecord","line":283,"kind":"procedure","params":0,"steps":[[291,"call","FindIncomingDocumentFromFilters",1],[300,"write",137,"DeleteAll"],[305,"ext","table",137,"InsertFromIncomingDocument",2]]},{"name":"FindIncomingDocumentFromFilters","line":309,"kind":"procedure","access":"local","params":1,"steps":[[317,"ext","table",130,"FindByDocumentNoAndPostingDate",3]]},{"name":"LoadDataFromRecord","line":332,"kind":"procedure","params":1,"steps":[[339,"ext","codeunit",701,"GetRecordRef",2],[342,"event","OnLoadDataFromRecordOnBeforeDeleteAll",0],[343,"write",137,"DeleteAll"],[348,"call","GetIncomingDocumentRecord",2],[349,"ext","table",137,"InsertFromIncomingDocument",2],[351,"event","OnAfterLoadDataFromRecord",0]]},{"name":"LoadDataFromIncomingDocument","line":363,"kind":"procedure","params":1,"steps":[[365,"event","OnLoadDataFromIncomingDocumentOnBeforeDeleteAll",0],[366,"write",137,"DeleteAll"],[367,"ext","table",137,"InsertFromIncomingDocument",2]]},{"name":"GetIncomingDocumentRecord","line":371,"kind":"procedure","params":2,"steps":[[375,"ext","codeunit",701,"GetRecordRef",2],[383,"call","GetIncomingDocumentRecordFromRecordRef",2]]},{"name":"GetIncomingDocumentRecordFromRecordRef","line":391,"kind":"procedure","access":"local","params":2,"steps":[[393,"ext","table",130,"FindFromIncomingDocumentEntryNo",2],[395,"ext","table",130,"FindByDocumentNoAndPostingDate",2]]}]}