Data in form "A" not saving in form "B" in a nested IF/ ELSE statement

Data in form "A" not saving in form "B" in a nested IF/ ELSE statement

I have a customer service app (Form "A") that needs to save a date back to (customer_Info)  form "B". The code is nested in a IF/ ELSE statement. The rest of the function works, but the updated date is not saving back to form "B". It is populated by the ID of form "B". ---> SiteInfo  =  Customer_Info  [ID == input.Site_ID];

This section sends the email ok and with all of the info from form "B". It dose not save the date into form "B". What am I missing?

// If the service is marked completed and the Request_Type is CCTV Service send this email.
else if ((input.Service_Status  ==  "Completed")  &&  (input.Request_Type  ==  "CCTV Service"))
{
    // Store the date of this CCTV service in the Customer form.
    SiteInfo.CCTV_Service_Date = zoho.currentdate;
    info SiteInfo.CCTV_Service_Date.getall();
    //

    sendmail
    (
        To       :  zoho.adminuserid
        From     :  zoho.adminuserid
        Subject  :  input.Request_Type + " service completed at store " + Store + " " + City + "," + " " + State
        Message  :  "I've completed your requested " + input.Request_Type + " service at store " + Store + "&nbsp; " + City + " " + State + " . The following is a description of the work performed:<br>\n<br>\n<em>" + input.Completion_Notes + "</em><br>\n<br>\nPlease take a moment and complete our short on-line survey by clicking <a href=\" https://share.wal-mart.com/sites/GSATGS/secserv/ops/Lists/Service Survey/NewForm.aspx?RootFolder=\">Service Survey</a><br>\n<br>"
    )
}