project BLF > class BBusinessComponent > method InitialValues

Description

Add code here to initialize the calculated fields of a 'new' record (= a record that must be created in the application database) in a class temp-table.


Parameters


icTableNameinputcharacterName of the database table of which a record is created in the class temp-table.
oiReturnStatusoutputinteger


Internal usage


unused


program code (program/bbusinesscomponent.p)

if not vlSyncIsRunning
then do:
    <ANCESTOR-CODE>
end.

case icTableName:
    when "BusComponent"
    then assign tBusComponent.BusComponentIsActive      = true
                tBusComponent.BusComponentIsRSVEnabled  = false
                tBusComponent.BusComponentIsUserDefined = false.

    when "BusActivity"
    then assign tBusActivity.BusActivityIsActive  = true
                tBusActivity.BusActivityIsDefault = false.
end.