This constructor is used to instantiate an existing CInvoice object.
Namespace: Asi.iBO.FinancialsAssembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0
Syntax
| C# |
|---|
public CInvoice( IiMISUser user, int referenceNumber ) |
| Visual Basic |
|---|
Public Sub New ( _ user As IiMISUser, _ referenceNumber As Integer _ ) |
| Visual C++ |
|---|
public: CInvoice( IiMISUser^ user, int referenceNumber ) |
Parameters
- user
- Type: Asi.iBO..::..IiMISUser
The IiMISUser object providing the security credentials of the logged in user.
- referenceNumber
- Type: System..::..Int32
The reference number of the desired Invoice.
Exceptions
| Exception | Condition |
|---|---|
| Asi.iBO..::..ObjectNotFoundException | thrown when an invoice with the supplied reference number cannot be found.> |