I've got plenty of articles with multiple atributes:
Code: Select all
Article - ID
- Name
- Price
- Quantity
- TaxRate
To start with, take this example:
Code: Select all
|| Article | Price | Quantity | Total | TaxRate ||
|| Art1 | 100 | 5 | 525 | 5 ||
|| Art2 | 20 | 7 | 154 | 10 ||
|| Art3 | 15 | 4 | 49,5 | 10 ||
Code: Select all
|| TaxRate | Price | Tax ||
|| 5 | 525 | 50 ||
|| 10 | 203,5 | 19,5 ||
Code: Select all
[Group Header; Condition: {Article.TaxRate}]
[Data Band; Bussines Object: Article]
DataBand Column1 [{Article.TaxRate}](<= Process Duplicates - Hide)
DataBand Column2 [{Sum(Article.Price*Article.Quantity*(1+(Article.TaxRate/100)))}](<=Process Duplicates - Hide by Tag)
DataBand Column3 [{Sum(Article.Price*Article.Quantity*Article.TaxRate/100)}](<=Process Duplicates - Hide by Tag)
[Group Footer]
Code: Select all
|| TaxRate | Price | Tax ||
|| 5 | 525 | 50 ||
|| 10 ||
|| ||
Also I guess, I need to set the "Tag" when using "Hide by Tag", but I can't find how to do this. Might it be, this Option is called different in the program-description, because of language differences?