This constructor is used to instantiate an existing CBatch object. A new DataServer object is used to retrieve the object.

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

Syntax

C#
public CBatch(
	IiMISUser user,
	string batchNumber
)
Visual Basic (Declaration)
Public Sub New ( _
	user As IiMISUser, _
	batchNumber As String _
)
Visual C++
public:
CBatch(
	IiMISUser^ user, 
	String^ batchNumber
)

Parameters

user
Type: Asi.iBO..::.IiMISUser
The IiMISUser object providing the security credentials of the logged in user.
batchNumber
Type: System..::.String
The number of the existing CBatch.

Exceptions

ExceptionCondition
Asi.iBO..::.ObjectNotFoundException thrown when a batch with the supplied batch number cannot be found.>

See Also