When a damage is repaired, the spare parts used are recorded with the repair — and the quantities are booked out of the vessel's stock automatically. The stock does not have to be corrected separately by hand.

## Recording a repair

1. Open the damage and choose `Repair`.
2. Select the spare parts consumed and enter the quantity for each.
3. Save.

Saving is what books the stock. Cancelling the dialog leaves the stock untouched.

## Correcting quantities afterwards

Only the **difference** is settled when a repair is saved again:

* Increasing a quantity books the additional amount out.
* Decreasing it credits the difference back.
* Removing a spare-part line credits back everything that was booked for it.

## Where you save it matters

Saving the repair **on the vessel** changes the stock quantity immediately.

Saving it **in the office** sends the change to the vessel as a stock correction request, which the crew has to confirm before the on-board quantity changes. The repair itself and the recorded quantities are saved either way — only the moment the stock figure moves depends on where the repair was saved. See [Stock Corrections from Office](/Technical/Stock-Control/Stock-Corrections-from-Office.md).

## When nothing is booked

* **Stock is kept per vessel.** Booking only happens for real vessels with an IMO number. A case edited in the office without a vessel link books nothing — that is correct, not an error.
* **Only real stock items are booked.** Free-text entries that are not linked to a stock item leave the stock alone. It is worth maintaining spare parts as stock items rather than as free text, so the automatic booking can work at all.
* **If a booking cannot be carried out** — the item is not kept in that vessel's stock, or it is locked at that moment — a message asks you to correct the stock by hand. The repair itself is never blocked by this.

## The report closes itself

A stevedore damage report does not have to be closed by hand. As soon as the **last remaining damage** is marked as repaired, the report closes automatically. A report that seems to vanish from the open list right after its final repair has simply been closed, because nothing was left to do.

## Who may change a damage

This depends on the status of the damage:

* While it is still a **draft**, it can be edited and deleted both on board and in the office.
* Once it has been **approved and activated**, editing and deleting are possible **in the office only**. On board the corresponding buttons are disabled for such damages — this is intentional and not a permission problem.

*[PO]: Purchase Order  
*[AZA]: local folder
*[(PO]: Purchase Order  
*[RQ]: Requisition  
*[(RQ]: Requisition  
*[RfQ]: Request for Quotation  
*[(RfQ]: Request for Quotation  
*[SO]: Service Order  
*[(SO]: Service Order  
*[SQ]: Service Requisition  
*[(SQ]: Service Requisition  
*[SRfQ]: Service Request for Quotation  
*[OoB]: Open on Board  
*[(OoB]: Open on Board 
*[ART]: Average Running Time (operation hours per day) 
*[MC]: Master Contract
*[ADS]: Advantage Database Server (database engine used in previous versions of the ZeeBORN software)
*[.replic]: file extension for replication files (aka data transfer files)
