warehouseTransfersReconcileDeliveryAppointment
Refreshes the transfer’s appointment from the scheduling integration: an unconfirmed booking is looked for there, and a confirmed appointment is read again and its changes are saved.
Business Rules
- Refused while the booking’s own process is still running. A booking that has not recorded its outcome is also refused until the integration’s longest possible booking time has passed since it started, even if its process timed out
- An unconfirmed booking is searched for at the warehouse it was booked at, among the connected user’s appointments, by its reference number, start time, dock, and load type. Appointments linked to a supply shipment or another transfer are ignored
- One match created after the booking started is linked to the transfer. A match created before it is not linked. No match clears the booking, so the transfer can be booked again. Several matches, or a search too large to finish, change nothing
- A confirmed appointment the integration reports as cancelled or missing is cleared and kept as history. When the integration cannot be reached, nothing changes
- Otherwise a confirmed appointment whose status, time, confirmation number, reference number, dock, load type, or notes changed in the integration is saved with the new values and recorded on the transfer’s timeline. When nothing changed, nothing is recorded
- Runs in the background; follow the returned process for the outcome
Error Scenarios
The process fails with the reason, for example “This transfer has no delivery appointment to refresh.” or the list of matching appointments.
Permissions Required
warehouse:schedule_transfer_delivery_appointment
warehouseTransfersReconcileDeliveryAppointment(
input: WarehouseTransfersReconcileDeliveryAppointmentInput!
): AsynchronousActionResponse!
Arguments
warehouseTransfersReconcileDeliveryAppointment.input ● WarehouseTransfersReconcileDeliveryAppointmentInput! non-null input common
Parameters for WarehouseTransfersReconcileDeliveryAppointment
Type
AsynchronousActionResponse object common
Asynchronous action response type