📦 Low Stock Notification — Setup
This guide walks you through the complete first-time configuration of the Low Stock Notification module.
Prerequisites
The user performing the setup must be assigned the N24I Admin Permissions permission set. This permission set grants full access to all module configuration pages and tables, including RuleSets, Rules, and Recipients.
To assign it, go to User Card → Permission Sets and add N24I Admin Permissions.
Step 1: Open Advanced Inventory Setup
Search for N24I | Advanced Inventory Setup or navigate to it from the Tell Me search bar. This is the central configuration page for all Advanced Inventory modules.
Step 2: Enable the Module
In the Modules FactBox on the right side of the N24I | Advanced Inventory Setup page, locate the 📦 Low Stock Notification module and toggle it on. Refresh the page afterward to display module-specific fields and sections.
After enabling the module, the 📦 Low Stock Notification group and the 🕐 Job Queues FactBox become visible on the setup page.
Step 3: Create a RuleSet
- In the 📦 Low Stock Notification section of the setup page, click Open Low Stock Notification Rules to open the N24I - Low Stock RuleSets list page.
- Click New to create a new RuleSet.
- Fill in the fields on the N24I - Low Stock RuleSet Card:
| Field | Description |
|---|---|
| Code | A unique code for this RuleSet (e.g., DEFAULT, WAREHOUSE-EAST). Required. |
| Description | A short description. This text is used as the subject line in alert emails. Required. |
| Enabled | Turn this on when the RuleSet is ready for automated monitoring. |
Add Rules
In the Rules subpage on the RuleSet Card, add one or more rules:
| Field | Description |
|---|---|
| Rule Type | Global — applies to all items. Item Category — applies to items in a specific category. Item — applies to a single item. |
| Code | Leave blank for Global. For Item Category, select the category code. For Item, select the item number. |
| Threshold Quantity | Items with inventory at or below this quantity will trigger an alert. Must be ≥ 0. |
| Location Filter | Optional. Use standard BC filter syntax (e.g., EAST\|WEST) to restrict the rule to specific locations. Leave blank to check all locations. The lookup opens the Location List for easy selection. |
| Enabled | Toggle individual rules on or off without deleting them. |
Rule priority: When multiple rules could apply to the same item, the most specific rule wins:
Item>Item Category>Global. Only one rule per item per RuleSet is applied.
Tip: A default disabled
Globalrule is automatically created when you add a new RuleSet. You can enable it or replace it with more specific rules.
The Current Stock column shows the live inventory quantity for Item-type rules, so you can immediately see the current stock level while configuring thresholds.
Step 4: Assign Recipients
In the Recipients subpage on the RuleSet Card, add the email addresses that should receive alerts for this RuleSet:
| Field | Description |
|---|---|
| Email Address | The recipient's email address. Validated for correct format. The lookup shows Business Central users. You can enter any valid email. |
| Contact Name | Automatically populated from the BC User record (read-only). |
| Preferred Language | The language in which the recipient will receive the email notification. Defaults to the user's BC language. |
| Language | Read-only display of the language name. |
Each recipient receives the email in their own preferred language. Only English and Polish are supported at the moment, but more languages may be added in the future on request.
Step 5: Assign an Email Scenario
Before emails can be sent, you must assign the Low Stock Alert scenario to a configured email account:
- Search for Email Accounts in the Tell Me search bar and open the page.
- Ensure at least one email account is configured and working.
- Navigate to Email Scenario Assignment (you can find it via Tell Me or from the Email Accounts page).
- Add a new assignment:
- Email Account: select the email account that should send the alerts
- Scenario: select N24I - Low Stock Alert.
Without this assignment, the system will not be able to send low stock alert emails.
Step 6: Test the RuleSet
Before enabling automated monitoring, test your configuration:
- Open the N24I - Low Stock RuleSet Card for your RuleSet.
- Make sure the RuleSet has at least one enabled rule and at least one recipient.
- Click the Test RuleSet action in the action bar.
- The system will:
- Evaluate all enabled rules against current inventory levels.
- Send an email to all assigned recipients if any items are at or below their threshold.
- Check the recipients' inboxes for the alert email.
You can also click View Live Results to open the N24I - Low Stock Alert Results page, which shows all items currently below threshold for this RuleSet — recalculated in real time.
Tip: Use View Live Results to verify your rules are matching the expected items before sending test emails.
Step 7: Create and Enable the Job Queue
For automated, recurring stock checks, create a Job Queue Entry:
- On the N24I - Low Stock RuleSet Card or the N24I - Low Stock RuleSets list, locate the 🕐 Job Queues FactBox on the right side.
- Find the Low Stock Notification row.
- If the Status shows ❌ Not Created, click Create to create the Job Queue Entry.
- Once created, click Start to activate the queue. The status changes to ✅ Ready.
The Job Queue runs on a 24-hour interval by default, checking all enabled RuleSets and sending alerts as needed.
| FactBox Action | Description |
|---|---|
| Create | Creates the Job Queue Entry for Low Stock Notification. |
| Start | Sets the queue status to Ready — it will run on schedule. |
| Stop | Pauses the queue (sets status to On Hold). |
| Reload | Refreshes the FactBox to show the latest queue status. |
Make sure the RuleSet Enabled toggle is turned on — the Job Queue only processes enabled RuleSets.
Understanding the Alert Email
When the Job Queue (or a manual test) detects items below threshold, each recipient receives an email containing:
- A subject line based on the RuleSet Description and the number of affected items.
- A table with columns: Item No., Description, Location, Current Stock, Threshold, and Unit of Measure.
- Item numbers are linked directly to the Item Card in Business Central.
- Items below threshold are highlighted in red.
- A View Live Results in Business Central button that opens the N24I - Low Stock Alert Results page with a fresh, real-time recalculation.
Troubleshooting
| Issue | Solution |
|---|---|
| No emails are sent | Verify the N24I - Low Stock Alert email scenario is assigned to an email account in Email Scenario Assignment. Check that the RuleSet is Enabled and has at least one enabled rule and one recipient. |
| Job Queue shows 📛 Error | Open the Job Queue Entry from the standard Job Queue Entries page to inspect the error message. Common causes: email account misconfiguration, permissions issues. |
| Job Queue shows ⚠️ Finished | The queue completed and did not reschedule. Recreate or restart it from the 🕐 Job Queues FactBox. |
| Items are not detected | Check that the item is not blocked, the rule is enabled, and the threshold is set correctly. Use View Live Results to debug. |
| Wrong items appear in alerts | Review rule priority — Item rules override Item Category, which overrides Global. Make sure the correct rule type and code are configured. |