Codeunit 18008122 EOS MDI Background Manager

Codeunit 18008122 EOS MDI Background Manager

Methods

CreateNecessaryProcesses

procedure CreateNecessaryProcesses()

UpdateCurrentStatus

procedure UpdateCurrentStatus(CurrentCodeunitID: Integer; EntriesToProcess: Integer)

Parameters / Return Value

  • CurrentCodeunitID Integer

  • EntriesToProcess Integer


DeleteCurrentBackgroundProcess

procedure DeleteCurrentBackgroundProcess()

CleanUpDeadProcesses

procedure CleanUpDeadProcesses(CheckCurrentSession: Boolean)

Parameters / Return Value

  • CheckCurrentSession Boolean

GetActiveBackgroundProcessorCount

procedure GetActiveBackgroundProcessorCount(Company: Text; CodeunitID: Integer; UserName: Text): Integer

Parameters / Return Value

  • Company Text

  • CodeunitID Integer

  • UserName Text

  • Returns Integer


GetRemainingEntriesFromBackgroundProcess

procedure GetRemainingEntriesFromBackgroundProcess(Company: Text; CodeunitID: Integer; UserName: Text): Integer

Parameters / Return Value

  • Company Text

  • CodeunitID Integer

  • UserName Text

  • Returns Integer


CreateBackgroundExecutors

procedure CreateBackgroundExecutors(CompanyNameToProcess: Text;CodeunitID: Integer;NoOfBackgroundTaskToCreate: Integer;RecordToProcessPerTask: Integer)

Parameters / Return Value

  • CompanyNameToProcess Text

  • CodeunitID Integer

  • NoOfBackgroundTaskToCreate Integer

  • RecordToProcessPerTask Integer


PermanentExecutorExist

procedure PermanentExecutorExist(Company: Text; CodeunitID: Integer; UserName: Text): Boolean

Parameters / Return Value

  • Company Text

  • CodeunitID Integer

  • UserName Text

  • Returns Boolean


JobQueueExist

procedure JobQueueExist(): Boolean

Parameters / Return Value

  • Returns Boolean

JobQueueExistAndReady

procedure JobQueueExistAndReady(): Boolean

Parameters / Return Value

  • Returns Boolean

CreateAndOpenJobQueue

procedure CreateAndOpenJobQueue()

Events

OnBeforeStartCodeunit

local procedure OnBeforeStartCodeunit(var JobQueueEntry: Record "Job Queue Entry")

Parameters / Return Value

  • JobQueueEntry Record "Job Queue Entry"


EOS Labs -