ProductInventoryTrackerCheckInventory(IInventoryTrackable, Decimal, Decimal) Method
Checks a product's inventory in netFORUM against a requested quantity
Namespace: Ignition.Commerce.ProductsAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
public InventoryCheckResult CheckInventory(
IInventoryTrackable product,
out decimal quantityAvailable,
[OptionalAttribute] decimal quantityRequested
)
Public Function CheckInventory (
product As IInventoryTrackable,
<OutAttribute> ByRef quantityAvailable As Decimal,
<OptionalAttribute> quantityRequested As Decimal
) As InventoryCheckResult
public:
virtual InventoryCheckResult CheckInventory(
IInventoryTrackable^ product,
[OutAttribute] Decimal% quantityAvailable,
[OptionalAttribute] Decimal quantityRequested
) sealed
abstract CheckInventory :
product : IInventoryTrackable *
quantityAvailable : decimal byref *
[<OptionalAttribute>] quantityRequested : decimal -> InventoryCheckResult
override CheckInventory :
product : IInventoryTrackable *
quantityAvailable : decimal byref *
[<OptionalAttribute>] quantityRequested : decimal -> InventoryCheckResult
- product IInventoryTrackable
- The product whose inventory is to be checked
- quantityAvailable Decimal
-
If inventory tracking is enabled for this product (ie, the method returned anything but InventoryNotTracked),
then this is the actual quantity available for this product; otherwise 0 if tracking is not enabled.
- quantityRequested Decimal (Optional)
- The quantity in which the product is being requested
InventoryCheckResultThe results of the requested check. See
InventoryCheckResult for detailed descriptions of the possible results.