Description
This method stops all started queries
Parameters
oiReturnStatus | output | integer | Return status of the method. |
Internal usage
QadFinancials
program code (program5/bddocument.p)
/* ========================================================================================== *
* Method: StopAllQueries *
* Desc: This method stops all started queries *
* ========================================================================================== */
if vlIsQStartedDInvoiceById
then do:
<Q-4 run DInvoiceByID (Stop) in BDInvoice >
assign vlIsQStartedDInvoiceById = false.
end.
if vlIsQStartedGLByBankInfo
then do:
<Q-1 run GLByBankInfo (Stop) in BGL >
assign vlIsQStartedGLByBankInfo = false.
end.
if vlIsQStartedPostingVatByPosti
then do :
<Q-2 run PostingVatByPostingLineId (Stop) in BPosting >
assign vlIsQStartedPostingVatByPosti = false.
end.
if vlIsQStartedMfgTaxCodeByTaxC
then do:
<Q-5 run MfgTaxCodeByTaxCode (Stop) in BMfgTaxCode >
assign vlIsQStartedMfgTaxCodeByTaxC = false.
end.