Set the profit in AN column of GD as -300, then set the "cancellation by the company by its own" in the purchase status to complete the cancellation by filling gray in the whole lines.
Make profit of AN line of GD "-300" and status of purchasing "cancel by ourselves". Color the whole line to be gray and complete the processing of cancellation.