UpdateBidCostLineInput
Changes one line of a DRAFT cost sheet. Omitted fields stay as they are; null clears a field.
input UpdateBidCostLineInput {
costCurrency: String
description: String
evidence: JSON
expectedVersion: Int!
fxRate: String
id: ID!
labourSkillKey: String
manualReason: String
quantity: String
riskTags: [String!]
source: BidCostSource
sourceRef: String
sourcedAt: DateTime
unitCost: String
}
Fields
UpdateBidCostLineInput.costCurrency ● String scalar
ISO 4217 code of the unit cost; null means the sheet currency.
UpdateBidCostLineInput.description ● String scalar
Free text.
UpdateBidCostLineInput.evidence ● JSON scalar
What backs the cost, as an object. Needs permission to view costs.
UpdateBidCostLineInput.expectedVersion ● Int! non-null scalar
The line's rowVersion you loaded.
UpdateBidCostLineInput.fxRate ● String scalar
The exchange rate from costCurrency to the sheet currency: an exact decimal string, at most 8 decimal places. Required when costCurrency differs from the sheet currency, refused when it does not.
UpdateBidCostLineInput.id ● ID! non-null scalar
The line.
UpdateBidCostLineInput.labourSkillKey ● String scalar
For a LABOUR line, a skill key of the cost model's labour rates.
UpdateBidCostLineInput.manualReason ● String scalar
Why the cost was entered by hand; required when source is MANUAL. Needs permission to view costs.
UpdateBidCostLineInput.quantity ● String scalar
A sheet-level line's quantity: an exact decimal string, at most 6 decimal places, not negative. A snapshot line keeps the frozen quantity.
UpdateBidCostLineInput.riskTags ● [String!] list scalar
Risk tags on the line (replaces the list).
UpdateBidCostLineInput.source ● BidCostSource enum
Where the unit cost came from.
UpdateBidCostLineInput.sourceRef ● String scalar
What the source names (a purchase order, a vendor quote, …).
UpdateBidCostLineInput.sourcedAt ● DateTime scalar
When the cost was sourced.
UpdateBidCostLineInput.unitCost ● String scalar
The cost of one unit in costCurrency: an exact decimal string, at most 4 decimal places, not negative. Null clears it (a missing cost). Needs permission to view costs.
Member Of
updateBidCostLine mutation