LinesCheckStockWarning Method
Checks stock warnings based on the indicated values.
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static StockWarningType CheckStockWarning(
NoteType noteType,
decimal quantity,
decimal stock,
decimal availableStock,
decimal theoreticalStock,
decimal safetyStock,
decimal maximumStock,
bool editing = false,
[OptionalAttribute] decimal modifiedQuantity
)
Public Shared Function CheckStockWarning (
noteType As NoteType,
quantity As Decimal,
stock As Decimal,
availableStock As Decimal,
theoreticalStock As Decimal,
safetyStock As Decimal,
maximumStock As Decimal,
Optional editing As Boolean = false,
<OptionalAttribute> modifiedQuantity As Decimal
) As StockWarningType
- 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.
StockWarningTypeStockWarningType with the stock warning type.