Introduction
The database reporting demonstration is based on the popular Microsoft demonstration database (installed with Access and SQLserver): Northwind.
The business domain of this demonstration is part of our free version
The Northwind Domain
The domain describes all the tables of the Northwind database.
The following report types have been defined:
- Orders
- Contains all elements necessary to query information on orders and order details.
- Products
- Contains all elements necessary to query information on company-stored products.
- Statistics
- Used to perform general statistics for different subjects like: Orders, Customers, Products, Employees.
- Employees
- Used to implement the directory.
The following public folders have been defined:
- Published
- For all published reports like reports for customers and demonstrations or directory consultation.
- Order reports
- For storing default reports on 'Orders'
- Product reports
- For storing default reports on 'Products'
- Statistics
- For storing default reports on 'Statistics'
- Common share
- A folder used to transfer or publish reports between users.
The following users have been defined (no passwords have been set):
- davolio
-
- The sales person 'Davolio'.
- He has a personal folder in which he can define and execute 'Order ' type reports.
- He has an Execute right on 'Order reports' and 'Published' folders and full rights on 'Common share'.
- A user restriction has been set so that he can only query the orders he is managing.
- peacock
-
- The sales person 'Peacock' is also a buyer for the 'Beverages' and 'SeaFood' categories.
- He has a personal folder in which he can define and execute 'Orders' or 'Products' type reports.
- He has an Execute right on 'Order reports', 'Product reports' and 'Published' folders and full rights on 'Common share'.
- A user restriction has been set so that he can only query orders he is managing and 'Beverages' and 'SeaFood' products.
- fuller
-
- The director.
- He has all rights on all report types and public folders.
- dupont
-
- The French member of the management team.
- He has visibility over all report types, but only has execute rights on public folders (except 'Common share').
- His regional locale parameter has been set to 'French (France)'.
- schneider
-
- The German member of the management team.
- He has visibility over all report types, but only has execute rights on public folders (except 'Common share').
- His regional locale parameter has been set to 'German (Germany)'.
- rodriguez
-
- The Spanish member of the management team.
- He has visibility over all report types, but only has execute rights on public folders (except 'Common share').
- His regional locale parameter has been set to 'Spanish (International)'.
- directory
- The login used to execute a directory search.
- lamaisondasie
-
- The French customer 'La maison d'Asie'.
- A dedicated login Web page has been set for this user.
- The company's regional locale parameter has been set to 'French (France)'.
- It has an Execute right on 'Orders' and 'Products' type reports.
- It has an Execute right on 'Published' folders.
- A user restriction has been set so that it can only query its own orders.
Special remarks
- To set up the outer join in the employees table (to select the manager), a view
is always created in the database Pre SQL statement and dropped in the Post SQL statement.
Note that from the 2.4 version the use of outer join is
directly supported (in this case 2 tables aliased on the Employees table joined together).
- The security requirements have been implemented by creating dedicated elements in the domain:
Last Name in the EmployeeView table (the element is hidden).
Category Name and Product Name in the Products table.