project BLF > class BBaseDaemon > method InitInstance

Description

This method can be extended with code to execute when an instance of a business class is started.

PreCondition

This method is executed when a new instance of the business class is started, or when a draft instance is opened (in that case a new instance is started which is a copy of the draft instance).


Parameters


oiReturnStatusoutputintegerReturn status of the method.


Internal usage


unused


program code (program/bbasedaemon.p)

<ANCESTOR-CODE>

/* ================================================================= */
/* BLF-3730                                                          */
/* Daemons do not need role-based security validation.               */
/* ================================================================= */
vlTransactionMainInstance = no.