Thank you for your feedback. Problem solved. Actually when i am going to shortclose the inbound it search the open qty in schedule line. If open qty is equal to the deliver qty in Inbound then inbound is close otherwise it will popup error.