Client convert into project by custom function

Client convert into project by custom function

I want to change my clients into project by using custom function
i have an issue in this they can not make a project but function run successfully
id = clientid;
getclient = zoho.people.getRecordByID("P_ClientDetails",id);
info getclient;
name = getclient.get("Client_Name");
projectname = getclient.get("Project_Name");
Description = getclient.get("Description");
mymap = Map();
//mymap.put("ClientId",id);
mymap.put("ClientId",id);
mymap.put("Project_Name",projectname);
mymap.put("ProjectDescription",Description);
createproject = zoho.people.create("P_TimesheetJobsList",mymap);

      • Sticky Posts

      • Meet the Zoho People experts in your city!

        Dear users,   We are delighted to invite you to the Zoho People's user community meetup. We are stoked to visit our users in their cities and help them with all things Zoho People.   Join us for a day of insightful Zoho sessions, interactions with other