Skip to main content

costs

Find costs

costs(
filters: [InputFilter!]
showCanceledCosts: Boolean = true
showEmptyBudgetData: Boolean = true
sort: [Sort!] = [{ caseSensitive: true, direction: asc, field: "cost_types.name" }]
articleId: Int
canceled: Boolean
resourceId: Int
resourceType: String
after: String
before: String
first: Int
last: Int
): CostConnection

Arguments​

costs.filters ● [InputFilter!] list input​

Filter entities by provided filters

costs.showCanceledCosts ● Boolean scalar​

Include entities with a canceled costs

costs.showEmptyBudgetData ● Boolean scalar​

Include when budget data is empty

costs.sort ● [Sort!] list input​

Sort result

costs.articleId ● Int deprecated scalar​

DEPRECATED

Use resource_type + resource_id instead of article_id

Deprecated

costs.canceled ● Boolean scalar​

Filter canceled costs

costs.resourceId ● Int scalar​

Filter by resource_id

costs.resourceType ● String scalar​

Filter by resource_type

costs.after ● String scalar​

Returns the elements in the list that come after the specified cursor.

costs.before ● String scalar​

Returns the elements in the list that come before the specified cursor.

costs.first ● Int scalar​

Returns the first _n_ elements from the list.

costs.last ● Int scalar​

Returns the last _n_ elements from the list.

Type​

CostConnection object​

The connection type for Cost.