Codeunit 134 "Import Attachment - Inc. Doc."
Base Application · Microsoft.EServices.EDocument
Across versions
- BC23-24present
- BC255 procedures added, 1 procedures changed
- BC26-30unchanged
Neighbourhood 11 connected objects and pages
Base Application · Microsoft.EServices.EDocument · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| TableNo | Incoming Document Attachment |
Events published
OnAfterImportAttachment(var IncomingDocumentAttachment: Record "Incoming Document Attachment")(integration)OnBeforeCreateNewSalesPurchIncomingDoc(var IncomingDocumentAttachment: Record "Incoming Document Attachment"; var IncomingDocEntryNo: Integer; var IsHandled: Boolean)(integration)- subscribers: Codeunit 6468 “Serv. Doc. Exchange Mgt.” OnBeforeCreateNewSalesPurchIncomingDoc
OnBeforeUploadFile(var IncomingDocumentAttachment: Record "Incoming Document Attachment")(integration)OnFindUsingDocNoFilterOnBeforeFind(var IncomingDocumentAttachment: Record "Incoming Document Attachment"; var IncomingDocument: Record "Incoming Document"; PostingDate: Date; DocNo: Code[20]; var IsFound: Boolean; var IsHandled: Boolean)(integration)OnBeforeGetUnpostedSalesPurchaseDocType(var IncomingDocumentAttachment: Record "Incoming Document Attachment"; var IncomingDocument: Record "Incoming Document"; var RelatedDocumentType: Enum "Incoming Related Document Type")+ BC25 (integration)- subscribers: Codeunit 6468 “Serv. Doc. Exchange Mgt.” OnBeforeGetUnpostedSalesPurchaseDocType
Procedures
ImportMultiple(var IncDocAttachment: Record "Incoming Document Attachment"; RethrowError: Boolean; files: List of [FileUpload]): Boolean+ BC25 + BC25ImportMultiple(var IncDocAttachment: Record "Incoming Document Attachment"; RethrowError: Boolean; files: List of [FileUpload]; Encoding: TextEncoding): Boolean+ BC25 + BC25ImportAttachment(var IncomingDocumentAttachment: Record "Incoming Document Attachment"; SingleFile: FileUpload): Boolean+ BC25 + BC25 (internal)ImportAttachment(var IncomingDocumentAttachment: Record "Incoming Document Attachment"; SingleFile: FileUpload; Encoding: TextEncoding): Boolean+ BC25 + BC25 (internal)UploadFile(var IncomingDocumentAttachment: Record "Incoming Document Attachment"; var FileName: Text)ImportAttachment(var IncomingDocumentAttachment: Record "Incoming Document Attachment"; FileName: Text): Boolean+ BC25 + BC25ImportAttachment(var IncomingDocumentAttachment: Record "Incoming Document Attachment"; FileName: Text[250]; var TempBlob: Codeunit "Temp Blob"): Boolean+ BC25 + BC25CreateNewAttachment(var IncomingDocumentAttachment: Record "Incoming Document Attachment")CreateIncomingDocumentExtended(var IncomingDocumentAttachment: Record "Incoming Document Attachment"; var IncomingDocument: Record "Incoming Document"; PostingDate: Date; DocNo: Code[20]; RelatedRecordID: RecordID)Δ BC25ProcessAndUploadPicture(PictureStream: InStream; var IncomingDocumentAttachmentOriginal: Record "Incoming Document Attachment")SetTestMode()
Plus 18 local procedures.
Triggers
OnRun
Relations
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 419 “File Management” (3 calls:
SaveDocumentAttachment → GetExtension,SaveDocumentAttachment → GetFileNameWithoutExtension,UploadFile → BLOBImportWithFilter) - Codeunit 4100 “Temp Blob” (1 call:
SaveDocumentAttachment → ToRecordRef) - Codeunit 701 “Data Type Management” (1 call:
CreateIncomingDocumentExtended → GetRecordRef)
Called by
- Codeunit 5579 “Digital Voucher Impl.” (5 calls:
AttachBlobToIncomingDocument → ImportAttachment,AttachIncomingEDocument → ImportAttachment,AttachPurchaseEDocument → ImportAttachment, …) - Table 130 “Incoming Document” (2 calls:
ReplaceMainAttachment → ImportAttachment,ReplaceMainAttachment → UploadFile) - Codeunit 1630 “Office Management” (1 call:
SendToIncomingDocument → ImportAttachment) - Codeunit 6468 “Serv. Doc. Exchange Mgt.” (1 call:
OnBeforeCreateNewSalesPurchIncomingDoc → CreateIncomingDocumentExtended) - Page 193 “Incoming Doc. Attach. FactBox” (1 call:
UploadMultipleAttachments → ImportMultiple) - Table 133 “Incoming Document Attachment” (1 call:
NewAttachment → (object))
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: "Import Attachment - Inc. Doc."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.