Trouble fetching data from parent and child form to input into another form based on lookup field

Trouble fetching data from parent and child form to input into another form based on lookup field

I have similar scripts for other forms that seem to work fine. i'm not sure why this one doesn't work. All data is from one form and it's subform based on the lookup field Accession_Number. The script was working until I added the child form lines.

This is the error message: 
Error details:
 Error in executing On User Input script of Accession_Number.
 Invalid client task found corresponding properties Line:(20)
 UnParsable date Line:(20)

Script:
if(Master_Database[ID == input.Accession_Number].count() > 0)
{
x = Master_Database[ID == input.Accession_Number];
//input. refers to fields in current form
input.Collection_Date = x.Collection_Date;
input.Pop_Ref_Code = x.Pop_Ref_Code;
input.Status = x.Status;
input.Taxon_Code = x.Taxon_Code;
input.Species_Name = x.Species_Name;
input.Founder_Plant = x.Founder_Plant;
input.Other_Source = x.Source_Other;
input.Source_Accession = x.Source_Accession;
input.Collector_Initials = x.Collector_Initials;
input.Number_of_Founders = x.Number_of_Founders;
input.Detailed_Collection_Site = x.Detailed_Collection_Site;
input.Collection_Notes = x.Collection_Comments;
input.Original_Wild_Plant_Founder = x.Original_Wild_Plant_Founder;
input.PopRefSite = x.PopRefSite;
input.Prop_Source_PopRefCode = x.Prop_Source_PopRefCode;
input.Original_Collection_Date = x.Original_Collection_Date;
input.Project = x.Project;
input.Prop_Request_By = x.Plant_Propagation_Request.Requested_By;
input.Amount_Requested = x.Plant_Propagation_Request.Amount_Requested;
input.Est_Outplanting_Date = x.Plant_Propagation_Request.Estimated_Outplanting_Date;
input.Estimated_Outplanting_Date_2 = x.Plant_Propagation_Request.Estimated_Outplanting_Date2;
}

    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方