Hi
--Check whether this parameter has changed to optional.
--Also crate a formula with your condition i.e. {inventory.ID} = {?id} and place it on your detail and check whether it is showing 'true' or 'false' if it shows true for all records then some thing is worong.
--Try to filter your records based on any other field and check the functinality.