But I have to update only 1 record among 20000+ record at one time.
If a new Account is created, and if i have 200+ products in my custom module Product Master then in my custom module ACCOUNT PRODUCTS 200+records should be created with that account name & product name respectively.
Below is the code.
accdetails = zoho.crm._getRecordById("Accounts",accID.toLong());
accname = accdetails.get("Account Name");
prod = zoho.crm._getRecords("CustomModule4",1,100);// LIMIT ONLY 200 records at a time
prodjs = prod.toJSONList();
for each eachprod in prodjs
{
pname = eachprod.get("CustomModule4 Name");// fetching all product name.
info pname;
creatrec = zoho.crm._create("CustomModule8",{"Account Name":accname,"Product Name":pname,"Account Products Name":accname + " " + pname});
}
Can anyone give me solution to fetch all 2000+ records in the function and create the records in Account product module.