Click or drag to resize

IEditSessionAddSecondaryComponent(IProduct, IOrderStub, IOrderCompoundItemStub, NullableDecimal) Method

Adds a secondary component to the compound item.

Namespace: Resto.Front.Api.Editors
Assembly: Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
INewOrderCompoundItemComponentStub AddSecondaryComponent(
	IProduct product,
	IOrderStub order,
	IOrderCompoundItemStub compoundItem,
	decimal? predefinedPrice = null
)

Parameters

product  IProduct
Assortment position. Must exist in Syrve POS assortment.
order  IOrderStub
Order to which position will be added.
compoundItem  IOrderCompoundItemStub
Compound item to which new component will be added.
predefinedPrice  NullableDecimal  (Optional)
Predefined fixed price of the component, allows to use external quotation instead of default price list. null means default price.

Return Value

INewOrderCompoundItemComponentStub
See Also