Mass create records in block

I would like to create records en mass.

I have 3 tables, Product, Product Request and Campaign.

Campaigns require X quantity of Product, which I keep track of in Product Request.

I would like a table input method inside the block that looks like this:

Product 1     ____
Product 2     ____
Product 3     _12_
Product 4     ____
Product 5     _4__

In this case, the script would run once the table is filled out and create two product request records (12x Product 3 and 4x Product 5).

Is this possible?

Here is a video I found very useful:
Iā€™m not sure if it matches your needs exactly, but I hope it helps

1 Like