Gets all batches for the supplied financial entity, 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[] GetFinancialEntityBatches(
	IiMISUser user,
	BatchPostingStatus status,
	DateTime effectiveDate,
	string financialEntityCode
)
Visual Basic
Public Shared Function GetFinancialEntityBatches ( _
	user As IiMISUser, _
	status As BatchPostingStatus, _
	effectiveDate As DateTime, _
	financialEntityCode As String _
) As CBatch()
Visual C++
public:
static array<CBatch^>^ GetFinancialEntityBatches(
	IiMISUser^ user, 
	BatchPostingStatus status, 
	DateTime effectiveDate, 
	String^ financialEntityCode
)

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.
financialEntityCode
Type: System..::..String
The key to the CFinancialEntity or Organization to which the batch belongs.

Return Value

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

See Also