Skip to content

KVSDMSFilePackageMgt#

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.