Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SourceDestinationComment
household_idhousehold_id__cThe TCS Household ID
household_statusService_Status__c

The code is one of:

  • Waiting
  • Allocated
  • Enrolled
  • Inactive


start_datecase_start__cThe case start date
inactive_datecase_inactive_date__cIf the household status is inactive, this is the start of the inactive status, after 6 months this case expires
last_update_date_timeNot uploaded to SalesforceUsed 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_incomeHousehold_income__chousehold income from table: financial_assessment
funding_streamFunding_Stream__cfunding stream from table: family_funding

For household income and funding stream logic, please refer the confluence page provided by Ramzi: /wiki/spaces/CSI/pages/2860844000

JSON example:


{
"allOrNone" : false,
"compositeRequest" : [
{
     "method" : "POST",
      "url" : "/services/data/v45.0/sobjects/Legacy_System_Record__e",
      "referenceId" : "1068320",
       "body" : {
              "JSON_Message__c" : "{
                      "ReferenceId":"1068320",
                      "household_id__c":"1068320",
                      "Service_Status__c":"INACTIVE",
                      "Start_Date__c":"2018-",
                      "End_Date__c":"2021-",
                      "Household_income__c":"0",
                      "Funding_Stream__c":"REG"
             }",
             "Object_Name__c" : "Household"
       }
} ...
]
}

JSON field mapping with tables:

Json FieldsParent record (Table.column)Child record (Table.column)Household record (Table.column)
Children_Services_Id__cRESPONSIBLE_ADULT.RAD_REFERENCE_APPLICANT_IDCHILD.CHL_REFERENCE_CHILD_ID
Ontario_Works_Id__cRESPONSIBLE_ADULT.RAD_OW_MEMBER_IDCHILD.CHL_OW_MEMBER_ID
Children_Services_Household_Id__cHOUSEHOLD.HHO_FILE_REFERENCE_NUMBERHOUSEHOLD.HHO_FILE_REFERENCE_NUMBER
household_id__c

Appointment.APP_FAMILY_ID

Parent-Child-Household relationship (not for active Household):

RESPONSIBLE_ADULTHOUSEHOLD_RESP_ADULT_MEMBERHOUSEHOLDHOUSEHOLD_CHILD_MEMBERCHILD
RAD_RESPONSIBLE_ADULT_IDHHR_RESPONSIBLE_ADULT_ID





HHC_CHILD_IDCHL_CHILD_ID

HHR_HOUSEHOLD_IDHHO_HOUSEHOLD_IDHHC_HOUSEHOLD_ID

Update the Process Log

Once the information is successfully loaded update the log with the most recent version using an update similar to this.