BidCostLine
One line of a bid cost sheet: an item of the frozen configuration, or a sheet-level line (labour, freight, …). Its unit cost, evidence and manual reason are null for a caller without permission to view costs. Totals are not computed here.
type BidCostLine {
costCurrency: String
description: String
evidence: JSON
fxRate: String
id: ID!
kind: BidCostLineKind!
labourSkillKey: String
manualReason: String
nodePath: String
productId: ID
quantity: String!
riskTags: [String!]!
rowVersion: Int!
source: BidCostSource
sourceRef: String
sourcedAt: DateTime
unit: String
unitCost: String
}
Fields
BidCostLine.costCurrency ● String scalar
ISO 4217 code the unit cost is in; null means the sheet currency.
BidCostLine.description ● String scalar
Free text.
BidCostLine.evidence ● JSON scalar
What backs the cost (an object). Null for a caller without permission to view costs.
BidCostLine.fxRate ● String scalar
The recorded exchange rate from costCurrency to the sheet currency, as an exact decimal string (8 decimal places); null when the currencies are the same.
BidCostLine.id ● ID! non-null scalar
The line's id.
BidCostLine.kind ● BidCostLineKind! non-null enum
What the line costs.
BidCostLine.labourSkillKey ● String scalar
For a LABOUR line, the skill key of the cost model's labour rate.
BidCostLine.manualReason ● String scalar
Why a MANUAL cost was entered. Null otherwise, and for a caller without permission to view costs.
BidCostLine.nodePath ● String scalar
The path of the snapshot node this line costs; null for a sheet-level line.
BidCostLine.productId ● ID scalar
The product the line costs, when it names one; null when it names none or the product no longer exists.
BidCostLine.quantity ● String! non-null scalar
The quantity as an exact decimal string (up to 6 decimal places); for a snapshot line, the node's extended quantity as frozen.
BidCostLine.riskTags ● [String!]! non-null scalar
Risk tags on the line.
BidCostLine.rowVersion ● Int! non-null scalar
The line's edit counter. Send it as expectedVersion to change or remove the line.
BidCostLine.source ● BidCostSource enum
Where the unit cost came from; null until sourced.
BidCostLine.sourceRef ● String scalar
What the source names (a purchase order, a vendor quote, …).
BidCostLine.sourcedAt ● DateTime scalar
When the cost was sourced. A client shows the cost's age from it.
BidCostLine.unit ● String scalar
The unit of measure id (snapshot lines) or a unit label.
BidCostLine.unitCost ● String scalar
The cost of one unit as an exact decimal string (4 decimal places) in costCurrency; null when missing, and for a caller without permission to view costs.
Member Of
BidCostSheet object