Creates a new CStandardOrderLine for the order and appends it to the end of the OrderLines array.
Namespace:
Asi.iBO.CommerceAssembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.2.0
Syntax
| C# |
|---|
public CStandardOrderLine NewLineItem( string productCode, double quantity ) |
| Visual Basic (Declaration) |
|---|
Public Function NewLineItem ( _ productCode As String, _ quantity As Double _ ) As CStandardOrderLine |
| Visual C++ |
|---|
public: CStandardOrderLine^ NewLineItem( String^ productCode, double quantity ) |
Parameters
- productCode
- Type: System..::.String
The key to the product being added to the order.
- quantity
- Type: System..::.Double
The quantity of the product being added to the order.