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/bfixedassetdepreciation.p)
if vlBJournalEntryStartedFromFADep and
viBJournalEntry9ID <> 0
then do:
<I-1 {bFcStopInstance
&CLASS = "BJournalEntry"}>
assign viBJournalEntry9ID = 0
vlBJournalEntryStartedFromFADep = false.
end.
if vlBFAAssetBookStartedFromFADep and
viBFixedAssetAssetID <> 0
then do:
<I-2 {bFcStopInstance
&CLASS = "BFixedAssetAsset"}>
assign viBFixedAssetAssetID = 0
vlBFAAssetBookStartedFromFADep = false.
end.
<ANCESTOR-CODE>