project QadFinancials > class BHistoryDaemonProcessor > method LoadExternalWork

Description

Create daemonqueue records based on some external source. This might be a directory, or a separate webservice call, or whatever.
This method should be implemented on the specific daemonlevel, and contains code to create the right daemonqueue records.


Parameters


oiReturnStatusoutputintegerReturn status of the method.


Internal usage


unused


program code (program/bhistorydaemonprocessor.p)

<ANCESTOR-CODE>

/* ========================== */
/* Create DaemonQueue records */
/* ========================== */
<M-1 run CreateHistoryDaemonQueue (output viFcReturnSuper (oiReturnStatus)) in BHistoryDaemonQueue>
if viFcReturnSuper < 0 or (viFcReturnSuper > 0 and oiReturnStatus = 0)
then assign oiReturnStatus = viFcReturnSuper.