project QadFinancials > class BAPMatching > method AdditionalUpdatesAllQueriesStart
Description
AdditionalUpdatesAllQueriesStart: Submethod of AdditionalUpdatesAll that is in the same segment and that makes sure queries are started before a major loop is run.
Note that also StartComponent in a class is started as repetitively an instance-less method in that class is run.
Parameters
oiReturnStatus | output | integer | Return status of the method. |
Internal usage
QadFinancials
program code (program6/bapmatching.p)
/* ================== */
/* Exception handling */
/* ================== */
assign oiReturnStatus = -98.
/* ====================================================================================================================== */
/* Optionaly Start queries used in the block from here onwards */
/* An instance of BMfgPOReceipt is started here (in another transaction) as we will repetitively call the instance-less */
/* method GetAccountInformationOnPOReceipt in it and this is more performing then to use vhFcComponent=? in this case */
/* ====================================================================================================================== */
<Q-1 run CInvoiceByMatchingInfo
(Start) in BCInvoice >
<Q-2 run CreditorForGLDivProfileDetails
(Start) in BCreditor >
<Q-3 run AccountDefaultMasterByPrimKey
(Start) in BMfgAccountDefaultMaster >
<Q-4 run SystemAccountControlForAll
(Start) in BMfgSystemAccountControl >
<Q-5 run ProductLineForMatchingAcc
(Start) in BMfgProductLine >
<Q-6 run PendingVoucherForMatchingAcc
(Start) in BMfgPendingVoucher >
<Q-7 run DomainForInventoryControlFile
(Start) in BMfgDomain >
<Q-9 run ProductLineDetForMatchingAcc
(Start) in BMfgProductLine >
<Q-10 run GLByGLSystemType
(Start) in BGL >
<Q-11 run WorkOrderRoutingByDomLotOper
(Start) in BMfgWorkOrder >
<I-12 {bFcStartAndOpenInstance
&ADD-TO-TRANSACTION = "false"
&CLASS = "BMfgPOReceipt"}>
/* ================== */
/* Exception handling */
/* ================== */
assign oiReturnStatus = 0.