Generate Monthly PDF Report

Hi, I met a problem when Iโ€™m trying to generate a PDF report for my employee task log. I am trying to generate a timesheet log report every first day of the month.
The image below is my docs template and Iโ€™m not sure if I did this correctly. For example, employee 1โ€™s all timesheet log is shown first followed by employee 2 and so on.


After that, when I tried to test my event, it actually shows nothing. Not sure which part is inaccurate. Appreaciate any help from you. Thanks!!

0 5 642
5 REPLIES 5

Please review the above article in more detail.

START expects a List of key values. I donโ€™t know what โ€œLog IDโ€ is supposed to be, but it is not a List of key values. If โ€œLog IDโ€ is a Table name, then you can just add the key column after it to produce a report with all records in that Table, like Log ID[key-column]

You also appears to be missing an <<END>> statement. It should go after <<Location>> (which should also have square brackets around it to reference the column value).

I also donโ€™t think your ORDERBY expression in the 2nd column is going to get you what youโ€™re wanting/expecting. What are you intending here?

โ€œLog IDโ€ is my key column where it will be auto-generated when each employee clocked in to the application.

What Iโ€™m trying to do is to show a timesheet log report based on the example Iโ€™ve created in below. Because in the timesheet log, all the employee are mixed up so I want to group them by employee ID for my PDF report.

Then your START expression should be:
START:table-name[Log ID]

You need to use the ORDERBY to affect the order of the List of key values in the START expression, it is doing nothing just sitting by itself in your second column.

Okay, I understand how it actually works now!! Thank you for your guidance

HI,
I am working on a similar app, can you shed some light on your final solution. Also, how do you get the SUM of Total Hours for each Employee.
Thanks.

Top Labels in this Space