Gets all batches for the supplied event, with the given BatchPostingStatus and effective date.

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

Syntax

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

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.
eventCode
Type: System..::.String
The key to the CEvent with which the batch is associated.

Return Value

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

See Also