Available for reservation

Hi All,

My requirement is to get the quantity for ‘Available for reservation’ in ‘InventSum’. A method ‘AvailReservationUnit’ method is availble in ‘InventOnHandReserve’ form. I need to use the same logic to get the quantity. How do I use this method in other to fetch the quantity ? The method requires parameters like ‘unitIdInvent’, ‘unitIdSecondary’. what values should be passed for these parameters ?

Regards,

Raghav.