codeunitAL Developmentofficial - Microsoftderived - from the source, no model text

Codeunit 419 "File Management"

Base Application · System.IO

Across versions

  1. BC23-26present
  2. BC271 procedures added
  3. BC28-30unchanged

Neighbourhood 106 connected objects and pages

Codeunit 8614 "Config. XML Exchange" (calls, 19 links)Config. XML ExchangeTable 5062 "Attachment" (calls, 17 links)AttachmentCodeunit 8800 "Custom Layout Reporting" (calls, 15 links)Table 77 "Report Selections" (calls, 15 links)Report SelectionsTable 370 "Excel Buffer" (calls, 13 links)Codeunit 5052 "AttachmentManagement" (calls, 9 links)AttachmentManagementCodeunit 1652 "Add-in Manifest Management" (calls, 7 links)Codeunit 5069 "Word Template Interactions" (calls, 7 links)Word Template InteractionsCodeunit 5503 "Graph Mgt - Attachment Buffer" (calls, 7 links)Codeunit 8610 "Questionnaire Management" (calls, 7 links)Questionnaire ManagementCodeunit 4100 "Temp Blob" (calls, 6 links)Temp BlobCodeunit 6952 "Exp. Attach. Buffer Handler" (calls, 6 links)Exp. Attach. Buffer HandlerReport 29 "Export Acc. Sched. to Excel" (calls, 6 links)Export Acc. Sched. to ExcelTable 1173 "Document Attachment" (calls, 6 links)Table 130400 "CAL Test Suite" (calls, 6 links)CAL Test SuiteCodeunit 1292 "Trace" (calls, 5 links)TraceCodeunit 130404 "CAL Test Project Mgt." (calls, 5 links)CAL Test Project Mgt.Codeunit 1919 "MigrationQB Data Reader" (calls, 5 links)Codeunit 9170 "Conf./Personalization Mgt." (calls, 5 links)Conf./Personalization Mgt.Table 1235 "XML Buffer" (calls, 5 links)Codeunit 20113 "AMC Bank Exp. CT Hndl" (calls, 4 links)AMC Bank Exp. CT HndlCodeunit 20114 "AMC Bank Imp.STMT. Hndl" (calls, 4 links)Codeunit 2020 "Image Analysis Management" (calls, 4 links)Codeunit 452 "Report Distribution Management" (calls, 4 links)Codeunit 8618 "Config. Excel Exchange" (calls, 4 links)Codeunit 9660 "Report Layouts Impl." (calls, 4 links)Report 88 "VAT- VIES Declaration Disk" (calls, 4 links)Table 9650 "Custom Report Layout" (calls, 4 links)Codeunit 134 "Import Attachment - Inc. Doc." (calls, 3 links)Codeunit 1410 "Doc. Exch. Service Mgt." (calls, 3 links)Codeunit 1630 "Office Management" (calls, 3 links)Codeunit 1806 "Excel Data Migrator" (calls, 3 links)Codeunit 431 "IC Outbox Export" (calls, 3 links)Codeunit 6223 "OpenXML Management" (calls, 3 links)Codeunit 8361 "Financial Report Export Job" (calls, 3 links)Codeunit 9610 "XSD Parser" (calls, 3 links)Table 130 "Incoming Document" (calls, 3 links)Table 31 "Item Picture Buffer" (calls, 3 links)Table 9600 "XML Schema" (calls, 3 links)Codeunit 1181 "Prvacy Data Mgmt Excel" (calls, 2 links)

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 · System.IO · BC23-30 · source at ea08af5e · facts from BC29

Events published

  • OnAfterGetToFilterTextSetOutExt(FileName: Text; var OutExt: Text) (integration)
  • OnAfterDownloadHandler(var ToFolder: Text; ToFileName: Text; FromFileName: Text; var Downloaded: Boolean) (integration)
  • OnBeforeBlobExport(var TempBlob: Codeunit "Temp Blob"; Name: Text; CommonDialog: Boolean; var IsHandled: Boolean; var Result: Text) (integration)
  • OnBeforeBlobExportWithEncoding(var TempBlob: Codeunit "Temp Blob"; Name: Text; CommonDialog: Boolean; Encoding: TextEncoding; var Result: Text; var IsHandled: Boolean) (integration)
  • OnBeforeDownloadHandler(var ToFolder: Text; ToFileName: Text; FromFileName: Text; var IsHandled: Boolean; var Downloaded: Boolean) (integration)
  • OnBeforeUploadFileWithFilter(var ServerFileName: Text; WindowTitle: Text[50]; ClientFileName: Text; FileFilter: Text; ExtFilter: Text; var IsHandled: Boolean) (integration)
  • OnBeforeDownloadFromStreamHandler(var ToFolder: Text; ToFileName: Text; FromInStream: InStream; var IsHandled: Boolean) (integration)

Procedures

  • BLOBImport(var TempBlob: Codeunit "Temp Blob"; Name: Text): Text
  • BLOBImportWithFilter(var TempBlob: Codeunit "Temp Blob"; DialogCaption: Text; Name: Text; FileFilter: Text; ExtFilter: Text): Text
  • BLOBExportWithEncoding(var TempBlob: Codeunit "Temp Blob"; Name: Text; CommonDialog: Boolean; Encoding: TextEncoding): Text
  • BLOBExport(var TempBlob: Codeunit "Temp Blob"; Name: Text; CommonDialog: Boolean): Text
  • ServerTempFileName(FileExtension: Text): Text
  • DownloadTempFile(ServerFileName: Text): Text
  • UploadFile(WindowTitle: Text[50]; ClientFileName: Text): Text
  • UploadFileWithFilter(WindowTitle: Text[50]; ClientFileName: Text; FileFilter: Text; ExtFilter: Text): Text
  • Magicpath(): Text
  • DownloadHandler(FromFile: Text; DialogTitle: Text; ToFolder: Text; ToFilter: Text; ToFile: Text): Boolean
  • DownloadFromStreamHandler(FromInStream: InStream; DialogTitle: Text; ToFolder: Text; ToFilter: Text; ToFile: Text): Boolean
  • CopyServerFile(SourceFileName: Text; TargetFileName: Text; Overwrite: Boolean)
  • ServerFileExists(FilePath: Text): Boolean
  • DeleteServerFile(FilePath: Text): Boolean
  • ServerDirectoryExists(DirectoryPath: Text): Boolean
  • ServerCreateDirectory(DirectoryPath: Text)
  • ServerCreateTempSubDirectory(): Text
  • ServerRemoveDirectory(DirectoryPath: Text; Recursive: Boolean)
  • GetFileName(FilePath: Text): Text
  • GetSafeFileName(FileName: Text): Text
  • GetPathWithSafeFileName(InFilePath: Text): Text
  • GetFileNameWithoutExtension(FilePath: Text): Text
  • HasExtension(FilePath: Text): Boolean
  • GetFileNameMimeType(FileName: Text): Text
  • GetDirectoryName(FileName: Text): Text
  • GetServerDirectoryFilesList(var NameValueBuffer: Record "Name/Value Buffer"; DirectoryPath: Text)
  • GetServerDirectoryFilesListInclSubDirs(var TempNameValueBuffer: Record "Name/Value Buffer" temporary; DirectoryPath: Text)
  • GetServerFileProperties(FullFileName: Text; var ModifyDate: Date; var ModifyTime: Time; var Size: BigInteger)
  • CombinePath(BasePath: Text; Suffix: Text): Text
  • BLOBImportFromServerFile(var TempBlob: Codeunit "Temp Blob"; FilePath: Text)
  • BLOBExportToServerFile(var TempBlob: Codeunit "Temp Blob"; FilePath: Text)
  • InstreamExportToServerFile(Instream: InStream; FileExt: Text): Text
  • TempBlobToServerFile(var TempBlob: Codeunit "Temp Blob"; FileExt: Text): Text[250] + BC27 (internal)
  • CreateAndWriteToServerFile(FileContent: Text; FileExt: Text): Text
  • GetToFilterText(FilterString: Text; FileName: Text): Text
  • GetExtension(Name: Text): Text
  • IsValidFileName(FileName: Text): Boolean
  • ValidateFileExtension(FilePath: Text; ValidExtensions: Text)
  • CreateFileNameWithExtension(FileNameWithoutExtension: Text; Extension: Text): Text
  • Ansi2SystemEncoding(Destination: OutStream; Source: InStream)
  • Ansi2SystemEncodingTxt(Destination: OutStream; Source: Text)
  • StripNotsupportChrInFileName(InText: Text): Text
  • ExportImage(ImagetPath: Text; ToFile: Text)
  • IsClientDirectoryEmpty(Path: Text): Boolean
  • IsServerDirectoryEmpty(Path: Text): Boolean
  • GetFileContents(FilePath: Text): Text: Gets the file contents as text from the file path provided in UTF8 text encoding.
  • GetFileContents(FilePath: Text; Encoding: TextEncoding): Text: Gets the file contents as text from the file path provided in the requested text encoding.
  • IsAllowedPath(Path: Text; SkipError: Boolean): Boolean
  • AppendFileNameWithIndex(OriginalFileName: Text; AppendIndex: Integer): Text

Plus 2 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

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

Evidence 1 sources