Codeunit 134 Import Attachment - Inc. Doc.
src/Layers/W1/BaseApp/eServices/EDocument/ImportAttachmentIncDoc.Codeunit.al23 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
OnRun line 18, trigger
- 22callsUploadFile
- 23callsImportAttachment
ImportAttachment line 71, internal
- 78callsCodeunit 4100 Temp Blob CreateOutStream
- 81callsCheckFileContentBeforeUploadFile
- 82callsTable 133 Incoming Document Attachment SetContentFromBlob
UploadFile line 87
- 92callsCheckFileContentBeforeUploadFile
- 94callsCodeunit 419 File Management BLOBImportWithFilter
- 95callsTable 133 Incoming Document Attachment SetContentFromBlob
CheckFileContentBeforeUploadFile line 98, local
- 100raisesOnBeforeUploadFile
ImportAttachment line 108
- 117callsFindOrCreateIncomingDocument
- 120callsCodeunit 419 File Management ServerFileExists
- 121callsCodeunit 419 File Management BLOBImportFromServerFile
- 123callsCodeunit 419 File Management BLOBImportFromServerFile
- 123callsCodeunit 419 File Management UploadFile
- 125callsSaveDocumentAttachment
ImportAttachment line 128
SaveDocumentAttachment line 140, local
- 148callsGetIncomingDocumentNextLineNo
- 152callsCodeunit 4100 Temp Blob ToRecordRef
- 159writesTable 133 Incoming Document Attachment Delete
- 163validatesTable 133 Incoming Document Attachment File Extension
- 163callsCodeunit 419 File Management GetExtension
- 165callsCodeunit 419 File Management GetFileNameWithoutExtension
- 171writesTable 130 Incoming Document Modify
- 175callsTable 133 Incoming Document Attachment OnAttachBinaryFile
- 177writesTable 133 Incoming Document Attachment Insert(true)
- 178raisesOnAfterImportAttachment
CreateNewAttachment line 182
FindOrCreateIncomingDocument line 197, local
FindInGenJournalLineUsingIncomingDocNoFilter line 221, local
FindInSalesPurchUsingIncomingDocNoFilter line 233, local
FindUsingIncomingDocNoFilter line 245, local
- 253callsFindInIncomingDocAttachmentUsingIncomingDocNoFilter
- 255callsFindInGenJournalLineUsingIncomingDocNoFilter
- 257callsFindInSalesPurchUsingIncomingDocNoFilter
FindUsingDocNoFilter line 267, local
- 290raisesOnFindUsingDocNoFilterOnBeforeFindIsHandled
CreateNewSalesPurchIncomingDoc line 299, local
- 310raisesOnBeforeCreateNewSalesPurchIncomingDocIsHandled
- 325callsCreateIncomingDocumentExtended
- 327writesTable 36 Sales Header Modify
- 332callsCreateIncomingDocumentExtended
- 334writesTable 38 Purchase Header Modify
CreateNewJournalLineIncomingDoc line 343, local
- 359callsCreateIncomingDocumentExtended
- 361writesTable 81 Gen. Journal Line Modify
CreateIncomingDocument line 366, local
CreateIncomingDocumentExtended line 373
- 379callsTable 130 Incoming Document CreateIncomingDocument
- 381callsGetDocType
- 383callsTable 130 Incoming Document GetRecord
- 384callsCodeunit 701 Data Type Management GetRecordRef
- 396writesTable 130 Incoming Document Modify
GetDocType line 399, local
- 402callsTable 130 Incoming Document SetPostedDocFields
- 403callsTable 130 Incoming Document GetRelatedDocType
- 406callsGetUnpostedDocType
GetUnpostedDocType line 409, local
- 411callsIsJournalRelated
- 414callsIsSalesPurhaseRelated
- 415callsGetUnpostedSalesPurchaseDocType
GetUnpostedSalesPurchaseDocType line 420, local
ProcessAndUploadPicture line 480
- 488callsCreateNewAttachment
- 491validatesTable 133 Incoming Document Attachment File Extension
- 496writesTable 133 Incoming Document Attachment Insert(true)