Magidoc

OpportunityPackageTotals
Object

Totals for an opportunity's commercial lines. Legacy type name kept because the schema backward-compat gate treats renaming a field's named type as breaking; rename to OpportunityLineTotals once the old name can be retired.

Fields

#

subtotal

Non-null

taxTotal

Non-null

total

Non-null

cost

Sum of the included lines' unit cost times quantity. Null for viewers outside the workspace's cost-rates permission, who read prices and never costs.

margin

Subtotal less cost. Null exactly when cost is.

passThroughCost

Cost of standard lines that are neither role-priced nor hourly, which the agency passes through at cost. Fee and labour lines add none. Null exactly when cost is.

agi

Agency gross income: subtotal, net of discounts, less passThroughCost. Role labour and fee costs are not deducted, unlike margin. Null exactly when cost is.

Usages

#

References

#