What you’ll learn
How service scripts decide which items go to an external service vendor: the single rule they use, how CRIBWISE finds items needing service, and what makes a script skip an item.
Service scripts at a glance
| Purpose | Check whether enough items need to be sent to an external service vendor. |
| Rule available | One only – a quantity of items needing service. |
| When it triggers | When the monitored devices hold more items needing service than the threshold. |
| Result | Those items are put on a service order. |
| Not covered | Items with an internal service vendor. |
How the rule works
A service script checks whether there are enough items needing service to be worth sending away. If the number of such items in the monitored devices exceeds the threshold you set, the items are put on a service order.
Note: Items with an internal service vendor are added to service lists automatically when service is requested for them. The rule does not apply to them.
How CRIBWISE finds items needing service
To collect the items, the system checks every location with the location rule For service and every serialized item with the status For service. An item ends up in that state through one of these:
- The item sits on a location with the location rule For service – because it was returned for service, restocked without an order in a condition for service, or placed on such a location by an assign or inventory operation.
- The serialized item has automatic service set and its service threshold has been reached. See How to set up tool life tracking and automatic service triggers.
Common confusion
| People often think… | But actually… |
| Every item needing service is picked up by the script. | An item with its own minimum quantity for service – set in the item’s supplier information – is ignored while that quantity is not met across the locations the script checks. It is not added to any service order or list, and it does not count towards the script’s rule. |
| Items with an internal service vendor are handled by the script. | They go to service lists automatically when service is requested, independently of the rule. |
| Service scripts have the same rule options as purchase scripts. | Only one rule exists for service scripts: the quantity of items needing service. |
Take action
Ready to set one up? Create the script in the Admin Portal – see Custom scheduled scripts: flexible rules for automated ordering.
Related articles
- Custom scheduled scripts: flexible rules for automated ordering – where purchase and service scripts are created and scheduled.
- How to set up tool life tracking and automatic service triggers – automatic service on serialized items.
- Managing serialized items and serial numbers – the statuses a serialized item moves through, including For service.