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
- Read the list in the message. It names what must be undone.
- 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.
- For payments and stock, do what the message lists after "To delete it, first".
- Then delete the project again. See Delete a project.
- 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
- Submit a request with the project name and the exact message.
