project QadFinancials > class BRoundingMethod > 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 BRoundingMethod.AdditionalUpdates
method BRoundingMethod.ValidateComponent


program code (program/broundingmethod.p)

if viBCurrency6ID <> ? and viBCurrency6ID <> 0
then do:
    <I-2 {bFcStopInstance
            &CLASS           = "BCurrency"}>
end.

if viBMfgRoundingMethodID <> ? and viBMfgRoundingMethodID <> 0
then do:
    <I-1 {bFcStopInstance
            &CLASS           = "BMfgRoundingMethod"}>
end.

<ANCESTOR-CODE>