You can add Miscellaneous Costs or Credits to a Works Order via the Misc. Costs menu in the Works Order module.
Miscellaneous costs should be used to book unexpected costs to Works Order, or costs that could not otherwise be captured through Stock Issues and/or Operation or Subcontract bookings.