OpportunityLineInput Input Object
Fields
#
_id
agreedLineId
Carry an existing line's lineage onto a re-minted row. Ignored when the line already exists: lineage is minted once and never re-minted.
billingRule
How this line's money gets asked for. Omit to leave a stored rule alone — an ordinary save is
not a statement that the line stopped saying how it bills — and send null to clear it, the same
omitted-versus-null distinction origin draws.
discountPercent
State a discount line (0 < n ≤ 100) or a fee line (0 ≤ n ≤ 100) as a percentage. A fee is taken of the included standard lines, a discount of the included non-discount lines. The server materializes unitAmount from it, so any unitAmount sent alongside is advisory only. Ignored on standard lines, and a percentage fee carries no unitCost.
fieldOverrides
groupLabel
includedInProposal
lineType
notes
origin
phaseLabel
sortOrder
sourceActionId
Planning-project card this line was estimated from. Like the two fields below, omit to leave the stored value alone and send null to clear it.
taxAmount
unitCost
Cost per unit. A user outside the workspace's cost-rates permission reads every cost as null, so a line they send without one keeps its stored cost, or takes its role's cost rate when its role changes; a cost they do send is stored as sent.
unitLabel
Usages
#
References
#
- Argument lines of field upsertOpportunityLines from type Mutation
OpportunityLineDraftPreview