project QadFinancials > class BERSProcessor > method StopAllQueries


Parameters


oiReturnStatusoutputintegerReturn status of the method.


Internal usage


QadFinancials
method BERSProcessor.ERSProcessFinish
method BERSProcessor.GetERSPendingVouchersPORec


program code (program5/bersprocessor.p)

assign oiReturnStatus = -98.
    
if vlIsStartedtqERSMasterByVend
then do:
    <Q-1 run ERSMasterByVendSiteItem  (Stop) in BMfgERSMaster >
    assign vlIsStartedtqERSMasterByVend = false.
end.

if vlIsStartedtqPendVouERSD
then do:
    <Q-2 run PendingVoucherForERSDetail  (Stop) in BMfgPendingVoucher >
    assign vlIsStartedtqPendVouERSD = false.
end.

if vlIsStartedtqAPMatchingLnBySta
then do:
    <Q-3 run APMatchingLnByStatusPvod  (Stop) in BAPMatching >
    assign vlIsStartedtqAPMatchingLnBySta = false.
end.

if vlIsStartedtqItemWithVendDet
then do:
    <Q-4 run ItemByItemWithVendDet  (Stop) in BMfgItem >
    assign vlIsStartedtqItemWithVendDet = false.
end.

if oiReturnStatus = -98 then assign oiReturnStatus = 0.