There are two tables - Main & Delivery table. (Refer the table below) Main table needs quantity from Delivery table to fulfil the WO need – i.e. column C is the required