This constructor instantiates an existing CStandardOrder from the database.
Namespace:
Asi.iBO.CommerceAssembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.2.0
Syntax
| C# |
|---|
public CStandardOrder( IiMISUser user, double orderNumber ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ user As IiMISUser, _ orderNumber As Double _ ) |
| Visual C++ |
|---|
public: CStandardOrder( 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 key to the order to instantiate
Exceptions
| Exception | Condition |
|---|---|
| Asi.iBO..::.ObjectNotFoundException | Thrown when an order with the supplied order number cannot be found. |