TSTimesheetService Class [AX 2012]
The TSTimesheetService class is the timesheet Web service class.
| Method | Description | |
|---|---|---|
| addTimesheetLines | |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| createNewTimesheet | Create a new timesheet. |
| createOrUpdateTimeEntry | Create timesheet header and timesheet line for a timesheet entry. |
| createOrUpdateTimesheetLines | |
| createTimesheetHeader | |
| deleteTimesheetEntries | Performs the delete action for timesheet entries. |
| deleteTimesheetLines | Performs the delete action for a timesheet. |
| deleteTimesheets | Performs the delete action for timesheets. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getDefaultLegalEntity | |
| getLabelTranslations | Translates a set of label IDs into their corresponding values. |
| getLegalEntities | |
| getPeriods | Returns the periods for the current user/worker within a date range |
| getProjectDetails | Get all the details for a particular project. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| getTimesheetDetails | Get details of all timesheet header and line for default legal entity. |
| getTimesheetDetailsByNumber | Get details for specified timesheet number for default legal entity. |
| getTimesheetHeaders | Get timesheet headers only with chargeable and nonchargeable total hours for default legal entity |
| getTimesheetSettings | Get the initial configuration settings. |
| getTSTimesheetTable | |
| getTSTimesheetTableByWorkerId | |
| getUtilizationInfo | Get information about user utilization for the specified number of periods from the specified date |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| new | Initializes a new instance of the Object class. (Inherited from Object.) |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| recallTimesheet | Recalls a timesheet. |
| resubmitTimesheet | Performs the resubmit action for a returned timesheet. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| submitTimesheet | Performs the action for a workflow work item. |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| validateWorkerAccess | |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::dayNumberOftheWeek | Gets the day number of the week based on start day of week. |
| ::projCategoryLookup | BuildQueryProjCategory returns a crosscompany Query object that will be used for Category selection. |
| ::projectLookup | Returns query for project lookup, for the specifed worker and category. |
Community Additions
ADD
Show: