clm_site_equipment_command_calculate_bookable_equipment_usage
Recalculate a bookable site equipment's daily usage for a date by tallying open and approved shipments against total available time, then persist the aggregate or remove it when usage drops to zero.
Instructions
Recalculates and persists a bookable site equipment's daily usage aggregate for the given date, tallying open and approved shipments/bookings that use the equipment that day against its total available time; the aggregate record is removed if total usage becomes zero.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||