Please Note: These scripts contain the out.print of remarks in 5R$ (cross of lorriane) and this prefatory remark can be changed to suit your agency operations.
New Booking
Tag / Keyword | Secondary Tag / Keyword | Java Script |
---|---|---|
New | PNR Field Type = Remark |
Cancelling a Booking
Tag / Keyword | Secondary Tag / Keyword | Java Script |
---|---|---|
Cancel | PNR Field Type = Remark | if ( ( (UserPnrData.DataType=="cancel")) && (UserPnrData.UserBooking.AirBooking.BookingProvider=="SWABIZ") ) var ticket = UserPnrData.UserBooking.ExistingTicketsInfo.ExistingTickets.TicketInfo.TicketNumber; if (UserPnrData.UserBooking.AirRemainingFunds.RefundAmount > 0 && UserPnrData.UserBooking.AirRemainingFunds.Retrieve == "success") if (UserPnrData.UserBooking.AirRemainingFunds.NonRefundAmount > 0 && UserPnrData.UserBooking.AirRemainingFunds.Retrieve == "success") { if (UserPnrData.UserBooking.AirRemainingFunds.TicketNumber!="") { out.print("5R$UNUSED TICKET " + UserPnrData.UserBooking.AirRemainingFunds.TicketNumber + " PLACED IN UNUSE |
Changing a Booking
Tag / Keyword | Secondary Tag / Keyword | Java Script |
---|---|---|
Change | PNR Field Type = Remark |
Held Booking
Tag / Keyword | Secondary / Tag Keyword | Java Script |
---|---|---|
Held | PNR Field Type = Remark | if ( ( UserPnrData.DataType=="hold") && (UserPnrData.UserBooking.AirBooking.BookingProvider=="SWABIZ") ) out.print("Line Number: 306 \n"); var wnrloc = UserPnrData.UserBooking.AirBooking.FlightLeg[0].FlightSegment[0].RecordLocator.Locator; var time = UserPnrData.User.Timestamp; out.print("5R$SOUTHWEST BOOKING PUT ON HOLD "+ time + "\n"); out.print("5R$SOUTHWEST RECLOC " + wnrloc + "\n"); var i=0; out.print("5R$TOTAL FARE " + UserPnrData.UserBooking.AirBooking.AirFare.FareInfo.TotalFare + "\n"); // PRINTING BASE FARE AND TOTAL TAX out.print("5R$BASE FARE " + UserPnrData.UserBooking.AirBooking.AirFare.FareInfo.BaseFare + "\n"); |