Creates a new CStandardOrderLine for the order and appends it to the end of the OrderLines array.

Namespace: Asi.iBO.Commerce
Assembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0

Syntax

C#
public CStandardOrderLine NewLineItem(
	string productCode,
	double quantity
)
Visual Basic
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.

Return Value

The new CStandardOrderLine object that has been added to the order.

See Also