project QadFinancials > class BEmployee > method StopExternalInstances
Description
This method is used to stop instances that are started in AdditionalUpdates as part of current transaction
Parameters
oiReturnStatus | output | integer | Return status of the method. |
Internal usage
QadFinancials
program code (program/bemployee.p)
<ANCESTOR-CODE>
/* ================================================================================= *
* BMfgEmployee *
* ================================================================================= */
if valid-handle(vhBMfgEmployeeInst)
then do:
<I-97 {bFcCloseAndStopInstance
&CLASS = "BMfgEmployee"}>
end.
else if viBMfgEmployeeID <> 0 and viBMfgEmployeeID <> ?
then do:
<I-50 {bFcStopInstance
&CLASS = "BMfgEmployee"}>
end.