automation

Can I get the sample script to create records in Zoho Creator from Zoho Books?

Refer below given sample script:

customerID = customer.get("contact\_id");

organizationID = organization.get("organization\_id");

name = item.get("name");

appowner = "APPOWNER";

//replace APPOWNER with appowner name

appname = "APPNAME";

//replace APPNAME  with app name

formname = "FORMNAME";

//replace FORMNAME with form name

cmap = Map();

cmap.put("Customer\_Name",name);//Customer\_Name should be the field name of Zoho Creator

res = zoho.creator.createRecord( appowner, appname, reportName, cmap , <oauth\_connection>);

info "" + res;

info cmap;

Was this document helpful?
Yes
No
Thank you for your feedback!
Want a feature?
Suggest


Switch to smart accounting software. Switch to Zoho Books.   Start my free 14-day trial Explore Demo Account

Books

Online accounting software
for small businesses.