Codeunit 18122027 EOS AdvDoc Processors Mngt

Codeunit 18122027 EOS AdvDoc Processors Mngt

Methods

UpdateProcessors

procedure UpdateProcessors(ReportSetup: record "EOS Report Setup") SomeChanges: Boolean

Parameters / Return Value

  • ReportSetup record "EOS Report Setup"

  • Returns Boolean


OpenDefaultProcessorSorting

procedure OpenDefaultProcessorSorting() SomeChanges: Boolean

Parameters / Return Value

  • Returns Boolean

ExecuteFileProcessors

procedure ExecuteFileProcessors(AdvDocRequest: Record "EOS AdvDoc Request"; AdvDocDocuments: Record "EOS AdvDoc Documents")

Parameters / Return Value

  • AdvDocRequest Record "EOS AdvDoc Request"

  • AdvDocDocuments Record "EOS AdvDoc Documents"


Events

OnCopyFlagsFromFileToFile

procedure OnCopyFlagsFromFileToFile(var OldFileList: Record "EOS AdvDoc Files"; var NewAdvDocFiles: Record "EOS AdvDoc Files")

This event is raised when a record file blob is copied to a new record and custom fields must me copied as well.

Parameters / Return Value

  • OldFileList Record "EOS AdvDoc Files"

    OLD Record “EOS AdvDoc Files”

  • NewAdvDocFiles Record "EOS AdvDoc Files"

    NEWRecord “EOS AdvDoc Files”


OnDiscoverAvailableProcessors

local procedure OnDiscoverAvailableProcessors(var AdvDocProcessor: Record "EOS AdvDoc Processor")

Subscribe to this event to add a new processor.

Parameters / Return Value

  • AdvDocProcessor Record "EOS AdvDoc Processor"

    Populate this temporary record with new processors.


OnExecuteProcessor

local procedure OnExecuteProcessor(AdvDocRequest: Record "EOS AdvDoc Request";AdvDocDocuments: Record "EOS AdvDoc Documents";ReportSetup: Record "EOS Report Setup";ExtensionCode: Code[20];ExtensionGuid: Guid)

This event is raised to execute a given processor on a request.

Parameters / Return Value

  • AdvDocRequest Record "EOS AdvDoc Request"

    The request.

  • AdvDocDocuments Record "EOS AdvDoc Documents"

    The documents associated with the request.

  • ReportSetup Record "EOS Report Setup"

    The report setup used for the request.

  • ExtensionCode Code[20]

    The ExtensionCode of the processor to be executed.

  • ExtensionGuid Guid

    The ExtensionGuid of the processor to be executed.


OnAfterExecuteProcessor

local procedure OnAfterExecuteProcessor(AdvDocRequest: Record "EOS AdvDoc Request";AdvDocDocuments: Record "EOS AdvDoc Documents";ReportSetup: Record "EOS Report Setup";ExtensionCode: Code[20];ExtensionGuid: Guid)

This event is raised after a given processor has been executed on a request.

Parameters / Return Value

  • AdvDocRequest Record "EOS AdvDoc Request"

    The request.

  • AdvDocDocuments Record "EOS AdvDoc Documents"

    The documents associated with the request.

  • ReportSetup Record "EOS Report Setup"

    The report setup used for the request.

  • ExtensionCode Code[20]

    The ExtensionCode of the processor that was executed.

  • ExtensionGuid Guid

    The ExtensionGuid of the processor that was executed.


OnBeforeExecuteProcessor

local procedure OnBeforeExecuteProcessor(AdvDocRequest: Record "EOS AdvDoc Request";AdvDocDocuments: Record "EOS AdvDoc Documents";ReportSetup: Record "EOS Report Setup";ExtensionCode: Code[20];ExtensionGuid: Guid;var ShouldExecute: Boolean)

This event is raised before a given processor is being executed on a request.

Parameters / Return Value

  • AdvDocRequest Record "EOS AdvDoc Request"

    The request.

  • AdvDocDocuments Record "EOS AdvDoc Documents"

    The documents associated with the request.

  • ReportSetup Record "EOS Report Setup"

    The report setup used for the request.

  • ExtensionCode Code[20]

    The ExtensionCode of the processor being executed.

  • ExtensionGuid Guid

    The ExtensionGuid of the processor being executed.

  • ShouldExecute Boolean

    Gets or sets whether this processor should be executed.



EOS Labs -