Confirming a work order
To confirm a work order, you need to specify the appointment that is being confirmed, the outcome of the appointment, and the execution details.
However,
the delivery service lines on the work order are not marked as completed.
They are moved to delivered status. The work order is considered complete
when all the provided service lines are completed and all products
are delivered. In a single work order confirmation, multiple appointments
can be completed. If the confirmWorkOrder API is
called to confirm the work order then all open appointments are cancelled
and allocated capacity are removed.
Sterling™ Order Management System also provides the capability to confirm work orders without specifying the appointment details. If, as part of the work order completion, all service lines (provided service and delivery service) are completed and all products are delivered, open appointments on the work order are resolved as follows:
- For a work order with a single appointment, the appointment is marked as completed.
- For a work order with multiple appointments, all appointments in the past are marked as completed, and future appointments are cancelled.