What you see

In the "Delete Project" box, one of these:

  • "This project cannot be deleted because it has records posted to Accounts: [list]. Cancel the invoices and credit notes and delete the payments and expenses first, then delete the project."
  • "This project cannot be deleted because it has [number] payment(s) received and stock moved for it ([number] stock out(s)). To delete it, first ..." followed by what to undo.

Why it happens

  • "records posted to Accounts": invoices, credit notes, payments or expenses for the project are posted to Accounts.
  • "payment(s) received and stock moved": payments have been received and stock has gone out for this project.

What to do

  1. Read the list in the message. It names what must be undone.
  2. For records posted to Accounts, cancel the invoices and credit notes, and delete the payments and expenses. See Cancel an invoice, Edit or delete a payment and Edit, delete or void an expense.
  3. For payments and stock, do what the message lists after "To delete it, first".
  4. Then delete the project again. See Delete a project.
  5. If the job did not go ahead and you want to keep its history, do not delete it. A tender can be marked Lost instead. See Mark a tender as Lost.

If it still happens