ATTGROUP
= mandatory in combination with another parameter
Parameter | Mandatory/Optional | Value (example) | Comment | |
---|---|---|---|---|
FORM | REPORT | |||
ADDSHEET_TOTAL | n/a | 1 | Defines which CVAL columns belongs to an attribute that is defined in row 1. |
ATTGROUP is a parameter that must be defined in column A when a DATA attribute is used in row 1. ATTGROUP states which of the CVAL columns belongs to the data attribute column. Since the template can contain several attributes, an attribute group must be defined to state which cell values the data attribute should be saved to. The parameter should be defined as an unique number that connects cell value (CVAL) columns belonging to the data attribute.
An ATTGROUP value should be defined for the following columns (if defined in row 1):
Data attribute column
CVAL
PRICE and NOTE are two data attributes defined in row 1 (circled in red below). The data attributes need to be defined in Bizview in order to be used in the template. PRICE is connected to ATTGROUP 1, and 1 is defined for all CVAL columns, meaning that a stated price will be saved for all CVAL cells containing a value. NOTE, on the other hand, will only be saved in the database for CVAL columns AA-AE, since that data attribute is connected to ATTGROUP 2.
The ATTGROUP row should be defined with ROWTYPE = DESIGN (the row will be hidden when document is generated).