project QadFinancials > class BUserRole > 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/buserrole.p)
If viBMfgUserRoleID <> 0 Or
viBMfgUserRoleID <> ?
Then Do:
<I-1 {bFcStopInstance
&CLASS = "BMfgUserRole"}>
Assign viBMfgUserRoleID = 0.
End.
If viBMfgUserDomainForUsrRoleID <> 0 Or
viBMfgUserDomainForUsrRoleID <> ?
Then Do:
<I-2 {bFcStopInstance
&CLASS = "BMfgUserDomainForUsrRole"}>
Assign viBMfgUserDomainForUsrRoleID = 0.
End.
<ANCESTOR-CODE>