Employment Contract Document Flow¶
Overview¶
In order to generate an Employment Contract document, the system requires data from two main sources:
- Contact Person (
Contact, it's candidate in this case) - containing personal information - Employment Contract Object (
msf__Employment_Contract__c) - containing contract-specific details
Required Fields¶
Contact Person Fields (Contact SF object)¶
firstname- First name of the contactlastname- Last name of the contactbirthdate- Date of birthmsf__place_of_birth__c- Place of birth
Current Home Address (msf__Person_Address__c SF object)¶
msf__street__c- Street addressmsf__postal_code__c- Postal codemsf__city__c- Citymsf__country__c- Country
Employment Contract Object Fields (msf__Employment_Contract__c SF object)¶
msf__start_date__c- Contract start date
XML Structure¶
The complete XML structure for the Employment Contract document generation:
<root>
<msf__Employment_Contract__c>
<ContactPerson>
<firstname/>
<lastname/>
<Current_Home_Address>
<msf__street__c/>
<msf__postal_code__c/>
<msf__city__c/>
<msf__country__c/>
</Current_Home_Address>
<birthdate/>
<msf__place_of_birth__c/>
</ContactPerson>
<msf__start_date__c/>
</msf__Employment_Contract__c>
</root>