Codeunit 9560 "Document Sharing"
System Application · System.Integration
Across versions
- BC23-30present
Neighbourhood 19 connected objects and pages
System Application · System.Integration · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Public |
| TableNo | Document Sharing |
Events published
OnUploadDocument(var DocumentSharing: Record "Document Sharing" temporary; var Handled: Boolean)(integration): Raised when the document needs to be uploaded.- subscribers: Codeunit 9510 “Document Service Management” OnUploadDocument
OnCanUploadDocument(var CanUpload: Boolean)(integration): Raised to test if there are any document services that can handle the upload.- subscribers: Codeunit 9510 “Document Service Management” OnCanUploadDocument
OnCanUploadSystemDocument(var CanUpload: Boolean)(integration): Raised to test if there are any document services that can handle the upload for a system document.- subscribers: Codeunit 9510 “Document Service Management” OnCanUploadSystemDocument
OnGetFileContents(var DocumentSharing: Record "Document Sharing" temporary; var Handled: Boolean)(integration)- subscribers: Codeunit 9510 “Document Service Management” OnGetFileContents
OnDeleteDocument(var DocumentSharing: Record "Document Sharing" temporary; var Handled: Boolean)(integration)- subscribers: Codeunit 9510 “Document Service Management” OnDeleteDocument
Procedures
EditEnabledForFile(FileName: Text): Boolean: Checks if Document can be edited online.
Triggers
OnRun
Relations
- runs on Table 9560 “Document Sharing”
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 9561 “Document Sharing Impl.” (4 calls:
EditEnabledForFile → EditEnabledForFile,OnRun → (object),Share → (object), …)
Called by
- Codeunit 9561 “Document Sharing Impl.” (8 calls:
OnRun → OnCanUploadDocument,OnRun → OnCanUploadSystemDocument,OpenShare → (object), …) - Codeunit 1482 “Edit in Excel Impl.” (3 calls:
DownloadExcelFile → Share,DownloadExcelFile → ShareEnabled,SetupFieldColumnBindings → ShareEnabled) - Codeunit 9510 “Document Service Management” (3 calls:
InvokeDocumentSharingFlowFromMedia → (object),OpenInOneDrive → Share,ShareWithOneDrive → Share) - Codeunit 9988 “Word Template Impl.” (2 calls:
EditDocumentAfterMerge → Share,EditDocumentAfterMerge → ShareEnabled) - Page 1173 “Document Attachment Details” (2 calls:
OnAfterGetCurrRecord → EditEnabledForFile,OnAfterGetCurrRecord → ShareEnabled) - Page 1178 “Doc. Attachment List Factbox” (2 calls:
UpdateActionsVisibility → EditEnabledForFile,UpdateActionsVisibility → ShareEnabled) - Page 8889 “Email Attachments” (2 calls:
OnAfterGetCurrRecord → EditEnabledForFile,OnAfterGetCurrRecord → ShareEnabled) - Table 5077 “Segment Line” (2 calls:
HandleTrigger → ShareEnabled,MaintainSegLineAttachment → ShareEnabled) - Page 193 “Incoming Doc. Attach. FactBox” (1 call:
OnAfterGetRecord → ShareEnabled) - Page 24 “Performance Profiler” (1 call:
OnOpenPage → ShareEnabled) - Page 680 “Report Inbox” (1 call:
OnAfterGetCurrRecord → ShareEnabled) - Page 681 “Report Inbox Part” (1 call:
OnAfterGetCurrRecord → ShareEnabled) - Page 9650 “Custom Report Layouts” (1 call:
OnAfterGetCurrRecord → ShareEnabled) - Page 9660 “Report Layouts” (1 call:
OnAfterGetCurrRecord → ShareEnabled) - Page 9989 “Word Templates” (1 call:
OnOpenPage → ShareEnabled) - Page 9996 “Word Template Selection Wizard” (1 call:
OnOpenPage → ShareEnabled) - Page extension 9204 “User Settings” (1 call:
SetOneDriveLinkVisibilityAndText → ShareEnabled)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Document Sharing"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.