Product positivity alert
The positivity alert helps you identify repurchase opportunities when browsing products and adding items to an order. For each product, Demander compares the latest eligible purchase with the period defined by the company and shows an indicator next to the product information.
With a customer selected, the alert considers only that customer’s purchases. Without a customer, it considers the latest purchase across all customers whose orders are available to your user, respecting access permissions.
Before configuring
Section titled “Before configuring”For a purchase to be included in the history used by the alert, its order type must have the Include in latest sales option enabled. Orders of types that do not use this option are excluded from the calculation, even if they have already been synchronized.
See Registering Order Types to learn how to review this setting.
Setting the period
Section titled “Setting the period”In Demander Web, go to the company settings under Additional settings. In Product positivity alert behavior, choose one of the options below.

| Option | How the period is calculated |
|---|---|
| Disabled | Does not show the alert. This is the default value. |
| Current month | Considers purchases made from the first day of the current month through today. |
| Customer purchase interval | Uses the number of days set in the purchase interval in the customer’s record. For example, an interval of 15 days considers purchases from the last 15 days. Without a selected customer, product browsing uses the last 30 days. |
| Last 30 days | Considers purchases made in the 30 days before the current date. |
| Last 60 days | Considers purchases made in the 60 days before the current date. |
Checking positivity on the Products screen
Section titled “Checking positivity on the Products screen”You can check the positivity alert in two places: on the Products screen, without starting an order, and on the add items to order screen.
- In the application, open the Products screen.
- Browse the products and check the indicator next to each product’s information.
- To analyze a specific customer’s purchases, select that customer in the browsing filters.
| Browsing context | Which purchase is used |
|---|---|
| With a selected customer | The latest eligible purchase of the product by that customer. Other customers’ purchases are excluded. |
| Without a selected customer | The latest eligible purchase of the product across all customers whose orders are available to your user. The result depends on your permissions and the available data. |
When you select, change or remove the customer, the application recalculates the indicators for the new context. Removing the customer returns to considering purchases across all available customers.
Product browsing uses the same period setting and indicators as order entry. On the add items screen, the alert considers the order’s customer.
Managers and sales teams
Section titled “Managers and sales teams”When you browse products as a manager, the indicator uses the salesperson selected in the filters:
| Salesperson filter | Purchases considered |
|---|---|
| No salesperson selected | Eligible purchases from the salespeople assigned to the teams you manage, including the manager, according to your access permissions. |
| One salesperson selected | Eligible purchases from that salesperson within your access permissions. This also applies when you select the manager. |
If a customer is selected, the alert considers only that customer’s purchases within this set of salespeople. Without a customer, it uses the latest eligible purchase across the available customers. Clearing the salesperson selection includes the team again.
For example, if one salesperson on your team sold a product on November 5 and another sold it on November 8, browsing without a salesperson selected uses November 8. Selecting the first salesperson uses November 5. Purchases from salespeople outside the teams you can access are excluded.
For salesperson users without another selection, the alert keeps the signed-in salesperson’s context. In all cases, the indicator only appears when the alert is configured with an option other than Disabled.
Checking positivity when creating an order
Section titled “Checking positivity when creating an order”- Open the Orders screen and start a new order.
- Select the order’s customer.
- Open the add items to order screen.
- Browse the products and check the positivity indicator next to each product’s information.
Here, the alert considers eligible purchases by the order’s customer, using the period configured by the company. With Customer purchase interval, it uses the interval registered for that customer.
The indicators use the same text and colors as browsing on the Products screen. See below how to interpret each result.
Understanding the indicator
Section titled “Understanding the indicator”When browsing products and entering an order, the application shows the result next to the product information.
| Indicator | Meaning |
|---|---|
| Last purchase date in green | The latest eligible purchase is within the configured period. The text is Positivized on, followed by the date. |
| Last purchase date in red | There is an eligible purchase before the start of the period. The text is Last purchase on, followed by the date. |
| Never purchased in orange | There is no eligible purchase of this product in the browsing context: for the selected customer or, without a customer, across all available customers. |



The images above show the indicators on order items. Product browsing uses the same text, colors and rectangular shape.
The alert considers a purchase made exactly on the first date of the period as within the period. For example, with the Last 30 days option, a purchase made exactly 30 days ago appears in green.
Which purchases are included in the calculation
Section titled “Which purchases are included in the calculation”Demander uses the latest eligible purchase of the product in the browsing context. Only orders whose type has Include in latest sales enabled are included.
| Usage mode | History considered |
|---|---|
| Online | Orders available on the server and accessible to your user. Online orders are saved on the server. |
| Offline | Orders and history available on the device, including local orders with Saved status that have not yet been synchronized. |
To check history offline, the corresponding data and settings must be available on the device. An order saved only locally can be included offline before synchronization; online, it becomes part of the server history after synchronization.
An old purchase does not become Never purchased because it is outside the period: its date appears in red. Orange indicates no eligible purchase in the data available for that browsing context.
How each period works
Section titled “How each period works”Current month
Section titled “Current month”The start of the period is always the first day of the current month. If today is October 18, for example, purchases made since October 1 appear as positive.
Last 30 or 60 days
Section titled “Last 30 or 60 days”The start of the period is calculated from the current date. If today is October 18, the Last 30 days option considers purchases made since September 18; the Last 60 days option considers purchases made since August 19.
Customer purchase interval
Section titled “Customer purchase interval”With a customer selected, the period follows that customer’s registered purchase interval. For example, a customer with a 15-day interval uses the last 15 days.
Without a selected customer, this option uses the last 30 days. This rule applies only to Customer purchase interval: Current month, Last 30 days, Last 60 days and Disabled retain their own behavior, with or without a customer.
If a customer is selected but no interval has been entered, the alert is not displayed with this option. Enter the interval in the customer’s record or choose another period.
Product browsing examples
Section titled “Product browsing examples”Assume today is November 5 and the setting is Last 30 days. The period starts on October 6.
| Situation | Result |
|---|---|
| Customer Ana purchased on October 20 and customer Bruno on September 1. | Selecting Ana shows green with October 20. Selecting Bruno shows red with September 1. |
| No customer is selected and both purchases are available to the user. | The product shows green with October 20, the latest eligible purchase across available customers. |
| The latest purchase was on October 6. | The product shows green: the first day of the period is included. |
| The latest purchase was on October 5. | The product shows red with the last purchase date. |
| There is no eligible purchase in the data available for the browsing context. | The product receives the orange Never purchased indicator. |
With Customer purchase interval, if Ana has a 15-day interval and her latest purchase was on October 20, the product shows red when she is selected. Removing the customer changes the period to 30 days, and that same purchase shows green, provided it is the latest available purchase.
Frequently asked questions
Section titled “Frequently asked questions”Does the alert appear for every product?
Section titled “Does the alert appear for every product?”No. It only appears when the setting is different from Disabled. Products without eligible history receive the Never purchased indicator.
Is an order saved on the phone considered before synchronization?
Section titled “Is an order saved on the phone considered before synchronization?”Yes, when browsing offline. Orders saved on the device are included before synchronization, provided the order type is configured to be included in latest sales. Online browsing uses orders available on the server.
Why was a purchase not included in the alert?
Section titled “Why was a purchase not included in the alert?”Check that the order is available to your user, that its type has Include in latest sales enabled and, when a customer is selected, that the order belongs to that customer. Offline, also check that the history is available on the device.
If the purchase date appears in red, the purchase was included but falls outside the selected period.
Without a selected customer, whose history does the indicator show?
Section titled “Without a selected customer, whose history does the indicator show?”It shows the latest eligible purchase across all customers whose orders are available to your user. This does not mean a specific customer purchased the product. Select the customer to analyze only their purchases.
Is the period always 30 days without a selected customer?
Section titled “Is the period always 30 days without a selected customer?”No. The 30 days apply automatically only with Customer purchase interval. Other options use the period configured by the company.
Why can results differ between online and offline?
Section titled “Why can results differ between online and offline?”Online browsing uses history available on the server. Offline browsing uses data available on the device and can include local orders not yet synchronized. Synchronize the data to update the history available in each environment.