Capturing Rework time and rework cost

How do we capture rework cost and rework time in rework work order?