Availability may be displayed as a text, as an icon and actual stock level. Text and icon may be changed based on level indicating e.g. low stock.
Overview
Prices may be displayed with or without icon, with or without text and with and without stock level. The icon and text may also be changed depeding on stock level to indicate that a part is getting low on stock.
Limits for when a part is getting low in stock can be set in four levels:
Level 1. Out of stock
Level 2. Very low on stock
Level 3. Low on stock
Level 4. Available
The actual limits in terms of number of available may be defined in a configuration, or included in an API response. Returning a level (1-4) in the API may handle the situation that different parts are high runners so that when there are 100 on stock that may actually mean very low on stock, while another part with 5 in stock is plenty.
Configuration
Code Block |
---|
StockDisplayModes? StockDisplayMode
Display mode of stock. Default is StockDisplayModes.All.
enum StockDisplayModes {
None = 0x0,
Text = 0x1,
Quantity = 0x2,
Icon = 0x4,
AvailibilityText = 0x4,
LeadTime = 0x8,
All = 0x1F
}
|
Info |
---|
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...