project QadFinancials > class BPaymentSelection > method GetBatchSizeForPaySel

Description

Get max and min batch size from system table.


Parameters


oiMaxBatchSizeoutputinteger
oiMinBatchSizeoutputinteger
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


QadFinancials
method BPaymentSelection.ApiConfirmPaymentSelectionPreValidation


program code (program1/bpaymentselection.p)

<Q-42 run SystemPropertyByAll (all) (Read) (NoCache)  (output dataset tqSystemPropertyByAll) in BSystemProperty>
find first tqSystemPropertyByAll.

/*For reducing the payment numbers, set the min batch size to 1*/
assign oiMaxBatchSize = tqSystemPropertyByAll.tiSysPropertyPaySelMaxBatchSize
       oiMinBatchSize = 1.