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/byearclosing.p)
/* ============ */
/* Stop BPeriod */
/* ============ */
if viBPeriodYearClosingID <> 0 and viBPeriodYearClosingID <> ?
then do:
<I-1 {bFcStopInstance
&CLASS = "BPeriod"}>
assign viBPeriodYearClosingID = 0.
end. /* if viBPeriodYearClosingID <> 0 ... */
/* ================== */
/* Stop BJournalEntry */
/* ================== */
if viBJournalEntryYearClosingID <> 0 and viBJournalEntryYearClosingID <> ?
then do:
<I-2 {bFcStopInstance
&CLASS = "BJournalEntry"}>
assign viBJournalEntryYearClosingID = 0.
end. /* if viBJournalEntryYearClosingID <> 0 ... */
<ANCESTOR-CODE>