By John Kostenbader
Consider a standard timesheet application with a parent "timesheet" table and a related "timesheet details" table connected with a one-to-many relationship. On a layout based on the timesheet table I have a portal that outlines the details for a two week pay period. One of the elements on the timesheet details is what type of entry is it (i.e. regular hours, support hours, etc.). I would like to be able to summarize the hours of each of those entries on the timesheet layout. I have been able to create a calculated field that does sum the total hours well and I thought if I made the calculation something like this:
If ( Timesheet_Details::Type = "Regular" ; Sum ( Timesheet_Details::Hours_With_Lunch ))
It would only summarize only those timesheet details that had "Regular" in the "Type" field. Alas it does not work. Not sure how to approach this. I tried a summary calculation but it does not allow for summarizing specific data (seems all or nothing).
Would appreciate some direction on this. Ideally I'd have three calculations on the timesheet layout for "Regular" hours, "Support" hours (which are calculated differently and "WFH" hours.
By Andreas Ravichandran
Firstly, thanks for the great product. I can't tell you how much it has sped up the solution process for our tutoring business. I have a few questions and issues:
The Calendar Search appears not to be working, and my attempts to debug have been futile. For example, I add a ToDo called "Tutoring Session." When I search "tutoring" or "Tutoring" or "Session" or any combination thereof on the search string entry it comes up as empty search. I have gone into the script and everything seems to make sense, so perhaps I am using the search in a way it's not intended to be? I have been having issues connecting the projects module to the timesheets module. When I go to the Add Line Item I can add everything except for a project. The popover displays and I can enter everything. When I click the search icon on the project's field, the projects do show up (someone else had been having this issue before I saw). But after I click on one of the projects it doesn't go put it in the box on the popover itself. I hope this makes sense. I do not have this issue with the staff on the main data entry timesheets page. I noticed that in the relationships section of the data manager the timesheets section only connects to a staff table. Could this be the issue perhaps? I tried to fix it by adding a new table, but my attempts were futile. Is there a way to connect timesheets to Calendar, or simply to have a ToDo connected to a timesheet as well? For our tutoring business, we would like to add tutoring sessions to the Calendar as a ToDo, but we also would like to be able to track the hours each tutor has worked in the most recent pay period with the timesheets functionality. Is there a way you can recommend modifying fmstartingpoint or an easy way to integrate them like this? Having the ability to just add timesheets to the Calendar would remove the need for ToDos at all, which are tricky because they don't allow length of time for meetings, only when they start. I saw in a previous post Richard said that the new timesheets would have the ability to add the functionality easily, which would be awesome. Is there a way to create basic charts off contact data to present to the customers in a module? I have considered modifying the estimates module to do just this, but it would be helpful if there were a better solution, since you guys know better. Thanks so much for any help! Help with #2 and #3 would be greatly appreciated, as our ability to create timesheet structures them around connecting them to projects and putting them on a central calendar. Again, thanks for the great starting solution as well, which has helped so much.
Who Viewed the Topic1 member has viewed this topic:anteas