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


program code (program/bmfgdomain.p)

/* BMFGSystemAccountControl */
if viBMfgSystemAccCtrlDomainID <> 0 and
   viBMfgSystemAccCtrlDomainID <> ?
then do:
    <I-1 {bFcStopInstance
            &CLASS           = "BMfgSystemAccountControl"}>
    assign viBMfgSystemAccCtrlDomainID = 0.
end.

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


<ANCESTOR-CODE>