Derived properties for combo box in grid

Hey all, 

I'm trying to use list selection/combo box in the Service Order Transactions grid using a derived property. I would like the warranty code box to only allow selection of a warranty code that is currently active for the selected unit. However, the unit may have multiple active warranties. When I try to use:
(
SELECT
war.warr_code
FROM dbo.fs_unit_warr war
INNER JOIN dbo.fs_unit unit
ON war.comp_id = unit.comp_id
WHERE unit.ser_num = ue_SerNum
AND war.end_date > GETDATE()
)

It gives me a Database Error 512 because it's returning multiple results. Is there any way to have a derived property to return multiple results without error or is there another workaround to use the combo box in a grid in this manner?

Parents Reply Children
No Data