How do Product Consumed records keep van inventory accurate in real time in Salesforce Field Service?
Answer
A Product Consumed record states that a technician used some quantity of a part on a Work Order or Work Order Line Item. It links the Product Item (stock at a location, usually the technician's van) to the job.
How it keeps inventory current
- The technician adds Products Consumed in the mobile app, even offline.
- The quantity on the related Product Item is reduced.
- A Product Item Transaction is created automatically as an audit entry.
- When the device syncs, the server stock matches what really happened.
Business benefits
- Accurate van stock and fewer surprise stock-outs.
- Parts can be billed to the customer from the Work Order.
- Data for replenishment and for cost analysis.
soql
SELECT WorkOrderId, ProductItem.Product2.Name, QuantityConsumed
FROM ProductConsumed
WHERE WorkOrderId = :workOrderId
Watch out for: offline consumption of the same stock by two people, and corrections, which should be made with an adjustment rather than by editing history.
Product ConsumedInventoryProduct ItemMobile