clm_material_handover_command_complete_material_handover
Complete a material handover by recording final photos and note, calculating total time, updating shipment status, and generating thumbnails.
Instructions
Marks a handover as Completed: appends a completion event, stores the final material/responsible-person photos and note, computes the total time spent by summing the durations between paired handover events, optionally attaches the responsible person resolved from a QR-code scan, updates the parent shipment's aggregated handover status (triggering PDF regeneration if the shipment itself is now complete), and queues a background job to generate thumbnails for the final photos.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||