KVSKBAiLIFOutputInterface
Procedures
GetName() : Text
Summary: Gets the name of the output interface implementation.
procedure GetName(): Text
Returns: The name of the output interface implementation.
Remarks: This procedure should return a string representing the name of the output interface implementation. This name can be used for display purposes or to identify the implementation in logs or error messages.
GetDescription() : Text
Summary: Gets the description of the output interface implementation.
procedure GetDescription(): Text
Returns: The description of the output interface implementation.
Remarks: This procedure should return a string providing a detailed description of the output interface implementation. The description can include information about the functionality of the implementation, its intended use cases, or any other relevant details that can help users or developers understand what the implementation does.
CreateLabelFile(Record KVSKBALabelContentHeader, Record KVSKBALabelContentLine, Integer, Text) : Boolean
Summary: Creates a label file based on the provided temporary label content records.
procedure CreateLabelFile(var TempLabelContentHeader: Record "KVSKBALabelContentHeader" temporary; var TempLabelContentLine: Record "KVSKBALabelContentLine" temporary; var fileCounter: Integer; var msg: Text): Boolean
Parameters:
TempLabelContentHeader: The temporary label content header record.TempLabelContentLine: The temporary label content line record.fileCounter: The file counter.msg: The message.
Returns: True if the label file was successfully created; otherwise, false.
Remarks: This procedure should implement the logic to create a label file using the data provided in the TempLabelContentHeader and TempLabelContentLine records. The fileCounter can be used to generate unique file names if multiple files are created. The msg parameter can be used to return any relevant messages or errors that occur during the file creation process.
CreateStructureFile(Record KVSKBALabelContentHeader, Record KVSKBALabelContentLine, Integer, Text) : Boolean
Summary: Creates a structure file based on the provided temporary label content records.
procedure CreateStructureFile(var TempLabelContentHeader: Record "KVSKBALabelContentHeader" temporary; var TempLabelContentLine: Record "KVSKBALabelContentLine" temporary; var fileCounter: Integer; var msg: Text): Boolean
Parameters:
TempLabelContentHeader: The temporary label content header record.TempLabelContentLine: The temporary label content line record.fileCounter: The file counter.msg: The message.
Returns: True if the structure file was successfully created; otherwise, false.
Remarks: This procedure should implement the logic to create a structure file using the data provided in the TempLabelContentHeader and TempLabelContentLine records. The fileCounter can be used to generate unique file names if multiple files are created. The msg parameter can be used to return any relevant messages or errors that occur during the file creation process.
ExportPictogram(Record KVSKBALabelContentLine, Text[250], Text) : Boolean
Summary: Exports a pictogram based on the provided label content line record.
procedure ExportPictogram(var LabelContentLine: Record "KVSKBALabelContentLine"; var sourceValue: Text[250]; var msg: Text): Boolean
Parameters:
LabelContentLine: The label content line record.sourceValue: The source value for the pictogram.msg: The message.
Returns: True if the pictogram was successfully exported; otherwise, false.
Remarks: This procedure should implement the logic to export a pictogram using the data provided in the LabelContentLine record. The sourceValue can be used to specify the source of the pictogram, such as a file path or a URL. The msg parameter can be used to return any relevant messages or errors that occur during the export process.