Show / Hide Table of Contents

    LoadData Procedure

    Codeunit Text File Importer

    Imports data from a Temp Blob codeunit. The data is read according to the provided File Settings.

    Overloads

    Name Description
    LoadData(Code[20]; Codeunit "QWETB Temp Blob"): Integer Imports data from a Temp Blob codeunit.
    LoadData(Code[20]; Codeunit "Temp Blob"): Integer Imports data from a Temp Blob codeunit.
    LoadData(Record "QWETB File Settings" temporary; Codeunit "QWETB Temp Blob"): Integer Imports data from a Temp Blob codeunit.
    LoadData(Record "QWETB File Settings" temporary; Codeunit "Temp Blob"): Integer Imports data from a Temp Blob codeunit.
    LoadData(Record "QWETB File Settings" temporary; Record "QWETB Fixed Width Column" temporary; Codeunit "QWETB Temp Blob"): Integer Imports data from a Temp Blob codeunit.
    LoadData(Record "QWETB File Settings" temporary; Record "QWETB Fixed Width Column" temporary; Codeunit "Temp Blob"): Integer Imports data from a Temp Blob codeunit.
    LoadData(Code[20]; Record "QWETB tTempBlob" temporary): Integer Imports data from a TempBlob record.
    LoadData(Record "QWETB File Settings" temporary; Record "QWETB Fixed Width Column" temporary; Record "QWETB tTempBlob" temporary): Integer Imports data from a TempBlob record.
    LoadData(Record "QWETB File Settings" temporary; Record "QWETB tTempBlob" temporary): Integer Imports data from a TempBlob record.

    LoadData(Code[20]; Codeunit "QWETB Temp Blob") Procedure

    Imports data from a Temp Blob codeunit. The data is read according to the provided File Settings.

    Signature

    LoadData(FileSettingsCode: Code[20]; TempBlob: Codeunit "QWETB Temp Blob") : Integer
    

    Parameters

    FileSettingsCode Code[20]

    The code of the File Settings that should be used when reading the data. If the provided File Settings has a "Data Type" set to "Fixed Width", the configured Fixed Width Columns will be used.

    TempBlob Codeunit "QWETB Temp Blob"

    The Temp Blob codeunit that contains the data to read.

    Returns

    Integer

    The number of text lines in the data.

    LoadData(Code[20]; Codeunit "Temp Blob") Procedure

    Imports data from a Temp Blob codeunit. The data is read according to the provided File Settings.

    Signature

    LoadData(FileSettingsCode: Code[20]; TempBlob: Codeunit "Temp Blob") : Integer
    

    Parameters

    FileSettingsCode Code[20]

    The code of the File Settings that should be used when reading the data. If the provided File Settings has a "Data Type" set to "Fixed Width", the configured Fixed Width Columns will be used.

    TempBlob Codeunit "Temp Blob"

    The Temp Blob codeunit that contains the data to read.

    Returns

    Integer

    The number of text lines in the data.

    LoadData(Record "QWETB File Settings" temporary; Codeunit "QWETB Temp Blob") Procedure

    Imports data from a Temp Blob codeunit. The data is read according to the provided File Settings.

    Signature

    LoadData(TempFileSettings: Record "QWETB File Settings" temporary; TempBlob: Codeunit "QWETB Temp Blob") : Integer
    

    Parameters

    TempFileSettings Record "QWETB File Settings" temporary

    The File Settings that should be used for reading. If the provided File Settings has a "Data Type" set to "Fixed Width" and the Code field has a value, the configured Fixed Width Columns will be used.

    TempBlob Codeunit "QWETB Temp Blob"

    The Temp Blob codeunit that contains the data to read.

    Returns

    Integer

    The number of text lines in the data.

    LoadData(Record "QWETB File Settings" temporary; Codeunit "Temp Blob") Procedure

    Imports data from a Temp Blob codeunit. The data is read according to the provided File Settings.

    Signature

    LoadData(TempFileSettings: Record "QWETB File Settings" temporary; TempBlob: Codeunit "Temp Blob") : Integer
    

    Parameters

    TempFileSettings Record "QWETB File Settings" temporary

    The File Settings that should be used for reading. If the provided File Settings has a "Data Type" set to "Fixed Width" and the Code field has a value, the configured Fixed Width Columns will be used.

    TempBlob Codeunit "Temp Blob"

    The Temp Blob codeunit that contains the data to read.

    Returns

    Integer

    The number of text lines in the data.

    LoadData(Record "QWETB File Settings" temporary; Record "QWETB Fixed Width Column" temporary; Codeunit "QWETB Temp Blob") Procedure

    Imports data from a Temp Blob codeunit. The data is read according to the provided File Settings and Fixed Width Columns.

    Signature

    LoadData(TempFileSettings: Record "QWETB File Settings" temporary; var TempFixedWidthColumn: Record "QWETB Fixed Width Column" temporary; TempBlob: Codeunit "QWETB Temp Blob") : Integer
    

    Parameters

    TempFileSettings Record "QWETB File Settings" temporary

    The File Settings that should be used for reading.

    var TempFixedWidthColumn Record "QWETB Fixed Width Column" temporary

    Any Fixed Width Column settings that should be used when formatting the output. This is only valid if TempFileSettings has the "Data Type" set to "Fixed Width"

    TempBlob Codeunit "QWETB Temp Blob"

    The Temp Blob codeunit that contains the data to read.

    Returns

    Integer

    The number of text lines in the data.

    LoadData(Record "QWETB File Settings" temporary; Record "QWETB Fixed Width Column" temporary; Codeunit "Temp Blob") Procedure

    Imports data from a Temp Blob codeunit. The data is read according to the provided File Settings and Fixed Width Columns.

    Signature

    LoadData(TempFileSettings: Record "QWETB File Settings" temporary; var TempFixedWidthColumn: Record "QWETB Fixed Width Column" temporary; TempBlob: Codeunit "Temp Blob") : Integer
    

    Parameters

    TempFileSettings Record "QWETB File Settings" temporary

    The File Settings that should be used for reading.

    var TempFixedWidthColumn Record "QWETB Fixed Width Column" temporary

    Any Fixed Width Column settings that should be used when formatting the output. This is only valid if TempFileSettings has the "Data Type" set to "Fixed Width"

    TempBlob Codeunit "Temp Blob"

    The Temp Blob codeunit that contains the data to read.

    Returns

    Integer

    The number of text lines in the data.

    LoadData(Code[20]; Record "QWETB tTempBlob" temporary) Procedure

    Imports data from a TempBlob record. The data is read according to the provided File Settings.

    Deprecated

    This procedure is deprecated and should not be used.

    Reason: Use the overload that takes Codeunit "QWETB Temp Blob" instead. It offers better performance.
    Deprecated since: 27.0

    Signature

    [Obsolete('Use the overload that takes Codeunit "QWETB Temp Blob" instead. It offers better performance.', '27.0')]
    LoadData(FileSettingsCode: Code[20]; tTempBlob: Record "QWETB tTempBlob" temporary) : Integer
    

    Parameters

    FileSettingsCode Code[20]

    The code of the File Settings that should be used when reading the data. If the provided File Settings has a "Data Type" set to "Fixed Width", the configured Fixed Width Columns will be used.

    tTempBlob Record "QWETB tTempBlob" temporary

    The TempBlob record that contains the data to read.

    Returns

    Integer

    The number of text lines in the data.

    LoadData(Record "QWETB File Settings" temporary; Record "QWETB Fixed Width Column" temporary; Record "QWETB tTempBlob" temporary) Procedure

    Imports data from a TempBlob record. The data is read according to the provided File Settings and Fixed Width Columns.

    Deprecated

    This procedure is deprecated and should not be used.

    Reason: Use the overload that takes Codeunit "QWETB Temp Blob" instead. It offers better performance.
    Deprecated since: 27.0

    Signature

    [Obsolete('Use the overload that takes Codeunit "QWETB Temp Blob" instead. It offers better performance.', '27.0')]
    LoadData(TempFileSettings: Record "QWETB File Settings" temporary; var TempFixedWidthColumn: Record "QWETB Fixed Width Column" temporary; tTempBlob: Record "QWETB tTempBlob" temporary) : Integer
    

    Parameters

    TempFileSettings Record "QWETB File Settings" temporary

    The File Settings that should be used for reading.

    var TempFixedWidthColumn Record "QWETB Fixed Width Column" temporary

    Any Fixed Width Column settings that should be used when formatting the output. This is only valid if TempFileSettings has the "Data Type" set to "Fixed Width"

    tTempBlob Record "QWETB tTempBlob" temporary

    The TempBlob record that contains the data to read.

    Returns

    Integer

    The number of text lines in the data.

    LoadData(Record "QWETB File Settings" temporary; Record "QWETB tTempBlob" temporary) Procedure

    Imports data from a TempBlob record. The data is read according to the provided File Settings.

    Deprecated

    This procedure is deprecated and should not be used.

    Reason: Use the overload that takes Codeunit "QWETB Temp Blob" instead. It offers better performance.
    Deprecated since: 27.0

    Signature

    [Obsolete('Use the overload that takes Codeunit "QWETB Temp Blob" instead. It offers better performance.', '27.0')]
    LoadData(TempFileSettings: Record "QWETB File Settings" temporary; tTempBlob: Record "QWETB tTempBlob" temporary) : Integer
    

    Parameters

    TempFileSettings Record "QWETB File Settings" temporary

    The File Settings that should be used for reading. If the provided File Settings has a "Data Type" set to "Fixed Width" and the Code field has a value, the configured Fixed Width Columns will be used.

    tTempBlob Record "QWETB tTempBlob" temporary

    The TempBlob record that contains the data to read.

    Returns

    Integer

    The number of text lines in the data.

    This documentation is generated from Smart Toolbox v27.0

    Back to top Copyright © 2020 SmartApps
    Generated by DocFX