I need help writing the following script:
Tables:
- Classes
- Students
- Grades (junction table)
Each time an Enrollment form creates a new record in the Classes table, the script creates a record for each Student in the Grades table. Grades table is a junction table linking Classes and Students tables.
I know there are several community scripts regarding junction tables but I need one that works from just one Class record at a time.