project BLF > class BBusinessComponent > method StopExternalInstances
Description
Stop instances that are started in AdditionalUpdates as part of current transaction
Parameters
oiReturnStatus | output | integer | Return status of the method. |
Internal usage
BLF
QadFinancials
program code (program/bbusinesscomponent.p)
/* ======================================== */
/* Stop External Instance for BJournalEntry */
/* ======================================== */
if viBRoleBusCompID <> 0 and
viBRoleBusCompID <> ?
then do:
<I-1 {bFcStopInstance
&CLASS = "BRole"}>
assign viBRoleBusCompID = 0.
end.
If viBResourceID <> 0 And
viBResourceID <> ?
THEN Do:
<I-2 {bFcStopInstance
&CLASS = "BResource"}>
Assign viBResourceID = 0.
End.
<ANCESTOR-CODE>