Gets all batches with the given BatchPostingStatus and effective date created by the given user.

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,
	string createdBy
)
Visual Basic
Public Shared Function GetBatches ( _
	user As IiMISUser, _
	status As BatchPostingStatus, _
	effectiveDate As DateTime, _
	createdBy As String _
) As CBatch()
Visual C++
public:
static array<CBatch^>^ GetBatches(
	IiMISUser^ user, 
	BatchPostingStatus status, 
	DateTime effectiveDate, 
	String^ createdBy
)

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.
createdBy
Type: System..::..String
The user name of the user who created the requested batch(es)

Return Value

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

See Also