InquiryType Property
Indicates whether to perform an inquiry on the current batch or on the previous batch.
Syntax
globalbatchmgr.getInquiryType([callback]) globalbatchmgr.setInquiryType( inquiryType, [callback])
Possible Values
0 (itCurrentBatch), 1 (itPreviousBatch)
Default Value
0
Callback
The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).
The callback for the getInquiryType([callback]) method is defined as:
function(err, data){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'data' is the value returned by the method.
The callback for the setInquiryType([callback]) method is defined as:
function(err){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'err' has 2 properties which hold detailed information:
err.code err.message
Remarks
This property is used by the BatchInquiry method to indicate whether you wish to retrieve results for the current open batch, or for the most recently closed batch. This property is not applicable for the GetBatchSummary method.
Data Type
Integer