codeunitPlatform, DevOps & Performanceofficial - Microsoftderived - from the source, no model text

Codeunit 1173 "Document Attachment Mgmt"

Base Application · Microsoft.Foundation.Attachment

Across versions

  1. BC23present
  2. BC2438 procedures added, 2 procedures removed
  3. BC2532 procedures removed, 14 events added
  4. BC263 procedures added, 1 procedures changed
  5. BC272 procedures removed, 2 events added
  6. BC28unchanged
  7. BC293 procedures added, 1 events added
  8. BC30unchanged

Neighbourhood 28 connected objects and pages

Codeunit 6459 "Serv. Document Attachment Mgt." (event subscribers, 18 links)Serv. Document Attachment Mgt.Codeunit 99000783 "Prod. Document Attachment Mgt." (event subscribers, 11 links)Prod. Document Attachment Mgt.Codeunit 6989 "Expense Attachment Mgt." (event subscribers, 7 links)Expense Attachment Mgt.Codeunit 20414 "Qlty. Attachment Integration" (event subscribers, 4 links)Qlty. Attachment IntegrationCodeunit 6169 "E-Doc. Attachment Processor" (event subscribers, 4 links)Codeunit 20578 "Subc. Attachment Details Ext." (event subscribers)Subc. Attachment Details Ext.Codeunit 8001 "Sub. Contr. Renewal Subcribers" (event subscribers)Sub. Contr. Renewal SubcribersCodeunit 8059 "Sub. Contracts General Mgt." (event subscribers)Codeunit 8751 "DA External Storage Impl." (event subscribers)Codeunit 6459 "Serv. Document Attachment Mgt." (calls, 34 links)Serv. Document Attachment Mgt.Codeunit 99000783 "Prod. Document Attachment Mgt." (calls, 13 links)Table 1173 "Document Attachment" (calls, 8 links)Document AttachmentPage 1173 "Document Attachment Details" (calls, 7 links)Document Attachment DetailsCodeunit 6989 "Expense Attachment Mgt." (calls, 4 links)Expense Attachment Mgt.Table 77 "Report Selections" (calls, 4 links)Report SelectionsCodeunit 1511 "Notification Lifecycle Mgt." (calls, 2 links)Notification Lifecycle Mgt.Codeunit 6902 "Expense Rule Validation" (calls, 2 links)Expense Rule ValidationPage 1178 "Doc. Attachment List Factbox" (calls, 2 links)Table 133 "Incoming Document Attachment" (calls, 2 links)Incoming Document AttachmentCodeunit 27 "Confirm Management" (calls)Codeunit 5932 "Service-Get Shipment" (calls)Codeunit 64 "Sales-Get Shipment" (calls)Codeunit 6638 "Sales-Get Return Receipts" (calls)Codeunit 6648 "Purch.-Get Return Shipments" (calls)Codeunit 6983 "Create Expense Report" (calls)Codeunit 6987 "Expense Report-Post" (calls)Codeunit 74 "Purch.-Get Receipt" (calls)Codeunit 8898 "Map Email Source" (calls)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Foundation.Attachment · BC23-30 · source at ea08af5e · facts from BC29

Events published

Event subscriptions

  • DeleteAttachedDocumentsOnAfterDeleteCustomer subscribes to Table “Customer” OnAfterDeleteEvent
  • DeleteAttachedDocumentsOnAfterDeleteSalesHeader subscribes to Table “Sales Header” OnAfterDeleteEvent
  • DeleteAttachedDocumentsOnAfterDeleteSalesLine subscribes to Table “Sales Line” OnAfterDeleteEvent
  • DeleteAttachedDocumentsOnAfterDeleteSalesCreditMemoHeader subscribes to Table “Sales Cr.Memo Header” OnAfterDeleteEvent
  • DeleteAttachedDocumentsOnAfterDeleteSalesCreditMemoLine subscribes to Table “Sales Cr.Memo Line” OnAfterDeleteEvent
  • DeleteAttachedDocumentsOnAfterDeleteSalesInvoiceHeader subscribes to Table “Sales Invoice Header” OnAfterDeleteEvent
  • DeleteAttachedDocumentsOnAfterDeleteSalesInvoiceLine subscribes to Table “Sales Invoice Line” OnAfterDeleteEvent
  • DeleteAttachedDocumentsOnAfterDeletePurchInvHeader subscribes to Table “Purch. Inv. Header” OnAfterDeleteEvent
  • DeleteAttachedDocumentsOnAfterDeletePurchInvLine subscribes to Table “Purch. Inv. Line” OnAfterDeleteEvent
  • DeleteAttachedDocumentsOnAfterDeletePurchCreditMemoHeader subscribes to Table “Purch. Cr. Memo Hdr.” OnAfterDeleteEvent
  • DeleteAttachedDocumentsOnAfterDeletePurchCreditMemoLine subscribes to Table “Purch. Cr. Memo Line” OnAfterDeleteEvent
  • DocAttachFlowFromSalesQuoteToSalesOrder subscribes to Codeunit “Sales-Quote to Order” OnBeforeDeleteSalesQuote
  • DocAttachFlowForSalesHeaderFromBlanketOrderToSalesOrder subscribes to Codeunit “Blanket Sales Order to Order” OnBeforeInsertSalesOrderHeader
  • DocAttachFlowForSalesLinesFromBlanketOrderToSalesOrder subscribes to Codeunit “Blanket Sales Order to Order” OnAfterInsertSalesOrderLine
  • DocAttachFlowForSalesHeaderFromSalesQuoteToSalesInvoice subscribes to Codeunit “Sales-Quote to Invoice” OnBeforeDeletionOfQuote
  • DocAttachFlowForSalesLinesFromSalesQuoteToSalesInvoice subscribes to Codeunit “Sales-Quote to Invoice” OnBeforeInsertSalesInvoiceLine
  • DocAttachFlowForSalesHeaderInsert subscribes to Table “Sales Header” OnAfterInsertEvent
  • DocAttachFlowForSalesQuoteToSalesOrderSalesLines subscribes to Codeunit “Sales-Quote to Order” OnAfterInsertSalesOrderLine
  • DocAttachFlowForSalesHeaderCustomerChg subscribes to Table “Sales Header” OnAfterValidateEvent (Sell-to Customer No.)
  • DocAttachFlowForCopyDocumentSalesHeader subscribes to Codeunit “Copy Document Mgt.” OnAfterCopySalesHeader
  • DocAttachFlowForSalesLineInsert subscribes to Table “Sales Line” OnAfterInsertEvent
  • DocAttachFlowForSalesLineItemChg subscribes to Table “Sales Line” OnAfterValidateEvent (No.)
  • DocAttachForPostedSalesDocs subscribes to Codeunit “Sales-Post” OnBeforeDeleteAfterPosting
  • DocAttachForPostedPurchaseDocs subscribes to Codeunit “Purch.-Post” OnBeforeDeleteAfterPosting
  • DeleteAttachedDocumentsOnAfterDeleteVendor subscribes to Table “Vendor” OnAfterDeleteEvent
  • DeleteAttachedDocumentsOnAfterDeletePurchaseHeader subscribes to Table “Purchase Header” OnAfterDeleteEvent
  • DeleteAttachedDocumentsOnAfterDeletePurchaseLine subscribes to Table “Purchase Line” OnAfterDeleteEvent
  • DocAttachFlowForPurchaseHeaderInsert subscribes to Table “Purchase Header” OnAfterInsertEvent
  • DocAttachFlowForPurchaseHeaderVendorChange subscribes to Table “Purchase Header” OnAfterValidateEvent (Buy-from Vendor No.)
  • DocAttachFlowForCopyDocumentPurchHeader subscribes to Codeunit “Copy Document Mgt.” OnAfterCopyPurchaseHeader
  • DocAttachFlowForPurchaseLineInsert subscribes to Table “Purchase Line” OnAfterInsertEvent
  • DocAttachFlowForPurchaseLineItemChg subscribes to Table “Purchase Line” OnAfterValidateEvent (No.)
  • DocAttachFlowForPurchQuoteToPurchOrder subscribes to Codeunit “Purch.-Quote to Order” OnBeforeDeletePurchQuote
  • DocAttachFlowForPurchQuoteToPurchOrderLines subscribes to Codeunit “Purch.-Quote to Order” OnAfterInsertPurchOrderLine
  • DocAttachFlowForBlanketPurchaseHeader subscribes to Codeunit “Blanket Purch. Order to Order” OnBeforePurchOrderHeaderModify
  • DocAttachFlowForBlanketPurchaseLine subscribes to Codeunit “Blanket Purch. Order to Order” OnBeforeInsertPurchOrderLine
  • DeleteAttachedDocumentsOnAfterDeleteItem subscribes to Table “Item” OnAfterDeleteEvent
  • DeleteAttachedDocumentsOnAfterDeleteResource subscribes to Table “Resource” OnAfterDeleteEvent
  • DeleteAttachedDocumentsOnAfterDeleteJob subscribes to Table “Job” OnAfterDeleteEvent
  • DeleteAttachedDocumentsOnAfterDeleteEmployee subscribes to Table “Employee” OnAfterDeleteEvent
  • DeleteAttachedDocumentsOnAfterDeleteFixedAsset subscribes to Table “Fixed Asset” OnAfterDeleteEvent
  • DeleteAttachedDocumentsOnAfterDeleteOpportunity subscribes to Table “Opportunity” OnAfterDeleteEvent
  • MoveAttachedDocumentsOnAfterRenameCustomer subscribes to Table “Customer” OnAfterRenameEvent
  • MoveAttachedDocumentsOnAfterRenameVendor subscribes to Table “Vendor” OnAfterRenameEvent
  • MoveAttachedDocumentsOnAfterRenameItem subscribes to Table “Item” OnAfterRenameEvent
  • MoveAttachedDocumentsOnAfterRenameEmployee subscribes to Table “Employee” OnAfterRenameEvent
  • MoveAttachedDocumentsOnAfterRenameFixedAsset subscribes to Table “Fixed Asset” OnAfterRenameEvent
  • MoveAttachedDocumentsOnAfterRenameResource subscribes to Table “Resource” OnAfterRenameEvent
  • MoveAttachedDocumentsOnAfterRenameJob subscribes to Table “Job” OnAfterRenameEvent
  • MoveAttachedDocumentsOnAfterRenameOpportunity subscribes to Table “Opportunity” OnAfterRenameEvent

Procedures

  • DeleteAttachedDocuments(RecRef: RecordRef) + BC24 Δ BC25
  • DeleteAttachedDocumentsWithConfirm(RecRef: RecordRef)
  • AttachedDocumentsExist(RecRef: RecordRef): Boolean
  • UpdateNumOfRecForFactbox(var Rec: Record "Document Attachment"; var NumberOfRecords: Integer) + BC25 (internal)
  • GetRefTable(var RecRef: RecordRef; DocumentAttachment: Record "Document Attachment"): Boolean + BC25 Δ BC26
  • SetDocumentAttachmentRelatedFiltersForRecRef(var DocumentAttachment: Record "Document Attachment"; RecRef: RecordRef)
  • SetDocumentAttachmentFiltersForRecRef(var DocumentAttachment: Record "Document Attachment"; RecRef: RecordRef)
  • SetDocumentAttachmentFiltersForRecRefInternal(var DocumentAttachment: Record "Document Attachment"; RecRef: RecordRef; GetRelatedAttachments: Boolean) (internal)
  • IsSalesDocumentFlow(TableNo: Integer): Boolean (internal)
  • IsPurchaseDocumentFlow(TableNo: Integer): Boolean (internal)
  • IsServiceDocumentFlow(TableNo: Integer): Boolean + BC24 (internal)
  • IsProductionDocumentFlow(TableNo: Integer): Boolean + BC26 (internal)
  • IsFlowFieldsEditable(TableNo: Integer): Boolean (internal)
  • TableHasNumberFieldPrimayKey(TableNo: Integer; var FieldNo: Integer): Boolean (internal)
  • TableHasDocTypePrimaryKey(TableNo: Integer; var FieldNo: Integer): Boolean (internal)
  • TableHasLineNumberPrimaryKey(TableNo: Integer; var FieldNo: Integer): Boolean (internal)
  • TableHasVATReportConfigCodePrimaryKey(TableNo: Integer; var FieldNo: Integer): Boolean (internal)
  • TransformAttachmentDocumentTypeValue(TableNo: Integer; var AttachmentDocumentType: Enum "Attachment Document Type") + BC24 (internal)
  • IsSupportedByFileViewerExtension(FileExtension: Text; IncludeImages: Boolean): Boolean + BC29 (internal)
  • IsSupportedByFileViewerFileName(FileName: Text; IncludeImages: Boolean): Boolean + BC29 (internal)
  • IsDuplicateFile(TableID: Integer; DocumentNo: Code[20]; AttachmentDocumentType: Enum "Attachment Document Type"; RecLineNo: Integer; FileName: Text; FileExtension: Text): Boolean Δ BC24 + BC24 − BC27
  • CopyAttachments(FromRec: Variant; ToRec: Variant)
  • CopyAttachments(var FromRecRef: RecordRef; var ToRecRef: RecordRef)
  • CopyAttachmentsForPostedDocs(var FromRecRef: RecordRef; var ToRecRef: RecordRef)
  • CopyAttachmentsForPostedDocsLines(var FromRecRef: RecordRef; var ToRecRef: RecordRef)
  • MoveAttachmentsWithinSameRecordType(var MoveFromRecRef: RecordRef; var MoveToRecRef: RecordRef)
  • ShowNotification(Variant: Variant; NumberOfReportsAttached: Integer; ShowAction: Boolean)
  • ShowDocPrintedToAttachmentNotification(Variant: Variant; ShowAction: Boolean)
  • ShowNotFoundPrintableReportsNotification(Variant: Variant)
  • ShowDocumentAttachments(Notification: Notification)
  • DeleteAttachedDocuments(ForVariantRec: Variant; WithConfirm: Boolean) + BC24 Δ BC25

Plus 9 local procedures.

Triggers

OnRun

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.

Called by

Recent changes

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 Attachment Mgmt"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources