on ‎2018 Oct 16 1:49 PM
I have a client requirement to publish the completed SF CM results on different dates depending on if they are hourly or bi-weekly. I have successfully achieved this for merit and extra because I can do custom field with if statements to pull the final salary to determine the effective dates. Example:
<comp-ect-output-component componentType="payComponentRecurring" eventReason="ANSALREV" effectiveDate="2019-02-18"> <comp-hris-field-map> <comp-field-id><![CDATA[HrFinSal]]></comp-field-id> <hris-field-id><![CDATA[paycompvalue]]></hris-field-id> </comp-hris-field-map> </comp-ect-output-component> <comp-ect-output-component componentType="payComponentRecurring" eventReason="ANSALREV" effectiveDate="2019-02-23"> <comp-hris-field-map> <comp-field-id><![CDATA[BwFinSal]]></comp-field-id> <hris-field-id><![CDATA[paycompvalue]]></hris-field-id> </comp-hris-field-map> </comp-ect-output-component>However, promotion is a single line and I am too new at XML to understand if I can use a variable field for the effective date or if I can embed the jobinfo change in with the above pay component config.
My preference would be to have an effectiveDate=[formFieldName]. Could anyone guide me?
<comp-ect-output-component componentType="jobInfo" effectiveDate="2019-02-01"> </comp-ect-output-component>Request clarification before answering.
Hi renaluis
We are doing a push to reply to all unanswered questions, sorry for the delay.
Here is the answer:
<comp-ect-output-component componentType="jobInfo" effectiveDate="2023-04-02">
<comp-hris-field-map>
<comp-field-id><![CDATA[customField2]]></comp-field-id>
<hris-field-id><![CDATA[start-date]]></hris-field-id>
</comp-hris-field-map>
</comp-ect-output-component>
You can also use a different date for each employee by building something like this :

Recording here : https://youtu.be/6RjQ8LInhT8
All the best
Xavier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.