Skip to main content

bidCostOutliers

Requires permission biddesk:cost_sheet:read.

Compares each item line of a cost sheet with what the same item cost before (other bids' approved sheets, imported past bids, matched actual purchases; one year; same unit and currency). A line beyond 3 interquartile ranges is flagged high or low; fewer than 5 past costs says so. Requires Bid Desk, permission to read cost sheets and to view costs.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query BidCostOutliers($costSheetId: ID!) {
bidCostOutliers(costSheetId: $costSheetId) {
status
actualCount
bidCount
currency
deviationPct
importedCount
}
}

Variables:

{
"costSheetId": "id"
}

Response:

{
"data": {
"bidCostOutliers": [
{
"status": "INSUFFICIENT_HISTORY",
"actualCount": 0,
"bidCount": 0,
"currency": "string",
"deviationPct": "string",
"importedCount": 0
}
]
}
}
bidCostOutliers(
costSheetId: ID!
): [BidCostOutlier!]!

Arguments​

bidCostOutliers.costSheetId ● ID! non-null scalar​

The cost sheet.

Type​

BidCostOutlier object​

A cost line compared with past costs of the same item in the same unit and currency. The quartiles, fences and deviation are costs: null without permission to view costs. Advises only; nothing here changes a cost or a price.