public static void err_mnuSee(string result) { Answer = result; Status = false; int row = 0; int col = 0; CommandsQik.searchResponse(result, Resources.ErrorMessages.CROSS_NO_PSGR_DATA, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CROSS_NO_PSGR_DATA, 12); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; CustomUserMsg2 = "NO EXISTEN MENSAJES PARA LA AEROLINEA"; Status = true; row = 0; col = 0; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_PSGR_DATA, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CROSS_NO_PSGR_DATA, 12); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; } }
public static void err_apispassportmessage(string result) { Answer = result; Status = false; OtherMask = false; int row = 0; int col = 0; CommandsQik.searchResponse(result, Resources.ErrorMessages.SEGMENT_NUMBER_NOT_VALID, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.SEGMENT_NUMBER_NOT_VALID, 21); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.INVALID_SSR_CODE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.INVALID_SSR_CODE, 21); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; OtherMask = true; row = 0; col = 0; return; } }
public static void err_boletagedataandreceived(string result) { Answer = result; status = false; int row = 0; int col = 0; CommandsQik.searchResponse(result, Resources.Group.ErrorMessage.CROSSLORAINE, ref row, ref col, 1, 1, 1, 1); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.Group.ErrorMessage.CROSSLORAINE, 20); status = true; row = 0; col = 0; return; } }
public static void err_accountinginformation(string result) { Answer = result; Status = false; int row = 0; int col = 0; CommandsQik.searchResponse(result, Resources.ErrorMessages.TOTAL, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.TOTAL, 14); total = string.Empty; CommandsQik.CopyResponse(result, ref total, 2, 47, 14); Status = true; row = 0; col = 0; return; } }
public static void err_cancelsegments(string result) { Answer = result; status = false; int row = 0; int col = 0; CommandsQik.searchResponse(result, Resources.ErrorMessages.ITINERARY_REQUIRED_COMPLETE_TRANS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.ITINERARY_REQUIRED_COMPLETE_TRANS, 10); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } }
public static void err_infpassenger(string result) { Answer = result; Status = false; CustomUserMsg = string.Empty; int row = 0; int col = 0; CommandsQik.searchResponse(result, Resources.ErrorMessages.CHECK_ITINERARY_SEGMENT_NBR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CHECK_ITINERARY_SEGMENT_NBR, 6); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CANNOT_ASSOC_TO_INFANT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CANNOT_ASSOC_TO_INFANT, 6); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.ADULT_NAME_ALREADY_ASSOCIATED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.ADULT_NAME_ALREADY_ASSOCIATED, 6); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } }
public static void ok_ticketsEmission(string result) { customusermsg = string.Empty; Answer = result; statusok = false; int row = 0; int col = 0; CommandsQik.searchResponse(result, Resources.TicketEmission.ValitationLabels.INVOICED, ref row, ref col); if (row != 0 || col != 0) { statusok = true; return; } else { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ValitationLabels.INVOICED, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; return; } }
public static void err_concludereservation(string result) { Received = false; Answer = result; Status = false; Showmask = false; Otherwmask = false; Command = false; Segment = false; EmployesNumber = false; Remarks = false; Customer = false; StatusDKNull = false; PQ = false; allowClosedRecord = false; CommandF = false; P6 = false; adreess = false; secureflight = false; requestPending = false; PlacedOn = false; ResendER = false; CCError = false; int row = 0; int col = 0; CommandsQik.searchResponse(result, Resources.ErrorMessages.REQUEST_PENDING, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.REQUEST_PENDING, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; requestPending = true; row = 0; col = 0; CommandsQik.searchResponse(result, "DIRECT CONNECT RESPONSE RECEIVED", ref row, ref col); if (row != 0 || col != 0 && requestPending) { Received = false; row = 0; col = 0; return; } CommandsQik.searchResponse(result, "CREDIT CARD INFORMATION IS NOT VALID", ref row, ref col); if (row != 0 || col != 0 && requestPending) { CCError = true; row = 0; col = 0; return; } else { return; } } CommandsQik.searchResponse(result, "PSGR SECURITY DATA REQUIRED", ref row, ref col); if (row != 0 || col != 0) { ResendER = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_PSGR_DATA, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_PSGR_DATA, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; statusdknull = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NEED_CUSTOMER_NUMBER, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NEED_CUSTOMER_NUMBER, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; StatusDKNull = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.SIMULTANEOUS_CHANGES_TO_PNR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.SIMULTANEOUS_CHANGES_TO_PNR, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CUSTOMER_NUMBER, ref row, ref col); if (row != 0 || col != 0) { customernumber = string.Empty; CommandsQik.CopyResponse(result, ref customernumber, row, 19, 6); Customer = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.SEGMENTO_PROTECCION, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.SEGMENTO_PROTECCION, 9); Segment = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.U99_CC, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.U99_CC, 9); EmployesNumber = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.SMX, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.SMX, 9); smx = string.Empty; CommandsQik.CopyResponse(result, ref smx, row, 1, 3); Remarks = true; smx = smx.Trim(); row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.FF_MILEAGE_AGREEMENT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.FF_MILEAGE_AGREEMENT, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; allowclosedrecord = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.UNABLE_TO_PROCESS_NAMES, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.UNABLE_TO_PROCESS_NAMES, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.VERIFY_SPECIAL_MEALS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.VERIFY_SPECIAL_MEALS, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.INVLD_ITIN, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.INVLD_ITIN, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.UNABLE_TO_END_TRANSACTION, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.UNABLE_TO_END_TRANSACTION, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_PQ_RECORD_SUMMARY, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_PQ_RECORD_SUMMARY, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.PQ_REQUIRED_BEFORE_END, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.PQ_REQUIRED_BEFORE_END, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.IM_AND_CANCEL_UNABLE_SEGMENTS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.IM_AND_CANCEL_UNABLE_SEGMENTS, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.SEGMENTS_NOT_IN_DATE_ORDER, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.SEGMENTS_NOT_IN_DATE_ORDER, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.AIRCRAFT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.VERIFY_ORDER_OF_ITINERARY, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; allowclosedrecord = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.ITINERARY_CHANGE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.ITINERARY_CHANGE, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.VERIFY_ORDER_OF_ITINERARY, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.VERIFY_ORDER_OF_ITINERARY, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; allowclosedrecord = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.FLT_CHK_DATE_CONTINUITY, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.FLT_CHK_DATE_CONTINUITY, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; allowclosedrecord = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.MIN_CONNX_TIME_SEG, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.MIN_CONNX_TIME_SEG, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; allowclosedrecord = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.ITINERARY_REQUIRED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.ITINERARY_REQUIRED, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_PNR_PRESENT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_PNR_PRESENT, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_CHANGES_MADE_TO_PNR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_CHANGES_MADE_TO_PNR, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NEED_NAME_IN_PNR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NEED_NAME_IN_PNR, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NEED_PHONE_FIELD, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NEED_PHONE_FIELD, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NEED_TICKETING_TIMELIMIT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NEED_TICKETING_TIMELIMIT, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Showmask = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.INCORRECT_TIME_LIMIT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.INCORRECT_TIME_LIMIT, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Showmask = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NEED_RECEIVED_FROM_FIELD, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NEED_RECEIVED_FROM_FIELD, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Otherwmask = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.FVR_INGRESE_SEGMENTO_PROT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.FVR_INGRESE_SEGMENTO_PROT, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.EMAIL_ADDRESS_NOT_PRESENT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.EMAIL_ADDRESS_NOT_PRESENT, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NEED_ADDRESS_USE_W, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NEED_ADDRESS_USE_W, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Command = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NEED_FIVE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NEED_FIVE, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.TICKET_TIMELIMIT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.TICKET_TIMELIMIT, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Showmask = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CORRECT_NBR_OF_ACCTG_LINES, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CORRECT_NBR_OF_ACCTG_LINES, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CHECK_ACCOUNTING_DATA, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CHECK_ACCOUNTING_DATA, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.FONE_ITEM, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.FONE_ITEM, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NUMBER_OF_NAMES_NOT_EQUAL, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NUMBER_OF_NAMES_NOT_EQUAL, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.INVALID_CREDIT_CARD_INFO, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.INVALID_CREDIT_CARD_INFO, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.SUBJECT_TO_CANCELLATION, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.SUBJECT_TO_CANCELLATION, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CARDHOLDER_NAME_REQUIRED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CARDHOLDER_NAME_REQUIRED, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.SUBJECT_TO_CANCELLATION_NONREFUNDABLE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.SUBJECT_TO_CANCELLATION_NONREFUNDABLE, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.SUBJECT_TO_CANCELLATION_PENALTY_APPLIES, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.SUBJECT_TO_CANCELLATION_PENALTY_APPLIES, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CREDIT_CARD_WILL_BE_DEBITED_PENALTY, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CREDIT_CARD_WILL_BE_DEBITED_PENALTY, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CREDIT_CARD_WILL_BE_DEBITED_TICKET, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CREDIT_CARD_WILL_BE_DEBITED_TICKET, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.MANUALLY_LINK_NAMES_CORRECT_PQ, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.MANUALLY_LINK_NAMES_CORRECT_PQ, 9); PQ = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NEED_TICKETING_TIMELIMIT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NEED_TICKETING_TIMELIMIT, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.INGRESA_DATOS_PARA_FACTURAR, ref row, ref col); if (row != 0 || col != 0) { adreess = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.MANDATORY_EDITS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.MANDATORY_EDITS, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.PREVIOUS_ENTRY_ACTIVE_PLEASE_WAIT_FOR_RESPONSE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.PREVIOUS_ENTRY_ACTIVE_PLEASE_WAIT_FOR_RESPONSE, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; p6 = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.END_TRANSACTION_NOT_ALLOWEDN_TYPE_F, ref row, ref col); if (row != 0 || col != 0) { CommandF = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.UNABLE_E_TICKET_NOT_ISSUED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.UNABLE_E_TICKET_NOT_ISSUED, 9); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.FLIGHTS_REQUIRE_DOCS_FOR_PASSENGERS, ref row, ref col); if (row != 0 || col != 0) { SecureFlight = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, "PLACED ON", ref row, ref col); if (row != 0 || col != 0) { PlacedOn = true; row = 0; col = 0; return; } }
public static void err_definepassengertype(string result) { Answer = result; Status = false; Name2 = false; Name3 = false; Name4 = false; Name5 = false; Name6 = false; Name7 = false; Name8 = false; Name9 = false; int row = 0; int col = 0; CommandsQik.searchResponse(result, Resources.ErrorMessages.POSITION_ONE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_LEVEL_ONE, 5); Status = true; namesend1 = string.Empty; CommandsQik.CopyResponse(result, ref namesend1, row, 1, 100); row = 0; col = 0; } CommandsQik.searchResponse(result, Resources.ErrorMessages.POSITION_TWO, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.POSITION_TWO, 5); Name2 = true; namesend2 = string.Empty; CommandsQik.CopyResponse(result, ref namesend2, row, 1, 100); row = 0; col = 0; } CommandsQik.searchResponse(result, Resources.ErrorMessages.POSITION_THREE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.POSITION_THREE, 5); Name3 = true; namesend3 = string.Empty; CommandsQik.CopyResponse(result, ref namesend3, row, 1, 100); row = 0; col = 0; } CommandsQik.searchResponse(result, Resources.ErrorMessages.POSITION_FOUR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.POSITION_FOUR, 5); Name4 = true; namesend4 = string.Empty; CommandsQik.CopyResponse(result, ref namesend4, row, 1, 100); row = 0; col = 0; } CommandsQik.searchResponse(result, Resources.ErrorMessages.POSITION_FIVE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.POSITION_FIVE, 5); Name5 = true; namesend5 = string.Empty; CommandsQik.CopyResponse(result, ref namesend5, row, 1, 100); row = 0; col = 0; } CommandsQik.searchResponse(result, Resources.ErrorMessages.POSITION_SIX, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.POSITION_SIX, 5); Name6 = true; namesend6 = string.Empty; CommandsQik.CopyResponse(result, ref namesend6, row, 1, 100); row = 0; col = 0; } CommandsQik.searchResponse(result, Resources.ErrorMessages.POSITION_SEVEN, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.POSITION_SEVEN, 5); Name7 = true; namesend7 = string.Empty; CommandsQik.CopyResponse(result, ref namesend7, row, 1, 100); row = 0; col = 0; } CommandsQik.searchResponse(result, Resources.ErrorMessages.POSITION_EIGHT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.POSITION_EIGHT, 5); Name8 = true; namesend8 = string.Empty; CommandsQik.CopyResponse(result, ref namesend8, row, 1, 100); row = 0; col = 0; } CommandsQik.searchResponse(result, Resources.ErrorMessages.POSITION_NINE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.POSITION_NINE, 5); Name9 = true; namesend9 = string.Empty; CommandsQik.CopyResponse(result, ref namesend9, row, 1, 100); row = 0; col = 0; } }
public static void err_phaseIVErrors(string result) { customusermsg = string.Empty; status = false; int row = 0; int col = 0; //1 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.UNABLE_PAST_DATE_SEGMENT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.UNABLE_PAST_DATE_SEGMENT, 19); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //2 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.CODE_HX_SEG_STATUS_NOT_ALLOWED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.CODE_HX_SEG_STATUS_NOT_ALLOWED, 19); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //3 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.UNABLE_TO_ISSUE_PARTIAL_CONNECTION_TKT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.UNABLE_TO_ISSUE_PARTIAL_CONNECTION_TKT, 19); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //4 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.NEED_PNR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.NEED_PNR, 19); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //5 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.FORMAT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.FORMAT, 19); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //6 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.XT_IN_TX_BOX, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.XT_IN_TX_BOX, 19); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //7 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.XF, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.XF, 19); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } }
public static void err_SellAirSegment(string result) { Answer = result; status = false; showusercontrol = false; int row = 0; int col = 0; CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_AVAIL, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_AVAIL, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CLASS, ref row, ref col); if (row == 1 && col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CLASS, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CROSS_CLASS_NOT_AVAILABLE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CROSS_CLASS_NOT_AVAILABLE, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CLASS_NOT_OFFERED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CLASS_NOT_OFFERED, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.UNABLE_LOCATE_SEGMENT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.UNABLE_LOCATE_SEGMENT, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.UNABLE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.UNABLE, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.LN_NR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.LN_NR, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NR_IN_PTY, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NR_IN_PTY, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CALL_DIRECT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CALL_DIRECT, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.MUST_SEPARATE_PNR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.MUST_SEPARATE_PNR, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.MAXIMUM_NUMBER_SEATS_CARRIER, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.MAXIMUM_NUMBER_SEATS_CARRIER, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.OPEN_SEGMENT_SOLD_SEPERATE_PNR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.OPEN_SEGMENT_SOLD_SEPERATE_PNR, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.OPEN_SEGMENT_ALLOWED_CARRIER, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.OPEN_SEGMENT_ALLOWED_CARRIER, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CROSS_CTY, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CROSS_CTY, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CARRIER_REQUESTS_SELL_NN, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CARRIER_REQUESTS_SELL_NN, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.DATA_BEYOND_180_DAYS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.DATA_BEYOND_180_DAYS, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.SCHEDULES_NOT_YET_AVAILABLE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.SCHEDULES_NOT_YET_AVAILABLE, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CODE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CODE, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.INACTIVE_AIRLINE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.INACTIVE_AIRLINE, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.INVALID_FLIGHT_NUMBER, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.INVALID_FLIGHT_NUMBER, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_ITINERARY, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_ITINERARY, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.INVALID_HOST, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.INVALID_HOST, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.INVALID_FLT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.INVALID_FLT, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.SEG_NR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.SEG_NR, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.TIME, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.TIME, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.FLT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.FLT, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CROSS_FORMAT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CROSS_FORMAT, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.AVAIL_EXPIRED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.AVAIL_EXPIRED, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.SERVICE_NOT_FOUND, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.SERVICE_NOT_FOUND, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.REQUIRES_PAYMENT_WITH_BOOKING, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.REQUIRES_PAYMENT_WITH_BOOKING, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CARRIER_CODE_REQUIRED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CARRIER_CODE_REQUIRED, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CK_ACTION_STATUS_CODE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CK_ACTION_STATUS_CODE, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.SEGS_SOLD_ORDER, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.SEGS_SOLD_ORDER, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.FORMAT_UNEQUAL_NAMES, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.FORMAT_UNEQUAL_NAMES, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.FORMAT_USE_SEGMENT_SELECT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.FORMAT_USE_SEGMENT_SELECT, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } }
public static void err_addatapassenger(string result) { Answer = result; status = false; othershowmask = false; int row = 0; int col = 0; CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_LEVEL_ONE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_LEVEL_ONE, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_STARS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_STARS, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.PURGED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.PURGED, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_LEVEL_2, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_LEVEL_2, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_STAR_2ND_LEVEL, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_STAR_2ND_LEVEL, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_MORE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_MORE, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.VLD_ITEM_NUMBER, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.VLD_ITEM_NUMBER, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NAMELIST_TO_DISPLAY, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NAMELIST_TO_DISPLAY, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.ITEM_NB, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.ITEM_NB, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.ITM_NBR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.ITM_NBR, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.ITEM_NR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.ITEM_NR, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.UPDATE_IN_PROGRESS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.UPDATE_IN_PROGRESS, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.STARIDS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.STARIDS, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.INGRESE_LISTA_NOMBRES, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.INGRESE_LISTA_NOMBRES, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.IN_SA_MODE_UC, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.IN_SA_MODE_UC, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NOT_IN_SA_MODE_UC, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NOT_IN_SA_MODE_UC, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NOT_IN_SA_MODE_RD, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NOT_IN_SA_MODE_RD, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.USE_NH, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.USE_NH, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.INVLD_STAR_ID, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.INVLD_STAR_ID, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.EXPIRATION_DATE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.EXPIRATION_DATE, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.INCQT_CARD_NBR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.INCQT_CARD_NBR, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CORRUPTED_STAR_RECORD, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CORRUPTED_STAR_RECORD, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.STAR_EXIST, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.STAR_EXIST, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_LVL_1, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_LVL_1, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.RESTRICTED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.RESTRICTED, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.STAR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.STAR, 4); Status = false; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NX_TO_CLEAR_NLIST, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NX_TO_CLEAR_NLIST, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.RESTRICTED_INVALID_DUTY_CODE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.RESTRICTED_INVALID_DUTY_CODE, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_U_STAR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_U_STAR, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.SNGL_ITEM_FIELD, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.SNGL_ITEM_FIELD, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Othershowmask = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.RANGE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.RANGE, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NAME_LIST_PRESENT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NAME_LIST_PRESENT, 4); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } }
public static void err_errsetsmap(string result) { Answer = result; Refused = false; Remote = false; int row = 0; int col = 0; CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_PSGR_DATA, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_PSGR_DATA, 7); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Refused = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CROSS_ND_NAMES, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CROSS_ND_NAMES, 7); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Refused = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.INV_FLT_SEG, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.INV_FLT_SEG, 7); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Refused = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_ADVANCED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_ADVANCED, 7); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Refused = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.HOST_NOT_RESPONDING, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.HOST_NOT_RESPONDING, 7); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Refused = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.SEAT_BOARDING_PASS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.SEAT_BOARDING_PASS, 7); Remote = true; row = 0; col = 0; return; } }
/// <summary> /// Validación de posibles errores en la respuesta de mySabre /// </summary> /// <param name="result">Respuesta de mySabre</param> public static void err_DWLIST(string result) { Answer = result; Status = false; StatusPrinter = false; int row = 0; int col = 0; CommandsQik.searchResponse(result, Resources.ErrorMessages.ASSIGN_PROPER_PRINTER, ref row, ref col); if (row != 0 || col == 1) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.ASSIGN_PROPER_PRINTER, 11); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; StatusPrinter = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.FIN_O_IG, ref row, ref col); if (row != 0 || col == 1) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.FIN_O_IG, 11); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_ITIN, ref row, ref col); if (row != 0 || col == 1) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_ITIN, 11); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NEED_PNR, ref row, ref col); if (row != 0 || col == 1) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NEED_PNR, 11); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_INV_PRESENT, ref row, ref col); if (row != 0 || col == 1) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_INV_PRESENT, 11); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_NAMES, ref row, ref col); if (row != 0 || col == 1) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_NAMES, 11); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.TKT_PTR_NOT_ASSIGNED, ref row, ref col); if (row != 0 || col == 1) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.TKT_PTR_NOT_ASSIGNED, 11); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.TKT_PRT_NOT_ASSIGNED, ref row, ref col); if (row != 0 || col == 1) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.TKT_PRT_NOT_ASSIGNED, 11); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.TKT_PRT_NOT_ASSIGNED, ref row, ref col); if (row != 0 || col == 1) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.TKT_PRT_NOT_ASSIGNED, 11); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.ND_RCVD, ref row, ref col); if (row != 0 || col == 1) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.ND_RCVD, 11); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CK_ACCT_DATA, ref row, ref col); if (row != 0 || col == 1) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CK_ACCT_DATA, 11); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.INVALID_RANGE, ref row, ref col); if (row != 0 || col == 1) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.INVALID_RANGE, 11); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } }
public static void err_boletagedataandreceived(string result) { Answer = result; status = false; BoletageReceived = false; IA = false; int row = 0; int col = 0; CommandsQik.searchResponse(result, Resources.ErrorMessages.PAC_VEFIFY_CORRECT_NBR, ref row, ref col); if (row != 0 || col != 0) { BoletageReceived = true; row = 0; col = 0; return; } //********** BoletageDataAndReceived **************** // if (ucBoletageDateAndReceived.PQ) { CommandsQik.searchResponse(result, Resources.ErrorMessages.LAST_DAY_TO_PURCHASE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.LAST_DAY_TO_PURCHASE, 8); status = true; fecha = string.Empty; CommandsQik.CopyResponse(result, ref fecha, row, 22, 5); row = 0; col = 0; return; } } else if (ucBoletageDateAndReceived.WP) { CommandsQik.searchResponse(result, Resources.ErrorMessages.LAST_DAY_TO_PURCHASE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.LAST_DAY_TO_PURCHASE, 8); status = true; fecha = string.Empty; CommandsQik.CopyResponse(result, ref fecha, row, 47, 5); row = 0; col = 0; return; } } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_ITIN, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_ITIN, 8); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; status = false; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.ONE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.ONE, 8); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; fecha = string.Empty; CommandsQik.CopyResponse(result, ref fecha, row, 12, 5); IA = true; row = 0; col = 0; return; } }
public static void err_ticketsEmission(string result) { Answer = result; status = false; statussendcommand = false; statusshowusercontrol = false; int row = 0; int col = 0; //1 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.MANDATORY_EDITS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.MANDATORY_EDITS, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //2 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.SIMULTANEOUS_CHANGES_TO_PNR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.SIMULTANEOUS_CHANGES_TO_PNR, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //3 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.PNR_HAS_BEEN_UPDATED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.PNR_HAS_BEEN_UPDATED, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //4 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.TKT_PTR_NOT_ASSIGNED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.TKT_PTR_NOT_ASSIGNED, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //5 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.END_OR_IGNORE_PNR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.END_OR_IGNORE_PNR, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //6 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.VENDOR_PROCESSING_ERROR_SLASH_CALL, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.VENDOR_PROCESSING_ERROR_SLASH_CALL, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //7 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.EXCEEDS_FBL_LIMIT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.EXCEEDS_FBL_LIMIT, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //8 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.NEED_FOP, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.NEED_FOP, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; //statusshowusercontrol = true; row = 0; col = 0; return; } //9 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.IATA_NUMBER_NOT_VALID, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.IATA_NUMBER_NOT_VALID, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; //statusshowusercontrol = true; row = 0; col = 0; return; } //10 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets._ASTERIKS_PAC_VERIFY_CORRECT_NBR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets._ASTERIKS_PAC_VERIFY_CORRECT_NBR, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; statussendcommand = true; row = 0; col = 0; return; } //11 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.NOT_ENOUGH_STOCK_IN_PNR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.NOT_ENOUGH_STOCK_IN_PNR, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //12 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.TKT_RECORD_DOES_NOT_EXIST, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.TKT_RECORD_DOES_NOT_EXIST, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //13 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.ND_T_FIELD_OR_DELETE_TKT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.ND_T_FIELD_OR_DELETE_TKT, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //14 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.NEED_MORE_PSGR_TYPES_OR_NAMES, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.NEED_MORE_PSGR_TYPES_OR_NAMES, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //15 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.AUX_SVC, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.AUX_SVC, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //16 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.TOO_MANY_PSGR_TYPES, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.TOO_MANY_PSGR_TYPES, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //17 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.CROSSLORAINE_AUTH_CARRIER_INVLD, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.CROSSLORAINE_AUTH_CARRIER_INVLD, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; //statusshowusercontrol = true; row = 0; col = 0; return; } //18 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.INVALID_COUPON_NUMBER, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.INVALID_COUPON_NUMBER, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //19 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.NO_PSGR_DATA, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.NO_PSGR_DATA, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //20 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.NO_RETAINED_FARE_EXISTS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.NO_RETAINED_FARE_EXISTS, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //21 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.NO_PRICE_RETENTION, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.NO_PRICE_RETENTION, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //22 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.MINI_ITIN_PRINTER_NO_ASSIGNED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.MINI_ITIN_PRINTER_NO_ASSIGNED, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //23 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.UNABLE_TO_TICKET, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.UNABLE_TO_TICKET, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //24 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.NO_TKT_REC_EXIST, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.NO_TKT_REC_EXIST, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //25 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.ITEM_NR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.ITEM_NR, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //26 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.CONTINUITY_OF_FLATS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.CONTINUITY_OF_FLATS, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //27 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.ASSIGN_ETR_PRINTER_FIRST, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.ASSIGN_ETR_PRINTER_FIRST, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //28 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.ELECTRONIC_TICKETING_HOST_UNAVAILABLE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.ELECTRONIC_TICKETING_HOST_UNAVAILABLE, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //29 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.INCORRECT_ENTRY_VERIFY_AND_REENTER, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.INCORRECT_ENTRY_VERIFY_AND_REENTER, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //30 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.CHECK_ITIN, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.CHECK_ITIN, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //31 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.CHECK_ITINERARY_SEGMENTS_NOT_VALID, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.CHECK_ITINERARY_SEGMENTS_NOT_VALID, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //32 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.CHECK_ITINERARY_MORE_SEGMENTS_NOT_VALID, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.CHECK_ITINERARY_MORE_SEGMENTS_NOT_VALID, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //33 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.VERIFY_CITY_PAIR_AUTHORIZED_FOR_ET, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.VERIFY_CITY_PAIR_AUTHORIZED_FOR_ET, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //34 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.ETR_RESTRICTED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.ETR_RESTRICTED, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //35 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.ELECTRONIC_TICKETING_NOT_ALLOWED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.ELECTRONIC_TICKETING_NOT_ALLOWED, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //36 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.INFANT_PSGR_TYPE_NOT_VALID, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.INFANT_PSGR_TYPE_NOT_VALID, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //37 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.MULTIPLE_NAMES_NOT_ALLOWED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.MULTIPLE_NAMES_NOT_ALLOWED, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //38 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.MAXIMUM_TWO_PASSENGER_TYPES, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.MAXIMUM_TWO_PASSENGER_TYPES, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //40 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.ALL_PASSENGERS_MUST_BE_TICKETED_TOGETHER, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.ALL_PASSENGERS_MUST_BE_TICKETED_TOGETHER, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //41 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.SEGMENT_SELECT_NOT_ALLOWED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.SEGMENT_SELECT_NOT_ALLOWED, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //42 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.MAXIMUM_FOUR_SEGMENTS_EXCEEDED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.MAXIMUM_FOUR_SEGMENTS_EXCEEDED, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //43 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.MAXIMUM_SEGMENTS_EXCEED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.MAXIMUM_SEGMENTS_EXCEED, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //44 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.ETR_NOT_ALLOWED_WITHIN_ONE_HOUR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.ETR_NOT_ALLOWED_WITHIN_ONE_HOUR, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //45 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.ELECTRONIC_TICKET_MUST_BE_ISSUED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.ELECTRONIC_TICKET_MUST_BE_ISSUED, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; //statusshowusercontrol = true; row = 0; col = 0; return; } //46 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.ENTRY_REQUIRES_PNR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.ENTRY_REQUIRES_PNR, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //47 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.VOID_RESTRICTED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.VOID_RESTRICTED, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //48 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.ONE_OR_MORE_COUPONS_UNABLE_TO_VOID, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.ONE_OR_MORE_COUPONS_UNABLE_TO_VOID, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //49 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.CARRIER_REQUIRES_CREDIT_CARD_PAYMENT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.CARRIER_REQUIRES_CREDIT_CARD_PAYMENT, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //50 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.AUTHORIZATION_CODE_REQUIRED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.AUTHORIZATION_CODE_REQUIRED, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //51 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.CARDHOLDER_NAME_REQUIRED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.CARDHOLDER_NAME_REQUIRED, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //52 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.CARRIER_NOT_ALLOW_MULTIPLE_FORM_PAYMENT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.CARRIER_NOT_ALLOW_MULTIPLE_FORM_PAYMENT, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //53 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.UNABLE_TO_VOID, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.UNABLE_TO_VOID, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //54 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.VOID_ENTRY_BY_PSEUDO_CITY, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.VOID_ENTRY_BY_PSEUDO_CITY, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.PASSENGER_SECURITY_IDENTIFICATION, ref row, ref col); if (row != 0 || col != 0) { //SabreErrorMsg userErrorMessage = "FALTA INGRESAR DATOS DEL SECURE FLIGHT PASSENGER,\n EL BOLETO AUN NO SE HA EMITIDO ,\n INGRESA INFORMACIÓN FALTANTE Y CIERRA LA RESERVACIÓN, \n POSTERIOR A ESTE PASO PROCEDE NUEVAMENTE CON LA EMISIÓN"; CustomUserMsg = "FALTA INGRESAR DATOS DEL SECURE FLIGHT PASSENGER,\nEL BOLETO AUN NO SE HA EMITIDO, INGRESA \nINFORMACIÓN FALTANTE Y CIERRA LA RESERVACIÓN,\nPOSTERIOR A ESTE PASO PROCEDE NUEVAMENTE CON LA EMISIÓN"; Status = true; row = 0; col = 0; return; } //55 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.UNABLE_TO_PROCESS_ETR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.UNABLE_TO_PROCESS_ETR, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //56 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.CHECK_ENTRY_COMMENCING_WITH, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.CHECK_ENTRY_COMMENCING_WITH, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //57 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.ETR_NOT_ALLOWED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.ETR_NOT_ALLOWED, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //58 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.VERIFY_NAME_SELECTION, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.VERIFY_NAME_SELECTION, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //59 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.CHECK_ITIN_ADVANCE_BOARDING, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.CHECK_ITIN_ADVANCE_BOARDING, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //60 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.ONE_OR_MORE_SEGMENTS_NOT_VALID, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.ONE_OR_MORE_SEGMENTS_NOT_VALID, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //61 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.CROSSLORAINE_NEED_COMMISSION, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.CROSSLORAINE_NEED_COMMISSION, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; //statusshowusercontrol = true; row = 0; col = 0; return; } //62 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.CROSSLORAINE_NO_FARES, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.CROSSLORAINE_NO_FARES, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //63 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.UNABLE_TO_PROCESS_ETR_CORRECT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.UNABLE_TO_PROCESS_ETR_CORRECT, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //64 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.FORMAT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.FORMAT, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //65 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.PNR_UPDATED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.PNR_UPDATED, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //66 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.EQUIVALENT_AMOUNT_TOO_LARGE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.EQUIVALENT_AMOUNT_TOO_LARGE, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //67 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.ONE_CONFIRMED_AIR_SEGMENT_FOR_ETR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.ONE_CONFIRMED_AIR_SEGMENT_FOR_ETR, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //68 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.PASSENGER_MUST_HAVE_SSR_FOID, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.PASSENGER_MUST_HAVE_SSR_FOID, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //69 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.CARRIER_NOT_ALLOWED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.CARRIER_NOT_ALLOWED, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //70 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.NO_REPLY_FROM_SERVER, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.NO_REPLY_FROM_SERVER, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //71 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.NO_REPLY_FROM_SERVER, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.NO_REPLY_FROM_SERVER, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //72 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.INVALID_EXPIRATION_DATE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.INVALID_EXPIRATION_DATE, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //73 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.UPDATE_TKT_RECORD, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.UPDATE_TKT_RECORD, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //74 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.TICKET_HAS_BEEN_ISSUED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.TICKET_HAS_BEEN_ISSUED, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //75 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.NO_FARE_FOR_CLASS_USED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.NO_FARE_FOR_CLASS_USED, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //76 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.NEED_AIRLINE_PNR_LOCATOR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.NEED_AIRLINE_PNR_LOCATOR, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //77 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.CREDIT_CARD_AUTH_DECLINED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.CREDIT_CARD_AUTH_DECLINED, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; //statusshowusercontrol = true; row = 0; col = 0; return; } //78 CommandsQik.searchResponse(result, Resources.TicketEmission.ErrorMessagesTickets.INCORRECT_CARD_NUMBER, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.TicketEmission.ErrorMessagesTickets.INCORRECT_CARD_NUMBER, 15); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; //statusshowusercontrol = true; row = 0; col = 0; return; } }
/// <summary> /// Validación de posibles errores en la respuesta de mySabre /// </summary> /// <param name="result">Respuesta de mySabre</param> public static void err_AirRateMenu(string result) { Answer = result; CustomUserMsg = string.Empty; Status = false; int row = 0; int col = 0; //al evaluar la respuesta del comando WPRQ de la mascarilla de cotizacion aera se recibe una cadena //que no coincide con la mostrada en MySabre por lo tanto entra a este error. //CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_NAMES, ref row, ref col); //if (row == 1 || col != 0) //{ // row = 0; // col = 0; // CommandsQik.searchResponse(result, Resources.Constants.E_TICKET, ref row, ref col); // if (row != 0 || col != 0) // { // return; // } // else if (row == 0) // { // SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_NAMES, 3); // CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; // Status = true; // row = 0; // col = 0; // return; // } //} CommandsQik.searchResponse(result, Resources.ErrorMessages.INVALID_FLIGHT_NUMBER, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.INVALID_FLIGHT_NUMBER, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_ITINERARY, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_ITINERARY, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.INVALID_HOST, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.INVALID_HOST, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.INVALID_FLT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.INVALID_FLT, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.SEG_NR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.SEG_NR, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.TIME, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.TIME, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.FLT_CHK_DATE_CONTINUITY, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.FLT_CHK_DATE_CONTINUITY, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.AVAIL_EXPIRED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.AVAIL_EXPIRED, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.SERVICE_NOT_FOUND, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.SERVICE_NOT_FOUND, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.REQUIRES_PAYMENT_WITH_BOOKING, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.REQUIRES_PAYMENT_WITH_BOOKING, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CARRIER_CODE_REQUIRED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CARRIER_CODE_REQUIRED, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CK_ACTION_STATUS_CODE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CK_ACTION_STATUS_CODE, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.SEGS_SOLD_ORDER, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.SEGS_SOLD_ORDER, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } //CommandsQik.searchResponse(result, Resources.ErrorMessages.RESPONSE, ref row, ref col); //if (row != 0 || col != 0) //{ // SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.RESPONSE, 3); // CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; // Status = true; // row = 0; // col = 0; // return; //} CommandsQik.searchResponse(result, Resources.ErrorMessages.FORMAT_UNEQUAL_NAMES, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.FORMAT_UNEQUAL_NAMES, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.FORMAT_CHECK_SEGMENT_NUMBER, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.FORMAT_CHECK_SEGMENT_NUMBER, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.FORMAT_NEED_PSGR_TYPES_SELECT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.FORMAT_NEED_PSGR_TYPES_SELECT, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.FORMAT_USE_SEGMENT_SELECT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.FORMAT_USE_SEGMENT_SELECT, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CURRENCY, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CURRENCY, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.MAXIMUM_6_SEGMENTS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.MAXIMUM_6_SEGMENTS, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.TKT_DESIGNATOR_NOT_FOUND, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.TKT_DESIGNATOR_NOT_FOUND, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.TKT_DES_REQUIRES_FARE_BASIS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.TKT_DES_REQUIRES_FARE_BASIS, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.FARE_BASIS_NOT_FOUND, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.FARE_BASIS_NOT_FOUND, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.TKT_DES_INVALID_FOR_CARRIER, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.TKT_DES_INVALID_FOR_CARRIER, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_FARE_CLASS_USED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_FARE_CLASS_USED, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.INVALID_FARE_BASIS_TKT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.INVALID_FARE_BASIS_TKT, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.TKT_DES_FAILED_RULES_CHECK, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.TKT_DES_FAILED_RULES_CHECK, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.FARE_BASIS_NOT_AVAILABLE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.FARE_BASIS_NOT_AVAILABLE, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_COMBINABLE_FARES_CLASS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_COMBINABLE_FARES_CLASS, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.AUX_SVC, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.AUX_SVC, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_TKT_REC_EXISTS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_TKT_REC_EXISTS, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_PSGR_DATA, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_PSGR_DATA, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_PREVIOUS_WPNI_ENTRY, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_PREVIOUS_WPNI_ENTRY, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_RETAINED_FARE_EXISTS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_RETAINED_FARE_EXISTS, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CHECK_SEGMENT_CONTINUITY, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CHECK_SEGMENT_CONTINUITY, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CHK_DATE_TIME_CONTINUITY, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CHK_DATE_TIME_CONTINUITY, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.WITH_FARE_BASIS_CODE_AFTER_Q, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.WITH_FARE_BASIS_CODE_AFTER_Q, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_DIRECT_NONSTOPS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_DIRECT_NONSTOPS, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.ALL_RECORDS_DELETED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.ALL_RECORDS_DELETED, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NEED_COMMISSION_DOLLAR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NEED_COMMISSION_DOLLAR, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_APPL_FARE_SPECIFIED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_APPL_FARE_SPECIFIED, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.FLT_CHK_DATE_CONTINUITY, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.FLT_CHK_DATE_CONTINUITY, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.INVALID_SEG_STATUS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.INVALID_SEG_STATUS, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.BARGAIN_FINDER_PLUS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.BARGAIN_FINDER_PLUS, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.UTP_VERIFY_NUMBER_PARTY, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.UTP_VERIFY_NUMBER_PARTY, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NEED_EPR_KEYWORD_PVTDIS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NEED_EPR_KEYWORD_PVTDIS, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.UNABLE_TO_CALCULATE_RATE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.UNABLE_TO_CALCULATE_RATE, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.UNABLE_PRICE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.UNABLE_PRICE, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NEED_COMMISSION, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NEED_COMMISSION, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CURRENCY_CODE_DECIMAL_ERROR, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CURRENCY_CODE_DECIMAL_ERROR, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.INVALID_CURRENCY_CODE_ENTRY, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.INVALID_CURRENCY_CODE_ENTRY, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CODE_UC_SEG_STATUS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CODE_UC_SEG_STATUS, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NEED_WP_BEFORE_PQ, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NEED_WP_BEFORE_PQ, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.UNABLE_SELL_SEGMENTS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.UNABLE_SELL_SEGMENTS, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.INCORRECT_LINE_NUMBER, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.INCORRECT_LINE_NUMBER, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.INVALID_DISCOUNT_CODE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.INVALID_DISCOUNT_CODE, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.FARE_BASIS_LIMITED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.FARE_BASIS_LIMITED, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.FARE_BASIS_EXCEEDS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.FARE_BASIS_EXCEEDS, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_PRIVATE_FARES, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_PRIVATE_FARES, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.INVALID_CORPORATE_ID, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.INVALID_CORPORATE_ID, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.UNABLE_TO_DISPLAY, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.UNABLE_TO_DISPLAY, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_PUBLIC_FARES, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_PUBLIC_FARES, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.FORMAT, ref row, ref col); if (row == 1 || col == 1) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.FORMAT, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_NAMES, ref row, ref col); if (row == 1 || col == 1) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_NAMES, 3); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } }
/// <summary> /// Validación de posibles errores en la respuesta de mySabre /// </summary> /// <param name="result">Respuesta de mySabre</param> public static void err_availability(string result) { Answer = result; status = false; int row = 0; int col = 0; CommandsQik.searchResponse(result, Resources.ErrorMessages.DATE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.DATE, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.FORMAT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.FORMAT, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_ROUTINGS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_ROUTINGS, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CPR_NOT_IN_SYS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CPR_NOT_IN_SYS, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CTY, ref row, ref col, 1, 4); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CTY, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NONE_SKED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NONE_SKED, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_CARRIERS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_CARRIERS, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.SVC_NOT_IN_SYS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.SVC_NOT_IN_SYS, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.SKD_CHG_IN_PROG, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.SKD_CHG_IN_PROG, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NOT_VALID_CARRIER, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NOT_VALID_CARRIER, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.ENTRY_NOT_HOST, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.ENTRY_NOT_HOST, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.HOST_NOT_RESPONDING, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.HOST_NOT_RESPONDING, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NOT_VALID_THIS_HOST, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NOT_VALID_THIS_HOST, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.DATA_MORE_180_DAYS, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.DATA_MORE_180_DAYS, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NONE_AVAILABLE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NONE_AVAILABLE, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NOT_VALID_FOR_CARRIER, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NOT_VALID_FOR_CARRIER, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CLASS_NOT_AVAILABLE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CLASS_NOT_AVAILABLE, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.RTP_ENTRY_IGNORED, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.RTP_ENTRY_IGNORED, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.UNABLE_ENTRY, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.UNABLE_ENTRY, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CK_FRMT, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CK_FRMT, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CROSS_INVALID_HOST, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CROSS_INVALID_HOST, 2); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_HOST_SESSION, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_HOST_SESSION, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.DTE, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.DTE, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_PRIOR_CPA, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_PRIOR_CPA, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NOT_VALID_EXTND, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NOT_VALID_EXTND, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NONE_AVAIL, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NONE_AVAIL, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_ITEMS_FOR_DISPLAY, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_ITEMS_FOR_DISPLAY, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.NO_DIR_SVC, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.NO_DIR_SVC, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } CommandsQik.searchResponse(result, Resources.ErrorMessages.CON_MUST_BE_APT_NOT_CITY, ref row, ref col); if (row != 0 || col != 0) { SabreErrorMsg userErrorMessage = SabreErrorMsgBL.GetSabreErrorMsg(Resources.ErrorMessages.CON_MUST_BE_APT_NOT_CITY, 1); CustomUserMsg = userErrorMessage.CusErrMsgUserMsg; Status = true; row = 0; col = 0; return; } }