As per the snapshot Inventory is the entity which has ID and CellLineID (where ID is inventory ID and CellLineID is CellLine Entity ) and other columns with LOT,NumberofVials,Box,Rack etc...
1. Here the condition i want to be as -record should be deleted based on the Box column .
Example :
Inventory ID CellLine.ID Inventory.location Inventory.Rack
1 abc 4 loc4
1 abc 3 loc3
If i delete the location 4 ,only record needs to be deleted for loc4 but not to be deleted from the loc3 .(BAsically each InventoryId has multiple locations ,if we delete one location ,the Inventory ID need to be deleted for that particulat location)
is it possible can we delete based on the location.