Is it possible to loop through a subform and create inventory adjustments in Zoho Inventoy

Is it possible to loop through a subform and create inventory adjustments in Zoho Inventoy

Hi,

I've been programming a while so I'm familiar with all the constructs of Deluge in Creator, but I'm struggling to understand the process of creating inventory adjustments in Zoho inventory from a deluge function in a Zoho creator app.

I have a simple script that is doing this

void loopthroughCandidateRecords()
{
for each  j in Jobs
{
for each  i in j.JobIssue
{
info i.ID;
response = zoho.inventory.createRecord(<module>, <STRING>, <MAP>)
}
}
}

Can anyone give me any instructions on what I need to do to get the zoho.inventory.createRecord clause to create an inventory adjustment?

Thanks,

Andrew