Please enable JavaScript to view this site.

An Attribute represents a calculated text (string), real number (double), integer number or Boolean value (true/false). Which data type it represents is controlled by the setting Value type.

The purpose of an attribute can be to display the calculated value directly in the CPQ app or use it in other configuration logic like prices, bill of materials, integrations or graphics. Another purpose is to use an attribute as a rule, see warning attribute.

Unlike parameters, attributes are not set directly by the user, instead they are calculated by the system every time a user changes a parameter that affects an attribute. Read further about calculation of attributes.

Attributes are global in the system which means that there can be only one attribute that has a certain name, for example "Weight", however the formulas and matrices that defines how an attribute shall be calculated is set up for every product individually.

Settings

The following settings are available for an attribute:

Setting name

Description

Name

Name of attribute used for referral in expressions.
The names are identifiers which means that they must start with a letter or underscore and may only contain letters (a..z, A..Z), numbers (0..9) and underscore (_). The Swedish characters åäöÅÄÖ are also allowed.

Title

Title of attribute displayed in the CPQ app.

Sum type

Method for summarizing two calculations of same attribute. Standard method is addition but there are many other ways to combine two values, see the table of sum types below.

Note! For Sum type to be effective, the second setting of the attribute must be tagged with Sum with previous value.

Unit

Unit of measure displayed after the value in the CPQ app.

Value type

Data type with String, Double or Integer as possible values. The default is Double.

Is warning

See warning attribute.

Resolve warning mandatory from state

See warning attribute.

Sum types

The following sum types are available:

Sum type

Description

Addition

Numerical values are summarized using mathematical addition. String values are summarized by putting the second string after the first.
Boolean values are summarized as shown below:

false + false = false

false + true = true

true + false = true

true + true = true

Comma separated

String values are summarized by putting the second string after the first with a separating comma.

Compound interest

Compound interest of two interest rates expressed as decimal fractions. Formula: sum = (1 + attributeA) * (1 + attributeB) - 1
Example: If the interest rate during year one and year two is 10% the compound interest is 21%, which is given by the calculation (1 + 0.10) * (1 + 0.10) - 1 = 0.21

Decibel

Decibel addition of two numerical sound levels. Formula:  sum = 10 * Log (10attributeA/10 + 10attributeB/10)

First served

Keeps the first value that is successfully set for the attribute and ignores settings that come after.

Last served

Takes the last value that is successfully set for the attribute and ignores settings that come before.

Maximum

Takes the larger of two numerical values.

Minimum

Takes the smaller of two numerical values.

New line separated

String values are summarized by putting the second string after the first with a separating line break.

Space seperated

String values are summarized by putting the second string after the first with a separating space.

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC