BidCostSheet
One cost sheet of a bid (v1, v2, …): the frozen configuration snapshot it costs, the cost model version it is costed against, and its lines. Totals are not computed here.
type BidCostSheet {
approvedAt: DateTime
approvedBy: ID
bidId: ID!
configurationId: ID!
costModelVersion: Int!
costModelVersionId: ID!
currency: String!
id: ID!
lineCount: Int!
lines: [BidCostLine!]!
missingCostCount: Int!
rowVersion: Int!
sheetVersion: Int!
snapshotHash: String!
snapshotId: ID!
status: BidCostSheetStatus!
submittedAt: DateTime
submittedBy: ID
supersedesId: ID
}
Fields
BidCostSheet.approvedAt ● DateTime scalar
When the sheet was approved; null until approved.
BidCostSheet.approvedBy ● ID scalar
Who approved the sheet; null until approved.
BidCostSheet.bidId ● ID! non-null scalar
The bid.
BidCostSheet.configurationId ● ID! non-null scalar
The frozen configuration costed.
BidCostSheet.costModelVersion ● Int! non-null scalar
That cost model version's published number.
BidCostSheet.costModelVersionId ● ID! non-null scalar
The cost model version costed against.
BidCostSheet.currency ● String! non-null scalar
ISO 4217 code of the bid currency the sheet is in.
BidCostSheet.id ● ID! non-null scalar
The sheet's id.
BidCostSheet.lineCount ● Int! non-null scalar
How many live lines the sheet has.
BidCostSheet.lines ● [BidCostLine!]! non-null object
The live lines: snapshot lines in tree order, then the rest.
BidCostSheet.missingCostCount ● Int! non-null scalar
How many live lines have no unit cost yet.
BidCostSheet.rowVersion ● Int! non-null scalar
The sheet's edit counter. Send it as expectedVersion to add a line, submit or withdraw.
BidCostSheet.sheetVersion ● Int! non-null scalar
The sheet's number in its bid (1, 2, …); never reused, even after a deletion.
BidCostSheet.snapshotHash ● String! non-null scalar
The SHA-256 of the snapshot costed.
BidCostSheet.snapshotId ● ID! non-null scalar
The configuration snapshot costed.
BidCostSheet.status ● BidCostSheetStatus! non-null enum
DRAFT, SUBMITTED, APPROVED or SUPERSEDED.
BidCostSheet.submittedAt ● DateTime scalar
When the sheet was submitted; null while DRAFT.
BidCostSheet.submittedBy ● ID scalar
Who submitted the sheet; null while DRAFT.
BidCostSheet.supersedesId ● ID scalar
The sheet this one revises; null for a first sheet.
Returned By
addBidCostLine mutation ● bidCostSheet query ● bidCostSheets query ● createBidCostSheet mutation ● removeBidCostLine mutation ● reviseBidCostSheet mutation ● submitBidCostSheet mutation ● updateBidCostLine mutation ● withdrawBidCostSheet mutation