Gets all batches with the given BatchPostingStatus created by the given user.

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

Syntax

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