Suppose that in a train HO Qouta is not booked ...
Total berths are available in HO Qouta then the available berths will be provided to clear Waiting list of passengers ..........
Or to upgrade passenger from one class to another .....if condition applied while charting