BidCostLineView
One cost line as the cost sheet screen shows it: its name, its freshness and its total. The total comes from pricing-core; the screen never computes one.
type BidCostLineView {
ageDayCount: Int
amount: String
label: String
lineId: ID!
reason: String
status: String!
}
Fields
BidCostLineView.ageDayCount ● Int scalar
Whole days since the cost was sourced; null for a missing or undated cost.
BidCostLineView.amount ● String scalar
The line's total in the sheet currency, at its precision; null for a missing cost or when the roll-up refused the sheet. Null for a caller without permission to view costs.
BidCostLineView.label ● String scalar
The name of the product the line costs, else the line's own description; null when it has neither.
BidCostLineView.lineId ● ID! non-null scalar
The cost line.
BidCostLineView.reason ● String scalar
Why a MISSING line is missing: NO_SOURCE (no unit cost) or NO_RATE (another currency with no rate). Null otherwise.
BidCostLineView.status ● String! non-null scalar
OK, STALE (older than the cost model's threshold, or undated) or MISSING (no unit cost, or another currency with no rate).
Member Of
BidCostSheetView object