Click or drag to resize

IOperationServiceIsProductSellingRestricted Method

Checks remaining amount of the product and determines whether selling of that product is restricted.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V6 (in Resto.Front.Api.V6.dll)
Syntax
C#
bool IsProductSellingRestricted(
	IProduct product
)

Parameters

product
Type: Resto.Front.Api.Data.AssortmentIProduct
Product to check remaining amount.

Return Value

Type: Boolean
true if the product has too low amount and selling is restricted, otherwise false.
Remarks
If product selling is restricted, it can be sold only by user with permission to edit menu.
See Also