Example 2 - Multiple Facets & References
June 11, 2025
Extending the Simple Quote Calculator with additional facets
Change the manufacturing cost for all line items by adjusting the manufacturing_cost_per_m2
parameter in the raw_materials facet
Set a minimum Margin Threshold for the quote through the low_margin_threshold parameter in
the gross_margin facet
| Item | Steel m2 | Item Cost | Unit Price | Quantity | Line Cost | Line Offer | Gross Margin |
|---|---|---|---|---|---|---|---|
|
|
|||||||
| No matching records found. | |||||||
|
|
|
||||||
| Profit: |
|
||||||
Create and populate the noSheet table:
The raw materials facet:
The line items facet:
The gross margin facet: