project QadFinancials > class BFixedAssetRevaluation > method AdditionalUpdates

Description

This empty method allows to do additional updates on class temp-tables after records were received (and validated) from outside, using method SetPublicTables.
You can start instances of other business classes to do those updates.


Parameters


oiReturnStatusoutputinteger


Internal usage


unused


program code (program/bfixedassetrevaluation.p)

<ANCESTOR-CODE>

/*create postings*/
<M-1 run AdditionalUpdatesPosting (output viFcReturnSuper (oiReturnStatus)) in BFixedAssetRevaluation>

if viFcReturnSuper < 0 or (viFcReturnSuper > 0 and oiReturnStatus >= 0)
then assign oiReturnStatus = viFcReturnSuper.

if oiReturnStatus < 0
then do:
    <M-5 run StopExternalInstances
       (output viFcReturnSuper (oiReturnStatus)) in BFixedAssetRevaluation>
    return.
end.
/*update amounts on asset book*/
<M-3 run AdditionalUpdatesFAAsset (output viFcReturnSuper (oiReturnStatus)) in BFixedAssetRevaluation>

if viFcReturnSuper < 0 or (viFcReturnSuper > 0 and oiReturnStatus >= 0)
then assign oiReturnStatus = viFcReturnSuper.

if oiReturnStatus < 0
then do:
    <M-6 run StopExternalInstances
       (output viFcReturnSuper (oiReturnStatus)) in BFixedAssetRevaluation>
    return.
end.