Skip to main content

BidCostSheetView

Everything the cost sheet screen shows, in one read: the frozen tree and its names, each line's status, age and total, and the roll-up. Every amount comes from pricing-core; for a caller without permission to view costs every amount is null and the roll-up is not run.

type BidCostSheetView {
costSheetId: ID!
labels: [BidComponentLabel!]!
lines: [BidCostLineView!]!
missingCostCount: Int!
rollup: BidCostRollup
snapshotHash: String!
staleCount: Int!
tree: JSON!
units: [BidUnitLabel!]!
}

Fields​

BidCostSheetView.costSheetId ● ID! non-null scalar​

The cost sheet.

BidCostSheetView.labels ● [BidComponentLabel!]! non-null object​

The names of the products on the tree and the lines.

BidCostSheetView.lines ● [BidCostLineView!]! non-null object​

Every live line: snapshot lines in tree order, then the rest.

BidCostSheetView.missingCostCount ● Int! non-null scalar​

How many lines are MISSING.

BidCostSheetView.rollup ● BidCostRollup object​

The roll-up; null for a caller without permission to view costs (it is not run).

BidCostSheetView.snapshotHash ● String! non-null scalar​

The SHA-256 of the configuration snapshot costed.

BidCostSheetView.staleCount ● Int! non-null scalar​

How many lines are STALE.

BidCostSheetView.tree ● JSON! non-null scalar​

The frozen configuration tree, as stored on the snapshot.

BidCostSheetView.units ● [BidUnitLabel!]! non-null object​

The codes of the units on the tree.

Returned By​

bidCostSheetView query