Interface WorkforceTimesheetService
- All Superinterfaces:
BatchService<WorkforceTimesheetServiceBatch>
- All Known Implementing Classes:
DefaultWorkforceTimesheetService
@Deprecated
public interface WorkforceTimesheetService
extends BatchService<WorkforceTimesheetServiceBatch>
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
This service enables you to create, read, update, and delete (CRUD) data related to timesheet of a workforce (Employees or Contingent Workers) with the data provided in a payload, in an API call. This service also supports automatic posting of timesheet data to the controlling module synchronously.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_MANAGE_WORKFORCE_TIMESHEET |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Workforce Timesheet Integration(SAP_COM_0027) |
| Scope Items: | Time Recording(1Q4), Time Recording - Project-Based Services(J12), Time Recording(OQ4) |
| Authentication Methods: | x509 |
| Business Object: | TimeSheet |
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptioncreateTimeSheetEntry(TimeSheetEntry timeSheetEntry) Deprecated.Create a newTimeSheetEntryentity and save it to the S/4HANA system.Deprecated.Fetch multipleTimeSheetEntryentities.getTimeSheetEntryByKey(String personWorkAgreementExternalID, String companyCode, String timeSheetRecord) Deprecated.Fetch a singleTimeSheetEntryentity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchService
batch
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
getAllTimeSheetEntry
Deprecated.Fetch multipleTimeSheetEntryentities.- Returns:
- A fluent helper to fetch multiple
TimeSheetEntryentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getTimeSheetEntryByKey
@Nonnull TimeSheetEntryByKeyFluentHelper getTimeSheetEntryByKey(String personWorkAgreementExternalID, String companyCode, String timeSheetRecord) Deprecated.Fetch a singleTimeSheetEntryentity using key fields.- Parameters:
personWorkAgreementExternalID- Person Work Agreement External IDConstraints: Not nullable, Maximum length: 20
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
timeSheetRecord- Time Sheet RecordConstraints: Not nullable, Maximum length: 12
- Returns:
- A fluent helper to fetch a single
TimeSheetEntryentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
createTimeSheetEntry
@Nonnull TimeSheetEntryCreateFluentHelper createTimeSheetEntry(@Nonnull TimeSheetEntry timeSheetEntry) Deprecated.Create a newTimeSheetEntryentity and save it to the S/4HANA system.- Parameters:
timeSheetEntry-TimeSheetEntryentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
TimeSheetEntryentity. To perform execution, call theexecutemethod on the fluent helper object.
-