KVSDMSFilePackageMgt
Summary: Provides functionality for creating and managing file packages in the DMS system.
Procedures
CreateAndDownloadFilePackage(Variant, Code[20]) :
Summary: Create and download a file package assigned to a given record.
procedure CreateAndDownloadFilePackage(RecVariant: Variant; FilePackCode: Code[20]):
Parameters:
RecVariant: Variant specifies the given Record to create a file package for.FilePackCode: Code[20] defines the unique code of the file package to create.
CreateFilePackageContent(Variant, Code[20], Codeunit Temp Blob) : Boolean
procedure CreateFilePackageContent(RecVariant: Variant; FilePackCode: Code[20]; var TempBlob: Codeunit "Temp Blob"): Boolean
CalcFileNameForFilePackage(Variant, Code[20]) : Text
Summary: Calculates the filename for the file package.
procedure CalcFileNameForFilePackage(RecVariant: Variant; FilePackCode: Code[20]): Text
Parameters:
RecVariant: Variant specifies the given Record to calculate a file package filename for.FilePackCode: Code[20] defines the unique code of the file package to create a filename for.
Returns: Return variable fileName of type Text.
SetHideDialog(Boolean) :
Summary: Set hide dialog for later procedure calls.
procedure SetHideDialog(NewHideDialog: Boolean):
Parameters:
NewHideDialog: Boolean value defines whether to hide the dialog windows in following procedures. Set to true if you like to suppress the GUI.
Events
OnBeforeAddEntryToZipArchive(InStream, Text, Codeunit Data Compression, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforeAddEntryToZipArchive(var FileInStream: InStream; var FileName: Text; var DataCompression: Codeunit "Data Compression"; var IsHandled: Boolean):