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


program code (program/bdpaymentselection.p)

if vlBDCollectionWasStartedHere and
   viBDCollection7id  <> 0
then do:
    <I-67 {bFcStopInstance
         &CLASS           = "BDCollection"}>

    assign viBDCollection7id             = 0
           vlBDCollectionWasStartedHere = false.
end.

if viBDDocument9ID <> 0
then do:

  <I-80 {bFcStopInstance
       &CLASS           = "BDDocument"}>
  assign viBDDocument9ID = 0.
end.  

<ANCESTOR-CODE>