project QadFinancials > class BDivision > 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 BDivision.AdditionalUpdates


program code (program/bdivision.p)

if viBMfgSubAccountID <> 0
then do:
    <I-1 {bFcStopInstance
            &CLASS           = "BMfgSubAccount"}>
    assign viBMfgSubAccountID = 0.
end.

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

<ANCESTOR-CODE>