project QadFinancials > class BPeriod > 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
QadFinancials
program code (program/bperiod.p)
if viBPeriodMark5ID <> 0 and viBPeriodMark5ID <> ? and vlBPeriodMarkIsStartedFromPer
then do:
<I-1 {bFcStopInstance
&CLASS = "BPeriodMark"}>
assign viBPeriodMark5ID = 0
vlBPeriodMarkIsStartedFromPer = false.
end.
if viBMfgPeriodID <> 0 and viBMfgPeriodID <> ? then do:
<I-2 {bFcStopInstance
&CLASS = "BMfgPeriod"}>
assign
viBMfgPeriodID = 0.
end.
<ANCESTOR-CODE>