This constructor instantiates an existing COrder from the database.
Namespace: Asi.iBO.CommerceAssembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0
Syntax
| C# |
|---|
public COrder( IiMISUser user, double orderNumber ) |
| Visual Basic |
|---|
Public Sub New ( _ user As IiMISUser, _ orderNumber As Double _ ) |
| Visual C++ |
|---|
public: COrder( IiMISUser^ user, double orderNumber ) |
Parameters
- user
- Type: Asi.iBO..::..IiMISUser
The IiMISUser object providing the security credentials of the logged in user.
- orderNumber
- Type: System..::..Double
The OrderNumber of the COrder to instantiate.
Exceptions
| Exception | Condition |
|---|---|
| Asi.iBO..::..ObjectNotFoundException | thrown when an order with the supplied order number cannot be found.> |