Gets all batches with the given BatchPostingStatus and effective date.

Namespace: Asi.iBO.Financials
Assembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0

Syntax

C#
public static CBatch[] GetBatches(
	IiMISUser user,
	BatchPostingStatus status,
	DateTime effectiveDate
)
Visual Basic
Public Shared Function GetBatches ( _
	user As IiMISUser, _
	status As BatchPostingStatus, _
	effectiveDate As DateTime _
) As CBatch()
Visual C++
public:
static array<CBatch^>^ GetBatches(
	IiMISUser^ user, 
	BatchPostingStatus status, 
	DateTime effectiveDate
)

Parameters

user
Type: Asi.iBO..::..IiMISUser
The IiMISUser object providing the security credentials of the logged in user.
status
Type: Asi.iBO.Financials..::..BatchPostingStatus
The BatchPostingStatus desired, for example, open, ready, or posted.
effectiveDate
Type: System..::..DateTime
The effective date set on the batch when it was created or the date that the batch was created if no specific effective date was set.

Return Value

An array of CBatch objects matching the supplied criteria, or null if no batches match.

See Also