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/bexpensenote.p)
if viBCInvoice5ID <> 0 and viBCInvoice5ID <> ? and vlBCInvoiceIsStartedFromExpNote
then do:
<I-1 {bFcStopInstance
&CLASS = "BCInvoice"}>
assign viBCInvoice5ID = 0
vlBCInvoiceIsStartedFromExpNote = false.
end.
if viBJournalEntry8ID <> 0 and viBJournalEntry8ID <> ? and vlBJournalEntryIsStartedFromEN
then do:
<I-2 {bFcStopInstance
&CLASS = "BJournalEntry"}>
assign viBJournalEntry8ID = 0
vlBJournalEntryIsStartedFromEN = false.
end.
<ANCESTOR-CODE>