project QadFinancials > class BDomain > 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/bdomain.p)
/* BCompany */
if viBCompanyDomainID <> 0 and
viBCompanyDomainID <> ?
then do:
<I-1 {bFcStopInstance
&CLASS = "BCompany"}>
assign viBCompanyDomainID = 0.
end.
/* BMFGDomain */
if viBMfgDomainDomainID <> 0 and
viBMfgDomainDomainID <> ?
then do:
<I-2 {bFcStopInstance
&CLASS = "BMfgDomain"}>
assign viBMfgDomainDomainID = 0.
end.
/* BSharedSet */
if viBSharedSetDomainID <> 0 and
viBSharedSetDomainID <> ?
then do:
<I-3 {bFcStopInstance
&CLASS = "BSharedSet"}>
assign viBSharedSetDomainID = 0.
end.
/* BDomainProperty */
if viBDomainPropertyDomainID <> 0 and
viBDomainPropertyDomainID <> ?
then do:
<I-4 {bFcStopInstance
&CLASS = "BDomainProperty"}>
assign viBDomainPropertyDomainID = 0.
end.
/* BCompanyProperty */
if viBCompanyPropertyDomainID <> 0 and
viBCompanyPropertyDomainID <> ?
then do:
<I-5 {bFcStopInstance
&CLASS = "BCompanyProperty"}>
assign viBCompanyPropertyDomainID = 0.
end.
/* BReplicaDaemonQueue */
if viBReplicaDaemonQueueDomainID <> 0 and
viBReplicaDaemonQueueDomainID <> ?
then do:
<I-7 {bFcStopInstance
&CLASS = "BReplicaDaemonQueue"}>
assign viBReplicaDaemonQueueDomainID = 0.
end.
/* PMfgProNrmApi */
if viPMfgProNrmApiID <> 0 and
viPMfgProNrmApiID <> ?
then do:
<I-41 {bFcStopInstance
&CLASS = "PMfgProNrmApi"}>
assign viPMfgProNrmApiID = 0.
end. /* if viPmfgProNrmApiID <> 0 and */
<ANCESTOR-CODE>