I’m using airtable to track maintenance work orders. The issue I’m currently running into is tracking parts quantity used in a work order.
A work order is a task that I assign to my technician for them to complete. When they’re assigned a work order, they’ll have to attach the parts they use to complete the work order. Right now I have a 1-1 relationship with the parts which works well when they select one part, but when they select two parts, the quantity in the Parts table is thrown off.
I’ve read about junction tables and many-to-many relationships, and I’m struggling on how to get this set up. I want my technicians to still select the parts and quantity they used in a work order, and then I want my parts to get updated.
For example -
Work Order - Test
Parts Used - Filter, Screw
Quantities Used - 1, 5
This should deduct 1 filter and 5 screws from my parts table.