Professional Documents
Culture Documents
Associate the supplier time clock event with Oracle HCM Cloud T&L events ........................................................................................................... 6
Specify the setup data that will be exported for the time devices ............................................................................................................................ 8
Set up Manage Time Device Processing Profile to extract set up info for time devices ........................................................................................... 9
Appendix ...................................................................................................................................................................................................................... 24
Create new time clock events supported by the new supplier into ORA_HWD_TCD_SUPPLIER_EVENTS
Associate the supplier time clock event with Oracle HCM Cloud T&L events
Pick the Time Device Export Mode, we recommend that first time you pick Purge and full export
Click Submit
Retrieve Export Data to build JSON Payload
Configure a Web Service client with any tool that support SOAP
https://adc-fap1925-hcm.oracledemos.com/hcmWfmTcdExportPublicService/TcdSetupDataService?WSDL
Use the web service client (in this case we are using as sample the SOAPUI tool) to invoke the beginExport operation with the following
parameters:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:typ="http://xmlns.oracle.com/apps/hcm/wfm/tcd/export/exportService/types/"
xmlns:exp="http://xmlns.oracle.com/apps/hcm/wfm/tcd/export/exportService/">
<soapenv:Header/>
<soapenv:Body>
<typ:beginExport>
<typ:input>
<exp:Name>TcdSourceId</exp:Name>
<exp:Value>123</exp:Value>
<exp:DataType>string</exp:DataType>
</typ:input>
<typ:input>
<exp:Name>ExportConfigurationName</exp:Name>
<exp:Value>DHU_Time_Clock_Test_Export_Data</exp:Value>
<exp:DataType>string</exp:DataType>
</typ:input>
<typ:input>
<exp:Name>ExportType</exp:Name>
<exp:Value>FULL</exp:Value>
<exp:DataType>string</exp:DataType>
</typ:input>
</typ:beginExport>
</soapenv:Body>
</soapenv:Envelope>
Use the web service client (in this case we are using as sample the SOAPUI tool) to invoke the exportTimeCollectionDeviceSetupData
operation with the following parameters:
Export Batch Count within 1 and the number found in the beginExport call, in our sample above will be a number between 1 and 21.
We will be using the Payroll Time Types values from the response to create the JSON payload, based on the sample above one of the values will
be Payroll Time Type = “Regular TL”
Sample Payload
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:typ="http://xmlns.oracle.com/apps/hcm/wfm/tcd/export/exportService/types/"
xmlns:exp="http://xmlns.oracle.com/apps/hcm/wfm/tcd/export/exportService/">
<soapenv:Header/>
<soapenv:Body>
<typ:exportTimeCollectionDeviceSetupData>
<typ:input>
<exp:Name>ExportId</exp:Name>
<exp:Value>300000129752431</exp:Value>
<exp:DataType>long</exp:DataType>
</typ:input>
<typ:input>
<exp:Name>ExportBatchId</exp:Name>
<exp:Value>2</exp:Value>
<exp:DataType>long</exp:DataType>
</typ:input>
</typ:exportTimeCollectionDeviceSetupData>
</soapenv:Body>
</soapenv:Envelope>
Use the web service client (in this case we are using as sample the SOAPUI tool) to invoke the endExport operation with the following
parameters:
Sample Payload
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:typ="http://xmlns.oracle.com/apps/hcm/wfm/tcd/export/exportService/types/"
xmlns:exp="http://xmlns.oracle.com/apps/hcm/wfm/tcd/export/exportService/">
<soapenv:Header/>
<soapenv:Body>
<typ:endExport>
<typ:input>
<exp:Name>ExportId</exp:Name>
<exp:Value>300000129752431</exp:Value>
<exp:DataType>long</exp:DataType>
</typ:input>
<typ:input>
<exp:Name>Status</exp:Name>
<exp:Value>SUCCESS</exp:Value>
<exp:DataType>string</exp:DataType>
</typ:input>
</typ:endExport>
</soapenv:Body>
</soapenv:Envelope>
Step 3 – Push Time Event into Oracle HCM Cloud
Configure a Web Service client with any tool that support REST
https://adc-fap1925-hcm.oracledemos.com/hcmWorkforceMgmtApi/resources/latest/timeEventRequests
Use the web service client (in this case we are using as sample the SOAPUI tool) to invoke the rest service with the following content
Source ID – supplier code created on step 1 from Oracle HCM Cloud Application Setup
Device ID –
Supplier Device Event - supplier time event code created on step 2 from Oracle HCM Cloud Application Setup
Time Event Attributes – Name PayrollTimeType values coming from the XML result of the SOAP service invoked on step 2 from Retrieve
Export Data to build JSON Payload
Sample Pay Load for Time Entry
"requestNumber":"0000001",
"sourceId":"DHU_TEST_CLOCK",
"requestTimestamp":"2017-03-14T15:00:00.000-07:00",
"timeEvents":[
"deviceId":"MAP0",
"eventDateTime":"2017-03-14T15:00:00.000-07:00",
"supplierDeviceEvent":"DHU_TEST_CLOCK_IN",
"reporterId":"541",
"reporterIdType":"PERSON",
"timeEventAttributes":[
"name":"PayrollTimeType",
},
{
"deviceId":"MAP0",
"eventDateTime":"2017-03-14T15:00:00.000-07:00",
"supplierDeviceEvent":"DHU_TEST_CLOCK_OUT",
"reporterId":"541",
"reporterIdType":"PERSON",
"timeEventAttributes":[
"name":"PayrollTimeType",
},
"deviceId":"MAP1",
"eventDateTime":"2017-03-14T15:00:00.000-07:00/PT8H00M",
"supplierDeviceEvent":"DHU_TEST_CLOCK_IN",
"reporterId":"541",
"reporterIdType":"PERSON",
"timeEventAttributes":[
{
"name":"PayrollTimeType",
}
Appendix
Click on Navigator
Click Save
Adding Entitlement
Select the Human Capital Management Integration Specialist role from the list
Click Ok
Click on Submit
Click on Close
Check the status of the process once is completed and succeeded we are ready