...
Source | Destination | Comment |
---|---|---|
trim(chl_given_name) | FirstName | |
trim (chl_surname) | LastName | |
trim(chl_middle_name) | MiddleName | |
trim(chl_suffix_name) | Suffix | |
to_char(chl_birthdate,'yyyy-mm-dd') | personBirthDate | |
chl_social_insurance_number | Social_Insurance_Number__c | |
chl_ow_member_id | Ontario_Works_Id__c | sams reference id |
Children_Services_Household_Id__c | household id (HouseholdFileRefNumber) | |
chl_reference_child_id | Children_Services_Id__c | |
012W000000016sEIAQ | RecordTypeId | This is the ID for the Child Account Record Type |
csis_action_by__c | EMP_NAME |
JSON example:
JSON example:
{ |
---|
C9677210", |
---|
"ReferenceId
|
---|
*", |
---|
" |
---|
first_ |
---|
name__c":" |
---|
*", |
---|
" |
---|
last_ |
---|
name__c":" |
---|
*", |
---|
" |
---|
Ontario_Works_ |
---|
Id__c":" |
---|
305366401", |
---|
" |
---|
date_of_ |
---|
birth__c":" |
---|
"Household_income
2018-", |
---|
1180236", |
---|
" |
---|
Children_Services_ |
---|
Id__c":" |
---|
C9677210" |
---|
, |
---|
"Object_Name__c" : " |
---|
Account" |
---|
CCFS Household Mapping
The source is a number of tables identifying the status of the Child Care Fee Subsidy case. See this sample SQL.
Source | Destination | Comment |
---|---|---|
household_id | household_id__c | The TCS Household ID |
household_status | Service_Status__c | The code is one of:
|
start_date | case_start__c | The case start date |
inactive_date | case_inactive_date__c | If the household status is inactive, this is the start of the inactive status, after 6 months this case expires |
last_update_date_time | Not uploaded to Salesforce | Used to determine the maximum date time is used for this run is used as the start of the next run Must be saved in the Process Log |
household_income | Household_income__c | household income from table: financial_assessment |
funding_stream | Funding_Stream__c | funding stream from table: family_funding |
JSON example:
{ |
---|
1068320", |
---|
" |
---|
ReferenceId":" |
---|
1068320", |
---|
"AccountSource":"CSIS2",
"EmpUserId":"*",
"first_name
"household_id__c":" |
---|
1068320", |
---|
" |
---|
Service_ |
---|
Status__c":" |
---|
INACTIVE", |
---|
" |
---|
Start_ |
---|
Date_ |
---|
_ |
---|
c":" |
---|
2018-", |
---|
" |
---|
End_ |
---|
Date_ |
---|
_ |
---|
c":" |
---|
2021-", |
---|
"Children_Services_Household_Id
"Household_income__c":" |
---|
0", |
---|
" |
---|
Funding_ |
---|
Stream__c":" |
---|
REG" |
---|
"csis_action_by__c":"*"
|
---|
"Object_Name__c" : " |
---|
Household" |
---|
Update the Process Log
Once the information is successfully loaded update the log with the most recent version using an update similar to this.