public int doCommand(boolean bDisplayOption, int iMoveMode)
{
BookingPax recBookingPax = (BookingPax)m_screenParent.getRecord(BookingPax.BOOKING_PAX_FILE);
Profile recProfile = (Profile)m_screenParent.getRecord(Profile.PROFILE_FILE);
Profile recProfileDetail = (Profile)((ReferenceField)recBookingPax.getField(BookingPax.PROFILE_ID)).getReferenceRecord();
recBookingPax.addPaxDetail(recBookingPax, recProfileDetail);
if (recProfileDetail.getEditMode() == DBConstants.EDIT_CURRENT)
{
BasePanel parentScreen = Screen.makeWindow(m_screenParent.getTask().getApplication());
ScreenParent screen = recProfileDetail.makeScreen(null, parentScreen, ScreenConstants.MAINT_MODE, true, true, true, true, null);
}
return DBConstants.NORMAL_RETURN;
}