Skip to content
pCon.configurator onlineDocumentation
Esc
↑↓navigate↵open⌘Jpreview
On this page

CalculationSheet

Synopsis

struct CalculationSheet {
    Quantity*           quantity;
    string currency;
    Money*              netValue;
    Money*              tax;
    CalculationLine[]   lines;
    string[]?         addableConditions
}

See also: Quantity, Money, CalculationLine

The calculation sheets represents the calculation of the item passed to the function getPriceCalculationSheet (§getPriceCalculationSheet) respectivly the header calculation if no item id is passed.

If present, the attribute tax contains the sum of the values of all lines tagged with TAX. The quantity element is missing if the item ID passed to the operation getPriceCalculationSheet (§getPriceCalculationSheet) represents a folder item.

AddableConditions: Each element of this sequence contains the name of a condition type that can be added to this calculation sheet.