# Feature COSTS-43 - Introduce a standard query that we can use in the cost reports

Project: Stream Time & Costs
Status: tested
URL: https://community.openproject.org/work_packages/COSTS-43

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 18.0.0 |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

| ID | Type | Subject | Status | Assignee | Target versions | Spent time | Module |
| --- | --- | --- | --- | --- | --- | --- | --- |
| COSTS-181 | Bug | Cost reports PDF and XLS exports do not match filters  | tested |  | 18.0.0 |  | Modules and project features / Costs and budgets, Modules and project features / Export |

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | Yes |
| Enterprise plan | Community (COM) |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Klaus Zanders |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** a user logging time and costs in OpenProject  
**I want to** filter in both dimensions  
**so that** I can have consolidated reports.

**Acceptance criteria**

*   Use the same filters and index components that we use on projects.
    
*   Allow triggering the timesheet export from there using the new query
    

**Out of scope**

*   Change the existing cost report functionality in any way (we will not remove time entry table functionality from within cost reports)
    
*   Allow saving, favoring, pinning etc. of the new queries (to be added later, migrating existing CostReport queries)
