---
title: "InsertCosts: Ole Error: 80004005. Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression"
canonical: "https://wiki.soft1.eu/space/SKEN/643079598/InsertCosts%3A+Ole+Error%3A+80004005.+Subquery+returned+more+than+1+value.+This+is+not+permitted+when+the+subquery+follows+%3D%2C+!%3D%2C+%3C%2C+%3C%3D+%2C+%3E%2C+%3E%3D+or+when+the+subquery+is+used+as+an+expression"
format: markdown
---
🌱 It is displayed upon running the *Costing production* job. Work as follows:

1. Check for any inactive accounting accounts.

2. Find accounts that are opened both in the Analytical and General Ledger.

3. If necessary, delete the identified account.

### Message list

> Macro (contentbylabel)