## Zoho Inventory Documentation Index

Access the complete documentation index at:
https://www.zoho.com/us/inventory/llms.txt

Use this file to discover all available documentation pages before proceeding.

[Back](./)

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

Refer below given sample script:

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

organisationID = organisation.get("organisation\_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;
```

* * *