This constructor is used to instantiate an existing CBatch object. A new DataServer
object is used to retrieve the object.
Namespace: Asi.iBO.FinancialsAssembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0
Syntax
| C# |
|---|
public CBatch( IiMISUser user, string batchNumber ) |
| Visual Basic |
|---|
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
| Exception | Condition |
|---|---|
| Asi.iBO..::..ObjectNotFoundException | thrown when a batch with the supplied batch number cannot be found.> |