Magidoc

Timesheet
Object

Fields

#

_id

ID !
Non-null

workspace

ID !
Non-null

containerId

ID !
Non-null

id of the project or leaveType this timesheet belongs to

containerType

Non-null

type of container for this timesheet (PROJECT, LEAVE)

category

entity of the time category this timesheet belongs to

userId

ID !
Non-null

userId that this timesheet belongs to

approverId

id of the person that has approved or requested changes on this timesheet

notes

Non-null

optional notes submitted by the approver

changeReason

Non-null

change reason submitted by the approver

status

Non-null

current status of this timesheet

locked

Non-null

whether or not this timesheet has been locked for compliance purposes

startDate

Non-null

startDate of this timesheet

endDate

Non-null

endDate of this timesheet

historyMessage

historyMessage indicating the most recent change to this timesheet

createdAt

Non-null

date timesheet was created

createdBy

ID !
Non-null

userId of the person who created this timesheet

submitter

the submitter for this timesheet

creator

the creator for this timesheet

approver

the approver for this timesheet (note: may not always exist)

project

project for this timesheet, only valid if containerType is PROJECT

leaveType

leaveType for this timesheet, only valid if containerType is LEAVE

timeEntries

Non-null

timeEntries submitted with this timesheet

isMocked

Non-null

isAdded

Non-null

deleted

Non-null

rootTimesheetCreatedAt

Non-null

date first timesheet document for particular project and on particular dates was created

comments

Non-null

creatorManagerIds

[ String !]!
Non-null

Usages

#

References

#

  • Field getMyTimesheets from Query
  • Field getUserTimesheets from Query
  • Field getHistoricalTimesheets from Query