LinesCheckStockWarning Method

Checks stock warnings based on the indicated values.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static StockWarningType CheckStockWarning(
	NoteType noteType,
	decimal quantity,
	decimal stock,
	decimal availableStock,
	decimal theoreticalStock,
	decimal safetyStock,
	decimal maximumStock,
	bool editing = false,
	[OptionalAttribute] decimal modifiedQuantity
)

Parameters

noteType  NoteType
NoteType with the note type.
quantity  Decimal
decimal with the quantity.
stock  Decimal
decimal with the stock.
availableStock  Decimal
decimal with the avaliable stock..
theoreticalStock  Decimal
decimal with the theoretical stock.
safetyStock  Decimal
decimal with the safety stock.
maximumStock  Decimal
decimal with the maximum stock.
editing  Boolean  (Optional)
Indicates if is editing.
modifiedQuantity  Decimal  (Optional)
decimal with the modified quantity.

Return Value

StockWarningType
StockWarningType with the stock warning type.

See Also