project QadFinancials > class BFixedAssetRevaluation > method StopExternalInstances

Description

Stop instances that are started in AdditionalUpdates as part of current transaction


Parameters


oiReturnStatusoutputintegerReturn status of the method.


Internal usage


QadFinancials
method BFixedAssetRevaluation.AdditionalUpdates


program code (program/bfixedassetrevaluation.p)

/* Stop External Instance to BFixedAssetAsset */
if viBFixedAssetAssetRevalID <> 0
then do:
    <I-1 {bFcStopInstance
            &CLASS           = "BFixedAssetAsset"}>
    assign viBFixedAssetAssetRevalID = 0.
end.

/* Stop External Instance to BJournalEntry */
if viBJournalEntryRevalID <> 0
then do:
    <I-2 {bFcStopInstance
            &CLASS           = "BJournalEntry"}>
    assign viBJournalEntryRevalID = 0.
end.

<ANCESTOR-CODE>