Example Library

Example 1

Report Name Number of workers
Report ID HcmNumberOfWorkersReport.Report
Demonstrates
  • How to use a built-in SSRS report as Docentric report
  • How to override (only) report design
  • No extra data is added to the report data source
  • How to use labels to create a multilingual report

See the Walkthrough for this example.
Learn here how to use labels with Docentric reports.

Location Human resources -> Workers -> Inquiries and reports -> Number of workers report
Data Source Provider Default DSP class: DocDataSourceProviderSrsReporting
Design Template Step by Step Tutorial Example 4: Number of Workers Report
Report artifacts Download project with all examples | Download report template
Read instructions >>

Example 2

Report Name Birthdays
Report ID HcmBirthday.Report
Demonstrates
  • How to use a built-in SSRS report as Docentric report
  • How to add extra data to a report data source in case of a non-preprocessed report
  • How to use more than one template per report
  • How to dynamically switch selected print destination and (default) template
  • How to suppress success message after report execution
  • How to extend the GeneralData data section in report data source

See the Walkthrough for the similar example.

Learn here on how to add additional data or exclude unnecessary data fields from each row from a particular RDP table.

Location Human resources -> Workers -> Inquiries and reports -> Birthdays report
Data Source Provider Custom DSP class: DocHcmBirthdayReportDsProvider class
Design Template Step by Step Tutorial See the tutorials:
Example 1: HCM Birthday Report and
Example 2: HCM Birthday Report with Grouping
Report artifacts Download project with all examples
Read instructions >>

Example 3

Report Name Purchase order
SSRS Report Design PurchPurchaseOrder.Report
Demonstrates
  • How to use a built-in Print Management SSRS report as Docentric report
  • How to append additional data fields to a report data source
  • How to completely reshape a report data source in case of pre-processing report

See the Walkthrough for this example.

Learn here on how to add additional data or exclude unnecessary data fields from each row from a particular RDP table.

Location Procurement and sourcing -> Purchase orders -> Purchase order confirmation -> Purchase order confirmations -> Preview/Print -> Original preview
Data Source Provider
  • DocDataSourceProviderSrsReporting class
    the default (base) DSP class
  • PurchPurchaseOrderReportDsProvider class
    a custom DSP class which appends additional data to the report data source
  • PurchPurchaseOrderReportDsProvider_Alt class
    a custom DSP class which adds additional data to the purchase order header data record
  • PurchPurchaseOrderReportDsProv_Reshape class
    a custom DSP class which reshapes the report data source and adds additional data
Design Template Step by Step Tutorial Example 3: Purchase Order Print Management Report
Report artifacts Download project with all examples
Read instructions >>

Example 4

Report Name Purchase order product receipt
Report ID PurchPackingSlip.Report
Demonstrates
  • How to use a built-in Print Management SSRS report as Docentric report
  • How to exclude unnecessary data fields from each row from a particular RDP (report data provider) table
  • How to add additional data to each row of a particular RDP table

See the Walkthrough for the similar example.

Learn here on how to add additional data or exclude unnecessary data fields from each row from a particular RDP table.

Location Procurement and sourcing -> Purchase orders -> Receiving products -> Product receipt -> Preview/Print -> Original preview
Data Source Provider Custom DSP class: PurchPackingSlipReportDsProvider
Design Template Step by Step Tutorial Explore Template Examples Step by Step tutorials.
Report artifacts Download project with all examples
Read instructions >>

Example 5

Report Name Docentric SSRS report developed from scratch
Report ID DocDummySSRSReport.Report
Demonstrates
  • How to develop a custom SSRS report from scratch and use it as Docentric report
  • How to avoid completely RDP (report data provider) temporary tables
  • How to write a custom DSP (data source provider) class

See the Walkthrough for this example.

Location Open the report dialog form by using the DocDummySSRSReport report menu item.
Data Source Provider Custom DSP class: DocDummySSRSDP
Design Template Step by Step Tutorial Explore Template Examples Step by Step tutorials.
Report artifacts Download project with all examples
Read instructions >>

Example 6

Report Name Product labels
Report ID RetailLabel.A4Landscape3X5_ItemReport
Demonstrates
  • How to print labels using Docentric AX
  • How to use dynamic barcodes on Docentric templates

See the Walkthrough for this example.

Location Retail and commerce -> Inventory management -> Barcodes and labels -> Print product labels
Data Source Provider Default DSP class: DocDataSourceProviderSrsReporting
Design Template Step by Step Tutorial See the Label design in MS Word with Docentric AX designer tutorial.
Report artifacts Download project with all examples | Download report template
Read instructions >>

Instructions

In order to run an example, please do the following:

1. Make sure that you have installed Docentric AX Framework.

2. Import and build the project with the Docentric AX examples: DocentricAXExamples.axpp. See how >>

3. Navigate to the Organization administration -> Docentric AX menu and open the Reports form that represents Docentric report setup.

4. Click the Reload all button in the Tools action pane tab in Docentric report setup.

 

Learn more about Docentric report setup >>

Start each of reports registered in Docentric report setup to see the effects of replacing built-in SSRS report designs by Docentric designs (aka Docentric templates). You will also be able to try out the improved print destinations.

If you put breakpoints in the provided custom DSP classes, you can learn about report execution pipeline and explore methods of Docentric DSP classes that can be overridden.

Explore Docentric replicas of commonly used SSRS reports such as Customer invoice and Purchase order. This way you can learn about designing practices as well as techniques of using Docentric custom DSP classes.

DSP classes can serve not only for adding/removing data to/from a report data source but also for reshaping it. For example, you can restructure fields of a data table into hierarchical groups, move ‘header fields’ from a data table for report lines to a header table, break one data table into multiple tables, e.g. into a report header and lines tables.

See also

Take Docentric Training >>
SSRS Report Docentric Replicas >>
How to Design Templates with Docentric AX Designer >>
How to Use Data Source Provider Classes >>

IN THIS ARTICLE