Codeunit 18123009 EOS063 File Storage Mgt.

Codeunit 18123009 EOS063 File Storage Mgt.

Methods

OutbDocument2FileStorage

procedure OutbDocument2FileStorage(var RecRef: RecordRef)

Parameters / Return Value

  • RecRef RecordRef

OutbSelfDocument2FileStorage

procedure OutbSelfDocument2FileStorage(var RecRef: RecordRef; EOS063OutbPEDocData: Record "EOS063 Outb. P. EDoc. Data")

Parameters / Return Value

  • RecRef RecordRef

  • EOS063OutbPEDocData Record "EOS063 Outb. P. EDoc. Data"


ImportFileStorageFolder

procedure ImportFileStorageFolder()

SetBatchProcess

procedure SetBatchProcess(NewValue: Boolean; NewBatchGUID: Guid; NewHideDialog: Boolean)

Parameters / Return Value

  • NewValue Boolean

  • NewBatchGUID Guid

  • NewHideDialog Boolean


Events

OnBeforeOutbDocument2FileStorage

local procedure OnBeforeOutbDocument2FileStorage(var RecRef: RecordRef; var IsHandled: Boolean)

Raised before outbound document file is uploaded into file storage directory (if setup specific is configured)

Parameters / Return Value

  • RecRef RecordRef

    The Record of the document

  • IsHandled Boolean

    If true standard function code will be skipped


OnAfterOutbDocument2FileStorage

local procedure OnAfterOutbDocument2FileStorage(var RecRef: RecordRef)

Raised before outbound document file is uploaded into file storage directory (if setup specific is configured)

Parameters / Return Value

  • RecRef RecordRef

    The Record of the document


OnBeforeOutbSelfDocument2FileStorage

local procedure OnBeforeOutbSelfDocument2FileStorage(var RecRef: RecordRef; EOS063OutbPEDocData: Record "EOS063 Outb. P. EDoc. Data"; var IsHandled: Boolean)

Raised before outbound self document file is uploaded into file storage directory (if setup specific is configured)

Parameters / Return Value

  • RecRef RecordRef

    The Record of the document

  • EOS063OutbPEDocData Record "EOS063 Outb. P. EDoc. Data"

    Dataset that contains created file data

  • IsHandled Boolean

    If true standard function code will be skipped


OnAfterOutbSelfDocument2FileStorage

local procedure OnAfterOutbSelfDocument2FileStorage(var RecRef: RecordRef; EOS063OutbPEDocData: Record "EOS063 Outb. P. EDoc. Data")

Raised before outbound self document file is uploaded into file storage directory (if setup specific is configured)

Parameters / Return Value

  • RecRef RecordRef

    The Record of the document

  • EOS063OutbPEDocData Record "EOS063 Outb. P. EDoc. Data"

    Dataset that contains created file data


OnBeforeImportFileStorageFolder

local procedure OnBeforeImportFileStorageFolder(GlobalBatchGUID: Guid; IsBatchProcess: Boolean; var IsHandled: Boolean)

Raised before inbound documents are imported from directory specified in File Storage group of Inbound setup

Parameters / Return Value

  • GlobalBatchGUID Guid

    Unique ID that specifies current operation

  • IsBatchProcess Boolean

    Specifies if process has been schedulated or has been triggered manually

  • IsHandled Boolean

    If true standard function code will be skipped


OnAfterImportFileStorageFolder

local procedure OnAfterImportFileStorageFolder(GlobalBatchGUID: Guid; IsBatchProcess: Boolean)

Raised after inbound documents are imported from directory specified in File Storage group of Inbound setup

Parameters / Return Value

  • GlobalBatchGUID Guid

    Unique ID that specifies current operation

  • IsBatchProcess Boolean

    Specifies if process has been schedulated or has been triggered manually



EOS Labs -