Help

Welcome to the Airtable Community! If you're new here, check out our Getting Started area to get the most out of your community experience.

Create number of records in 1 table based on Qty Field in another table

Topic Labels: Scripting extentions
167 2
cancel
Showing results for 
Search instead for 
Did you mean: 

Hey there,

I’m hoping someone will be able to help (my scripting ability is limited) - I want to be able to create a specific number of records in Table 2 based on the Qty field in Table 1.

I have a script which creates a singular record in Table 2 from the data in Table 1 but does not consider the QTY field and creates the X number of rows.

Would anyone be willing to help please?

Thanks in advance

2 Replies 2

Solved by changing ‘originalLineItem.Length’ to ‘Quantity’ input variable.