/**
* Columns Definitions. A new ColumnBuilder instance for each column.
*/
// Quantity
AbstractColumn colQuantity = ColumnBuilder.getNew().setColumnProperty("aupMenge", BigDecimal.class.getName()).build();
colQuantity.setTitle(quantity);
colQuantity.setWidth(40);
colQuantity.setPattern("#,##0.00");
colQuantity.setHeaderStyle(columnHeaderStyleNumber);
colQuantity.setStyle(columnDetailStyleNumbers);
// Article Text
AbstractColumn colArticleText = ColumnBuilder.getNew().setColumnProperty("article.artKurzbezeichnung", String.class.getName()).build();
colArticleText.setTitle(articleText);
colArticleText.setWidth(100);
colArticleText.setHeaderStyle(columnHeaderStyleText);
colArticleText.setStyle(columnDetailStyleText);
// Single Price
AbstractColumn colSinglePrice = ColumnBuilder.getNew().setColumnProperty("aupEinzelwert", BigDecimal.class.getName()).build();
colSinglePrice.setTitle(singlePrice);
colSinglePrice.setWidth(40);
colSinglePrice.setPattern("#,##0.00");
colSinglePrice.setHeaderStyle(columnHeaderStyleNumber);
colSinglePrice.setStyle(columnDetailStyleNumbers);
// Line Sum
AbstractColumn colLineSum = ColumnBuilder.getNew().setColumnProperty("aupGesamtwert", BigDecimal.class.getName()).build();
colLineSum.setTitle(lineSum);
colLineSum.setWidth(40);
// #,##0. €00
colLineSum.setPattern("#,##0.00");
colLineSum.setHeaderStyle(columnHeaderStyleNumber);
colLineSum.setStyle(columnDetailStyleNumbers);
// Add the columns to the report in the whished order
drb.addColumn(colQuantity);
drb.addColumn(colArticleText);
drb.addColumn(colSinglePrice);