# How would you design an automated van stock replenishment process in Salesforce Field Service?

**Topic:** Field Service · **Difficulty:** Hard · **Tags:** Inventory, Flow, Design, Van Stock

Read it on the site: https://www.forcechallenges.com/interview-questions/how-would-you-design-an-automated-van-stock-replenishment-process-in-salesforce-field-service

## Answer

**Data model**
- **Locations** of type Warehouse and Van (one per technician vehicle).
- **Product Items** hold the quantity on hand of each product at each location.
- A custom **minimum / target quantity** field per product item (or on a config object) defines the reorder level.

**Process**
1. A scheduled Flow runs nightly and finds van product items below the minimum.
2. It creates a **Product Request** and line items for the shortfall, with the warehouse as source.
3. The warehouse fulfils it with a **Product Transfer**, and the technician receives it, which updates quantities and writes Product Item Transactions.
4. Consumption on Work Orders (Products Consumed) reduces van stock during the day.

**Edge cases:** in-transit stock, parts reserved for tomorrow's jobs (use Products Required), and counts that need adjustment.

The design is automated, auditable and keeps trucks stocked without manual calls.

---
Source: ForceChallenges · last updated 2026-10-28
